mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-12 10:28:59 +08:00
gdb/
* breakpoint.c (update_watchpoint): Add source empty line. Prefer EXP_STRING_REPARSE to EXP_STRING. (watch_command_1): Set also EXP_STRING_REPARSE. (delete_breakpoint): Free also EXP_STRING_REPARSE. * breakpoint.h (struct breakpoint): New field exp_string_reparse. Update comment for exp_string.
This commit is contained in:
@ -450,8 +450,11 @@ struct breakpoint
|
||||
/* String form of the breakpoint condition (malloc'd), or NULL if there
|
||||
is no condition. */
|
||||
char *cond_string;
|
||||
/* String form of exp (malloc'd), or NULL if none. */
|
||||
/* String form of exp to use for displaying to the user (malloc'd), or
|
||||
NULL if none. */
|
||||
char *exp_string;
|
||||
/* String form to use for reparsing of EXP (malloc'd) or NULL. */
|
||||
char *exp_string_reparse;
|
||||
|
||||
/* The expression we are watching, or NULL if not a watchpoint. */
|
||||
struct expression *exp;
|
||||
|
Reference in New Issue
Block a user