mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
fix symtab.c
search_symbols had some bad code resulting in a cleanup being both discarded and run. * symtab.c (search_symbols): Introduce a null cleanup for 'retval_chain'.
This commit is contained in:
@ -3529,7 +3529,7 @@ search_symbols (char *regexp, enum search_domain kind,
|
||||
&datum);
|
||||
}
|
||||
|
||||
retval_chain = old_chain;
|
||||
retval_chain = make_cleanup (null_cleanup, NULL);
|
||||
|
||||
/* Here, we search through the minimal symbol tables for functions
|
||||
and variables that match, and force their symbols to be read.
|
||||
|
Reference in New Issue
Block a user