diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 30 | ||||
-rw-r--r-- | gdb/alpha-tdep.c | 1 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 3 | ||||
-rw-r--r-- | gdb/avr-tdep.c | 2 | ||||
-rw-r--r-- | gdb/cris-tdep.c | 3 | ||||
-rw-r--r-- | gdb/d10v-tdep.c | 1 | ||||
-rw-r--r-- | gdb/frv-tdep.c | 1 | ||||
-rw-r--r-- | gdb/gdbarch.c | 8 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 | ||||
-rw-r--r-- | gdb/h8300-tdep.c | 2 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 1 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 1 | ||||
-rw-r--r-- | gdb/ia64-tdep.c | 1 | ||||
-rw-r--r-- | gdb/m32r-tdep.c | 1 | ||||
-rw-r--r-- | gdb/m68hc11-tdep.c | 1 | ||||
-rw-r--r-- | gdb/m68k-tdep.c | 2 | ||||
-rw-r--r-- | gdb/mcore-tdep.c | 1 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 2 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 1 | ||||
-rw-r--r-- | gdb/ns32k-tdep.c | 3 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 1 | ||||
-rw-r--r-- | gdb/s390-tdep.c | 3 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 1 | ||||
-rw-r--r-- | gdb/sh64-tdep.c | 1 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 1 | ||||
-rw-r--r-- | gdb/v850-tdep.c | 2 | ||||
-rw-r--r-- | gdb/xstormy16-tdep.c | 2 |
27 files changed, 33 insertions, 45 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8b4bcb1..b161cfe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,33 @@ +2004-01-13 Andrew Cagney <cagney@redhat.com> + + * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. + * gdbarch.c: Re-generate. + * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set + FUNCTION_START_OFFSET. + * v850-tdep.c (v850_gdbarch_init): Ditto. + * sparc-tdep.c (sparc32_gdbarch_init): Ditto. + * sh64-tdep.c (sh64_gdbarch_init): Ditto. + * sh-tdep.c (sh_gdbarch_init): Ditto. + * s390-tdep.c (s390_gdbarch_init): Ditto. + * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. + * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. + * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. + * mips-tdep.c (mips_gdbarch_init): Ditto. + * mcore-tdep.c (mcore_gdbarch_init): Ditto. + * m68k-tdep.c (m68k_gdbarch_init): Ditto. + * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. + * m32r-tdep.c (m32r_gdbarch_init): Ditto. + * ia64-tdep.c (ia64_gdbarch_init): Ditto. + * i386-tdep.c (i386_gdbarch_init): Ditto. + * hppa-tdep.c (hppa_gdbarch_init): Ditto. + * h8300-tdep.c (h8300_gdbarch_init): Ditto. + * frv-tdep.c (frv_gdbarch_init): Ditto. + * d10v-tdep.c (d10v_gdbarch_init): Ditto. + * cris-tdep.c (cris_gdbarch_init): Ditto. + * avr-tdep.c (avr_gdbarch_init): Ditto. + * arm-tdep.c (arm_gdbarch_init): Ditto. + * alpha-tdep.c (alpha_gdbarch_init): Ditto. + 2004-01-13 Daniel Jacobowitz <drow@mvista.com> * infrun.c (follow_fork_mode_ask): Remove. diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 325cf19..a166ba5 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1555,7 +1555,6 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_breakpoint_from_pc (gdbarch, alpha_breakpoint_from_pc); set_gdbarch_decr_pc_after_break (gdbarch, 4); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_frame_args_skip (gdbarch, 0); /* Hook in ABI-specific overrides, if they have been registered. */ diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index e7aef4a..9794141 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2866,9 +2866,6 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_smash_text_address (gdbarch, arm_smash_text_address); set_gdbarch_addr_bits_remove (gdbarch, arm_addr_bits_remove); - /* Offset from address of function to start of its code. */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* Advance PC across function entry code. */ set_gdbarch_skip_prologue (gdbarch, arm_skip_prologue); diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 9ef84c0..f4fe631 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1322,8 +1322,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, avr_breakpoint_from_pc); - set_gdbarch_function_start_offset (gdbarch, 0); - set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_frameless_function_invocation (gdbarch, frameless_look_for_prologue); diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 6c5483b..05fe319 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -4285,9 +4285,6 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) handler takes care of that.) */ set_gdbarch_decr_pc_after_break (gdbarch, 0); - /* Offset from address of function to start of its code. */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* The number of bytes at the start of arglist that are not really args, 0 in the CRIS ABI. */ set_gdbarch_frame_args_skip (gdbarch, 0); diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 6ad5ed5..f0016aa 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -1516,7 +1516,6 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_prologue (gdbarch, d10v_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 4); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, d10v_breakpoint_from_pc); set_gdbarch_remote_translate_xfer_address (gdbarch, diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 28fbc35..007d031 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1421,7 +1421,6 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_write_pc (gdbarch, generic_target_write_pc); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_remote_translate_xfer_address (gdbarch, generic_remote_translate_xfer_address); diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index bac577b..cb8bbb9 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -526,7 +526,6 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->memory_insert_breakpoint = default_memory_insert_breakpoint; current_gdbarch->memory_remove_breakpoint = default_memory_remove_breakpoint; current_gdbarch->decr_pc_after_break = -1; - current_gdbarch->function_start_offset = -1; current_gdbarch->remote_translate_xfer_address = generic_remote_translate_xfer_address; current_gdbarch->frame_args_skip = -1; current_gdbarch->frameless_function_invocation = generic_frameless_function_invocation_not; @@ -712,9 +711,7 @@ verify_gdbarch (struct gdbarch *current_gdbarch) if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && (current_gdbarch->decr_pc_after_break == -1)) fprintf_unfiltered (log, "\n\tdecr_pc_after_break"); - if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) - && (current_gdbarch->function_start_offset == -1)) - fprintf_unfiltered (log, "\n\tfunction_start_offset"); + /* Skip verify of function_start_offset, invalid_p == 0 */ /* Skip verify of remote_translate_xfer_address, invalid_p == 0 */ if ((GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && (current_gdbarch->frame_args_skip == -1)) @@ -4644,8 +4641,7 @@ CORE_ADDR gdbarch_function_start_offset (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); - /* Check variable changed from pre-default. */ - gdb_assert (gdbarch->function_start_offset != -1); + /* Skip verify of function_start_offset, invalid_p == 0 */ if (gdbarch_debug >= 2) fprintf_unfiltered (gdb_stdlog, "gdbarch_function_start_offset called\n"); return gdbarch->function_start_offset; diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index eb015b3..e5400b9 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -633,7 +633,7 @@ M:2:ADJUST_BREAKPOINT_ADDRESS:CORE_ADDR:adjust_breakpoint_address:CORE_ADDR bpad f:2:MEMORY_INSERT_BREAKPOINT:int:memory_insert_breakpoint:CORE_ADDR addr, char *contents_cache:addr, contents_cache::0:default_memory_insert_breakpoint::0 f:2:MEMORY_REMOVE_BREAKPOINT:int:memory_remove_breakpoint:CORE_ADDR addr, char *contents_cache:addr, contents_cache::0:default_memory_remove_breakpoint::0 v:2:DECR_PC_AFTER_BREAK:CORE_ADDR:decr_pc_after_break::::0:-1 -v:2:FUNCTION_START_OFFSET:CORE_ADDR:function_start_offset::::0:-1 +v:2:FUNCTION_START_OFFSET:CORE_ADDR:function_start_offset::::0:::0 # m::REMOTE_TRANSLATE_XFER_ADDRESS:void:remote_translate_xfer_address:struct regcache *regcache, CORE_ADDR gdb_addr, int gdb_len, CORE_ADDR *rem_addr, int *rem_len:regcache, gdb_addr, gdb_len, rem_addr, rem_len:::generic_remote_translate_xfer_address::0 # diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 4a66d80..150bac4 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -1327,8 +1327,6 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) (which means: exactly on trap instruction). */ set_gdbarch_decr_pc_after_break (gdbarch, 0); /* This value is almost never non-zero... */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* This value is almost never non-zero... */ set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_frameless_function_invocation (gdbarch, frameless_look_for_prologue); diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 1e51103..33b3cb4 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -5189,7 +5189,6 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* The following gdbarch vector elements do not depend on the address size, or in any other gdbarch element previously set. */ - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_skip_prologue (gdbarch, hppa_skip_prologue); set_gdbarch_skip_trampoline_code (gdbarch, hppa_skip_trampoline_code); set_gdbarch_in_solib_call_trampoline (gdbarch, hppa_in_solib_call_trampoline); diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 4ee9fa4..651690f 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2005,7 +2005,6 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_breakpoint_from_pc (gdbarch, i386_breakpoint_from_pc); set_gdbarch_decr_pc_after_break (gdbarch, 1); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_frame_args_skip (gdbarch, 8); set_gdbarch_pc_in_sigtramp (gdbarch, i386_pc_in_sigtramp); diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 760a17d..d31b05b 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -3426,7 +3426,6 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_remote_translate_xfer_address ( diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index b2bc71f..86335d6 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -946,7 +946,6 @@ m32r_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_prologue (gdbarch, m32r_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, m32r_breakpoint_from_pc); set_gdbarch_memory_insert_breakpoint (gdbarch, m32r_memory_insert_breakpoint); diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index cc0ad71..fdf006f 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1557,7 +1557,6 @@ m68hc11_gdbarch_init (struct gdbarch_info info, set_gdbarch_skip_prologue (gdbarch, m68hc11_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, m68hc11_breakpoint_from_pc); set_gdbarch_deprecated_stack_align (gdbarch, m68hc11_stack_align); set_gdbarch_print_insn (gdbarch, gdb_print_insn_m68hc11); diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index e5b41a9..bb41ba5 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -1103,8 +1103,6 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_long_double_format (gdbarch, &floatformat_m68881_ext); set_gdbarch_long_double_bit (gdbarch, 96); - set_gdbarch_function_start_offset (gdbarch, 0); - set_gdbarch_skip_prologue (gdbarch, m68k_skip_prologue); #ifdef SYSCALL_TRAP set_gdbarch_deprecated_saved_pc_after_call (gdbarch, m68k_saved_pc_after_call); diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index 598a0ac..863a8c3 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -1071,7 +1071,6 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0); set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); set_gdbarch_deprecated_saved_pc_after_call (gdbarch, mcore_saved_pc_after_call); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, mcore_breakpoint_from_pc); set_gdbarch_deprecated_push_return_address (gdbarch, mcore_push_return_address); diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index fafac66..6b89c0a 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -6050,8 +6050,6 @@ mips_gdbarch_init (struct gdbarch_info info, set_gdbarch_address_to_pointer (gdbarch, address_to_signed_pointer); set_gdbarch_integer_to_address (gdbarch, mips_integer_to_address); - set_gdbarch_function_start_offset (gdbarch, 0); - set_gdbarch_register_type (gdbarch, mips_register_type); set_gdbarch_print_registers_info (gdbarch, mips_print_registers_info); diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index fdc3530..cd145ec 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -1173,7 +1173,6 @@ mn10300_gdbarch_init (struct gdbarch_info info, /* Breakpoints. */ set_gdbarch_breakpoint_from_pc (gdbarch, mn10300_breakpoint_from_pc); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_decr_pc_after_break (gdbarch, 0); /* Stack unwinding. */ diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index d426113..f42a7c5 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -601,9 +601,6 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, ns32k_breakpoint_from_pc); - /* Misc info */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* Should be using push_dummy_call. */ set_gdbarch_deprecated_dummy_write_sp (gdbarch, deprecated_write_sp); diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index b3a322d..698e77a 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2887,7 +2887,6 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_prologue (gdbarch, rs6000_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, rs6000_breakpoint_from_pc); /* Handle the 64-bit SVR4 minimal-symbol convention of using "FN" diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index eb4a62e..0e52652 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -2597,9 +2597,6 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_pop_frame (gdbarch, s390_pop_frame); /* Stack grows downward. */ set_gdbarch_inner_than (gdbarch, core_addr_lessthan); - /* Offset from address of function to start of its code. - Zero on most machines. */ - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_deprecated_max_register_raw_size (gdbarch, 8); set_gdbarch_deprecated_max_register_virtual_size (gdbarch, 8); set_gdbarch_breakpoint_from_pc (gdbarch, s390_breakpoint_from_pc); diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index a14c0d9..7f1dad5 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -2245,7 +2245,6 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_prologue (gdbarch, sh_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_push_dummy_call (gdbarch, sh_push_dummy_call_nofpu); diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index ac080ac..218c09b 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -2849,7 +2849,6 @@ sh64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_prologue (gdbarch, sh_skip_prologue); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_frameless_function_invocation (gdbarch, frameless_look_for_prologue); diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index e79f038..805f64e 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -1081,7 +1081,6 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_breakpoint_from_pc (gdbarch, sparc_breakpoint_from_pc); set_gdbarch_decr_pc_after_break (gdbarch, 0); - set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_frame_args_skip (gdbarch, 8); diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index a9ca9dd..e482038 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -1263,8 +1263,6 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) (which means: exactly on trap instruction). */ set_gdbarch_decr_pc_after_break (gdbarch, 0); /* This value is almost never non-zero... */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* This value is almost never non-zero... */ set_gdbarch_frame_args_skip (gdbarch, 0); /* diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index e4bebc8..c4925f0 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -1073,8 +1073,6 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) (which means: exactly on trap instruction). */ set_gdbarch_decr_pc_after_break (gdbarch, 0); /* This value is almost never non-zero... */ - set_gdbarch_function_start_offset (gdbarch, 0); - /* This value is almost never non-zero... */ set_gdbarch_frame_args_skip (gdbarch, 0); /* |