2003-06-27 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function. (m68hc11_gdbarch_init): Do not set call_dummy_address. * avr-tdep.c (avr_call_dummy_address): Delete function. (avr_gdbarch_init): Do not set call_dummy_address.
This commit is contained in:
parent
1549f61969
commit
4eb588760e
@ -1,3 +1,10 @@
|
||||
2003-06-27 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
|
||||
(m68hc11_gdbarch_init): Do not set call_dummy_address.
|
||||
* avr-tdep.c (avr_call_dummy_address): Delete function.
|
||||
(avr_gdbarch_init): Do not set call_dummy_address.
|
||||
|
||||
2003-06-27 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* symfile.c (syms_from_objfile): Move variables to inner block.
|
||||
|
@ -774,14 +774,6 @@ avr_scan_prologue (CORE_ADDR pc, struct avr_unwind_cache *info)
|
||||
return pc + avr_scan_arg_moves (vpc, prologue);;
|
||||
}
|
||||
|
||||
/* Returns the return address for a dummy. */
|
||||
|
||||
static CORE_ADDR
|
||||
avr_call_dummy_address (void)
|
||||
{
|
||||
return entry_point_address ();
|
||||
}
|
||||
|
||||
static CORE_ADDR
|
||||
avr_skip_prologue (CORE_ADDR pc)
|
||||
{
|
||||
@ -1339,7 +1331,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||
set_gdbarch_extract_return_value (gdbarch, avr_extract_return_value);
|
||||
set_gdbarch_print_insn (gdbarch, print_insn_avr);
|
||||
|
||||
set_gdbarch_call_dummy_address (gdbarch, avr_call_dummy_address);
|
||||
set_gdbarch_push_dummy_call (gdbarch, avr_push_dummy_call);
|
||||
|
||||
set_gdbarch_address_to_pointer (gdbarch, avr_address_to_pointer);
|
||||
|
@ -1049,14 +1049,6 @@ m68hc11_push_arguments (int nargs,
|
||||
}
|
||||
|
||||
|
||||
/* Return a location where we can set a breakpoint that will be hit
|
||||
when an inferior function call returns. */
|
||||
static CORE_ADDR
|
||||
m68hc11_call_dummy_address (void)
|
||||
{
|
||||
return entry_point_address ();
|
||||
}
|
||||
|
||||
static struct type *
|
||||
m68hc11_register_virtual_type (int reg_nr)
|
||||
{
|
||||
@ -1374,7 +1366,6 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
|
||||
set_gdbarch_pseudo_register_read (gdbarch, m68hc11_pseudo_register_read);
|
||||
set_gdbarch_pseudo_register_write (gdbarch, m68hc11_pseudo_register_write);
|
||||
|
||||
set_gdbarch_call_dummy_address (gdbarch, m68hc11_call_dummy_address);
|
||||
set_gdbarch_deprecated_call_dummy_words (gdbarch, m68hc11_call_dummy_words);
|
||||
set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (m68hc11_call_dummy_words));
|
||||
set_gdbarch_deprecated_get_saved_register (gdbarch, deprecated_generic_get_saved_register);
|
||||
|
Loading…
Reference in New Issue
Block a user