mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-24 03:23:16 +00:00
2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
* tracepoint.c (validate_actionline): Fix segv at EOF
This commit is contained in:
parent
d9296b1825
commit
15255275af
@ -1,3 +1,7 @@
|
||||
2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
|
||||
|
||||
* tracepoint.c (validate_actionline): Fix segv at EOF
|
||||
|
||||
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
|
||||
|
||||
* hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
|
||||
|
@ -914,6 +914,10 @@ validate_actionline (char **line, struct tracepoint *t)
|
||||
struct cleanup *old_chain = NULL;
|
||||
char *p;
|
||||
|
||||
/* if EOF is typed, *line is NULL */
|
||||
if (*line == NULL)
|
||||
return END;
|
||||
|
||||
for (p = *line; isspace ((int) *p);)
|
||||
p++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user