mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* hppa-tdep.c (compare_unwind_entries): Add "const" to both
argument types to shut up GCC.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
Mon Aug 1 01:36:13 1994 Jeff Law (law@snake.cs.utah.edu)
|
Mon Aug 1 01:36:13 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* hppa-tdep.c (compare_unwind_entries): Add "const" to both
|
||||||
|
argument types to shut up GCC.
|
||||||
|
|
||||||
* hppa-tdep.c (saved_pc_after_call): If the saved PC is in a
|
* hppa-tdep.c (saved_pc_after_call): If the saved PC is in a
|
||||||
linker stub, then return the address the stub will return to.
|
linker stub, then return the address the stub will return to.
|
||||||
(frame_saved_pc): Correctly restart the search for the saved
|
(frame_saved_pc): Correctly restart the search for the saved
|
||||||
|
@ -68,8 +68,8 @@ static int inst_saves_gr PARAMS ((unsigned long));
|
|||||||
static int inst_saves_fr PARAMS ((unsigned long));
|
static int inst_saves_fr PARAMS ((unsigned long));
|
||||||
static int pc_in_interrupt_handler PARAMS ((CORE_ADDR));
|
static int pc_in_interrupt_handler PARAMS ((CORE_ADDR));
|
||||||
static int pc_in_linker_stub PARAMS ((CORE_ADDR));
|
static int pc_in_linker_stub PARAMS ((CORE_ADDR));
|
||||||
static int compare_unwind_entries PARAMS ((struct unwind_table_entry *,
|
static int compare_unwind_entries PARAMS ((const struct unwind_table_entry *,
|
||||||
struct unwind_table_entry *));
|
const struct unwind_table_entry *));
|
||||||
static void read_unwind_info PARAMS ((struct objfile *));
|
static void read_unwind_info PARAMS ((struct objfile *));
|
||||||
static void internalize_unwinds PARAMS ((struct objfile *,
|
static void internalize_unwinds PARAMS ((struct objfile *,
|
||||||
struct unwind_table_entry *,
|
struct unwind_table_entry *,
|
||||||
@ -262,8 +262,8 @@ extract_17 (word)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
compare_unwind_entries (a, b)
|
compare_unwind_entries (a, b)
|
||||||
struct unwind_table_entry *a;
|
const struct unwind_table_entry *a;
|
||||||
struct unwind_table_entry *b;
|
const struct unwind_table_entry *b;
|
||||||
{
|
{
|
||||||
if (a->region_start > b->region_start)
|
if (a->region_start > b->region_start)
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user