[Pdbg] [PATCH v3 0/3] Overhaul target selection

Alistair Popple alistair at popple.id.au
Fri Jun 15 14:37:08 AEST 2018


Thanks Amitay, I couldn't find any more weird segfaults here so I merged it :-)

On Monday, 4 June 2018 7:07:18 PM AEST Amitay Isaacs wrote:
> Re-implement parse_list() to return flags rather than indices.
> This avoids potential overflows and the need to do any sorting and
> unique ids identification.
> 
> Changes from v2 to v3:
>   - In parse_list:
>    - better error reporting for invalid input
>    - handle values in hex and other bases (as supported by strtoul)
>   - Fix the usage message (max values are *_MAX-1)
> 
> Amitay Isaacs (3):
>   main: Overhaul target selection
>   main: Print specific errors for invalid arguments
>   main: Print specific errors for invalid commands
> 
>  src/main.c | 198 +++++++++++++++++++++++++++++++++++++++++------------
>  1 file changed, 154 insertions(+), 44 deletions(-)
> 
> 




More information about the Pdbg mailing list