mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Needed to fix PR backtrace/1476.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-12-16 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
|
||||||
|
Needed to fix PR backtrace/1476.
|
||||||
|
|
||||||
2003-12-16 David Carlton <carlton@kealia.com>
|
2003-12-16 David Carlton <carlton@kealia.com>
|
||||||
|
|
||||||
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
|
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
|
||||||
|
@ -73,18 +73,13 @@ deprecated_inside_entry_file (CORE_ADDR addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Test whether PC is in the range of addresses that corresponds to
|
/* Test whether PC is in the range of addresses that corresponds to
|
||||||
the "main" function.
|
the "main" function. */
|
||||||
|
|
||||||
A PC of zero is always considered to be the bottom of the stack. */
|
|
||||||
|
|
||||||
int
|
int
|
||||||
inside_main_func (CORE_ADDR pc)
|
inside_main_func (CORE_ADDR pc)
|
||||||
{
|
{
|
||||||
struct minimal_symbol *msymbol;
|
struct minimal_symbol *msymbol;
|
||||||
|
|
||||||
if (pc == 0)
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
if (symfile_objfile == 0)
|
if (symfile_objfile == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user