binutils-gdb.git
20 years agoFix off by one negative offsets for conditional branches.
Nick Clifton [Fri, 12 Nov 2004 12:27:05 +0000 (12:27 +0000)]
Fix off by one negative offsets for conditional branches.
Add a test of this fix.

20 years ago2004-11-12 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Fri, 12 Nov 2004 01:00:41 +0000 (01:00 +0000)]
2004-11-12  Kei Sakamoto  <sakamoto.kei@renesas.com>

* Makefile.in (m32r-linux-tdep.o): Update dependencies.
* m32r-linux-tdep.c (m32r_linux_init_abi): Call
set_gdbarch_regset_from_core_section for core file support.
(m32r_linux_supply_gregset, m32r_linux_regset_from_core_section):
New functions.

20 years ago2004-11-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 12 Nov 2004 00:51:23 +0000 (00:51 +0000)]
2004-11-11  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (skip_prologue_hard_way): Make static, add
stop_after_branch parameter and use it to determine if we should look
at the delay slot of the first branch insn to find prologue insns.
(hppa_skip_prologue): Update comment and call to skip_prologue_hard_way.
(hppa_frame_cache): Likewise.

20 years ago2004-11-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 12 Nov 2004 00:48:12 +0000 (00:48 +0000)]
2004-11-11  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Properly handle the frame pointer
register so that it can be unwound from anywhere in the prologue.

20 years ago*** empty log message ***
gdbadmin [Fri, 12 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * elf32-xtensa.c (property_table_compare): Remove assertion about
Bob Wilson [Thu, 11 Nov 2004 23:09:24 +0000 (23:09 +0000)]
* elf32-xtensa.c (property_table_compare): Remove assertion about
entries with the same address and non-zero size.
(xtensa_read_table_entries): Report such entries as errors.

20 years agodaily update
Alan Modra [Thu, 11 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agosim/erc32:
Andreas Schwab [Thu, 11 Nov 2004 21:58:57 +0000 (21:58 +0000)]
sim/erc32:
* interf.c: Include "libiberty.h" instead of declaring buildargv
ourselves.

sim/ppc:
* sim_calls.c: Include "libiberty.h".

20 years ago2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 11 Nov 2004 21:37:24 +0000 (21:37 +0000)]
2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/threadapply.exp: New test.
        * gdb.threads/threadapply.c: New file.

20 years agomention who committed Jon's patch.
Andrew Cagney [Thu, 11 Nov 2004 20:27:58 +0000 (20:27 +0000)]
mention who committed Jon's patch.

20 years ago2004-11-10 msnyder <msnyder@redhat.com>
Michael Snyder [Thu, 11 Nov 2004 19:21:01 +0000 (19:21 +0000)]
2004-11-10  msnyder  <msnyder@redhat.com>

* rs6000-tdep.c (skip_prologue): After saving lr_offset,
must invalidate lr_reg (so we don't try to save it again).
Ditto for cr_offset and cr_reg.

20 years agogas/
Bob Wilson [Thu, 11 Nov 2004 19:05:43 +0000 (19:05 +0000)]
gas/
        * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
gas/testsuite/
        * gas/xtensa/short_branch_offset.s: New.
        * gas/xtensa/short_branch_offset.d: New.
        * gas/xtensa/all.exp: Run new test.

20 years ago2004-11-05 Jon Beniston <jon@beniston.com>
Andrew Cagney [Thu, 11 Nov 2004 18:59:39 +0000 (18:59 +0000)]
2004-11-05  Jon Beniston <jon@beniston.com>

* remote.c (putpkt_binary) Fix PR gdb/1806. Send an ACK
when an unexpected packet is received, as the target stubs
continually retransmit the same packet until ACKed.

20 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for
Mark Mitchell [Thu, 11 Nov 2004 18:24:24 +0000 (18:24 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for
R_ARM_RELATIVE on Symbian OS.

20 years ago*** empty log message ***
gdbadmin [Thu, 11 Nov 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-11-10 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 10 Nov 2004 23:26:33 +0000 (23:26 +0000)]
2004-11-10  Randolph Chung  <tausq@debian.org>

* frame.c (get_prev_frame): Use get_frame_type to retrieve the
    frame's type.

20 years agodaily update
Alan Modra [Wed, 10 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
Bob Wilson [Wed, 10 Nov 2004 22:20:27 +0000 (22:20 +0000)]
* config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
relaxing at the end of a loop.  Don't mark frags as UNREACHABLE or
MAYBE_UNREACHABLE.
(relax_frag_immed): Update call to update_next_frag_state.

20 years ago2004-11-10 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 10 Nov 2004 21:17:58 +0000 (21:17 +0000)]
2004-11-10  Randolph Chung  <tausq@debian.org>

* blockframe.c (inside_entry_func): Move to .....
* frame.c (inside_entry_func): ... here, and make static.
(backtrace_past_entry): New flag.
(get_prev_frame): Stop backtrace at the entry function if enabled
by flag.  Update comments.
(_initialize_frame): Add command to set backtrace_past_entry flag.
* defs.h (inside_entry_func): Remove prototype.

    doc/
* gdb.texinfo: Document set/show backtrace past-entry commands.
Rearrange index entries for set/show backtrace past-main.

20 years ago* dwarf2read.c: Fix formatting.
Mark Kettenis [Wed, 10 Nov 2004 20:40:33 +0000 (20:40 +0000)]
* dwarf2read.c: Fix formatting.

20 years ago2004-11-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 10 Nov 2004 18:52:25 +0000 (18:52 +0000)]
2004-11-10  Andrew Cagney  <cagney@gnu.org>

* value.h (COERCE_REF, COERCE_ARRAY, COERCE_NUMBER, COERCE_ENUM)
(coerce_ref, coerce_array, coerce_number, coerce_enum): Replace
macros with function declarations.
* value.c (coerce_ref, coerce_array, coerce_number)
(coerce_enum): New functions.
(value_as_long, value_as_address): Update.
* ada-lang.c (ada_coerce_ref, ada_value_binop)
(ada_evaluate_subexp, ada_value_assign, ada_value_struct_elt): Update.
* jv-lang.c (evaluate_subexp_java): Update.
* valarith.c (value_less, value_neg, value_complement)
(value_binop, value_add, value_subscript, value_x_binop)
(value_logical_not, value_sub): Update.
* valops.c (check_field, value_struct_elt, value_ind)
(value_find_oload_method_list, value_cast, value_assign): Update.
* eval.c (evaluate_subexp_standard): Update.

20 years ago* mips-tdep.c (mips32_relative_offset): Change return type to
Mark Kettenis [Wed, 10 Nov 2004 17:48:23 +0000 (17:48 +0000)]
* mips-tdep.c (mips32_relative_offset): Change return type to
LONGEST, change argument type to ULONGEST.  Fix sign-extension.

20 years ago2004-11-10 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 10 Nov 2004 16:26:55 +0000 (16:26 +0000)]
2004-11-10  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa32_register_name, hppa64_register_name): Make static.
(hppa32_push_dummy_call, hppa64_push_dummy_call): Likewise.
(hppa_fetch_pointer_argument): Likewise.
(hppa_frame_cache): Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(_initialize_hppa_tdep): Replace deprecated_add_show_from_set/
add_set_cmd sequence with add_setshow_boolean_cmd.

20 years ago PR binutils/536
Ian Lance Taylor [Wed, 10 Nov 2004 16:10:17 +0000 (16:10 +0000)]
PR binutils/536
* stabs.c (stab_demangle_template): Call stab_demangle_count
rather than stab_demangle_get_count to get the length of a pointer
target.

20 years ago2004-11-10 Jon Beniston <jon@beniston.com>
Andrew Cagney [Wed, 10 Nov 2004 14:56:26 +0000 (14:56 +0000)]
2004-11-10  Jon Beniston <jon@beniston.com>

Committed by Andrew Cagney  <cagney@gnu.org>.
        * gdb.texinfo (Remote Serial Protocol): Further describe
        binary transfer escaping mechanism .

20 years ago * defparse.y: Remove unnecessary commas from token list.
Danny Smith [Wed, 10 Nov 2004 06:54:08 +0000 (06:54 +0000)]
* defparse.y: Remove unnecessary commas from token list.

20 years ago * gas/i386/opcode.s: Pad section.
Alan Modra [Wed, 10 Nov 2004 04:29:55 +0000 (04:29 +0000)]
* gas/i386/opcode.s: Pad section.
* gas/i386/intelok.s: Likewise.
* gas/i386/opcode.d: Update.
* gas/i386/intelok.d: Update.

20 years ago * ld-d10v/reloc-003.d: Update for changed error message.
Alan Modra [Wed, 10 Nov 2004 03:38:17 +0000 (03:38 +0000)]
* ld-d10v/reloc-003.d: Update for changed error message.
* ld-d10v/reloc-004.d: Likewise.
* ld-d10v/reloc-007.d: Likewise.
* ld-d10v/reloc-008.d: Likewise.
* ld-d10v/reloc-011.d: Likewise.
* ld-d10v/reloc-012.d: Likewise.
* ld-d10v/reloc-015.d: Likewise.
* ld-d10v/reloc-016.d: Likewise.

20 years ago * obj.h (struct format_ops <app_file>): Add int param.
Alan Modra [Wed, 10 Nov 2004 03:28:45 +0000 (03:28 +0000)]
* obj.h (struct format_ops <app_file>): Add int param.
* read.h (s_app_file_string): Likewise.
* read.c (s_app_file_string): Likewise.
(s_app_file): Adjust s_app_file_string call.
* config/tc-mips.c (s_mips_file): Likewise.
* config/obj-coff.h (obj_app_file): Add app param.
* config/obj-ecoff.h (obj_app_file): Likewise.
* config/obj-multi.h (obj_app_file): Likewise.
* config/obj-elf.h (elf_file_symbol): Likewise.
* config/obj-elf.c (elf_file_symbol): Only emit one file symbol
if called for # preprocessor lines.

20 years agoGDB 6.3
Andrew Cagney [Wed, 10 Nov 2004 00:00:25 +0000 (00:00 +0000)]
GDB 6.3

20 years ago*** empty log message ***
gdbadmin [Wed, 10 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 9 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agoFix ChangeLog typo.
Aaron W. LaFramboise [Tue, 9 Nov 2004 21:27:51 +0000 (21:27 +0000)]
Fix ChangeLog typo.

20 years ago2004-11-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Nov 2004 20:41:57 +0000 (20:41 +0000)]
2004-11-09  Andrew Cagney  <cagney@gnu.org>

* values.c: Rename to ...
* value.c: ..., new file.
* Makefile.in: Update.

20 years ago * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocated
Daniel Jacobowitz [Tue, 9 Nov 2004 19:51:44 +0000 (19:51 +0000)]
* dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocated
size.

20 years ago * som.c (som_bfd_print_private_bfd_data): New function.
Mark Mitchell [Tue, 9 Nov 2004 17:40:22 +0000 (17:40 +0000)]
* som.c (som_bfd_print_private_bfd_data): New function.
(som_object_setup): Save the auxiliary header.  Don't assume that
zero is an invalid entry point for a shared library.
(som_object_p): Allocate the auxiliary header on the heap.

20 years ago * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R
Mark Mitchell [Tue, 9 Nov 2004 16:50:38 +0000 (16:50 +0000)]
* elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R
declaration.
(elf32_arm_symbian_modify_segment_map): Likewise.

20 years ago From David Poole <daveml@mbuf.com>:
Daniel Jacobowitz [Tue, 9 Nov 2004 16:44:31 +0000 (16:44 +0000)]
From David Poole <daveml@mbuf.com>:
* elf32-arm.c (elf32_arm_readonly_dynrelocs): New function.
(elf32_arm_size_dynamic_sections): Call it.

20 years ago2004-11-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Nov 2004 15:35:15 +0000 (15:35 +0000)]
2004-11-09  Andrew Cagney  <cagney@gnu.org>

* TODO: Delete.

20 years agooops - omitted from previous delta
Nick Clifton [Tue, 9 Nov 2004 14:53:56 +0000 (14:53 +0000)]
oops - omitted from previous delta

20 years ago2004-11-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Nov 2004 14:43:27 +0000 (14:43 +0000)]
2004-11-09  Andrew Cagney  <cagney@gnu.org>

* value.h (struct value): Delete field bfd_section.
(VALUE_BFD_SECTION): Delete macro.
(COERCE_REF): Update.
(value_at, value_at_lazy): Delete asection parameter.
* printcmd.c (print_formatted, x_command): Update.
(do_examine): Delete asection parameter.
(next_section): Delete variable.
* valops.c (value_cast, value_at, value_at_lazy)
(value_coerce_function, value_addr, value_ind, value_string)
(find_rt_vbase_offset, value_full_object): Update.
* hpacc-abi.c (hpacc_virtual_fn_field)
(hpacc_value_rtti_type): Update.
* gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_virtual_fn_field)
(gnuv3_baseclass_offset): Update.
* f-valprint.c (f_val_print): Update.
* c-valprint.c (c_val_print): Update.
* p-valprint.c (pascal_val_print): Update.
* jv-valprint.c (java_value_print): Update.
* jv-lang.c (java_class_from_object, evaluate_subexp_java): Update.
* ada-lang.c (ada_value_primitive_packed_val)
(ada_evaluate_subexp): Update.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Update.
* expprint.c (print_subexp_standard): Update.
* infcall.c (call_function_by_hand): Update.
* valarith.c (value_add): Update.
* eval.c (evaluate_subexp_standard): Update.
* values.c (allocate_value, value_copy, value_static_field): Update.
* findvar.c (read_var_value, locate_var_value): Update.

20 years ago2004-11-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Nov 2004 14:28:42 +0000 (14:28 +0000)]
2004-11-09  Andrew Cagney  <cagney@gnu.org>

* i386-linux-tdep.c: Include "dwarf2-frame.h".
* Makefile.in: Update all dependencies.

20 years ago * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h.
Alan Modra [Tue, 9 Nov 2004 13:29:16 +0000 (13:29 +0000)]
* Makefile.am (SOURCE_HFILES): Remove elf32-arm.h.
(ALL_MACHINES_CFILES): Fix typo.
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

20 years ago2004-11-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Nov 2004 01:16:42 +0000 (01:16 +0000)]
2004-11-08  Andrew Cagney  <cagney@gnu.org>

* sentinel-frame.c (sentinel_frame_prev_pc): New function.
(sentinel_frame_unwinder): Add the prev_pc method.
* frame.c (frame_pc_unwind): Use the per-frame pc unwinder when
available.  Do not handle the sentinel-frame case.
* frame-unwind.h (frame_prev_register_ftype): Define.
(struct frame_unwind): Add prev_pc;

20 years ago2004-11-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 9 Nov 2004 01:01:17 +0000 (01:01 +0000)]
2004-11-08  H.J. Lu  <hongjiu.lu@intel.com>

PR 528
* symbols.c (resolve_symbol_value): Convert weak symbols only
for Windows PECOFF.
(symbol_equated_reloc_p): Don't equate weaks when relocating
only for Windows PECOFF.

20 years ago * configure.in: Check for ncurses/term.h.
Dave Anglin [Tue, 9 Nov 2004 00:59:03 +0000 (00:59 +0000)]
* configure.in: Check for ncurses/term.h.
* gdb_curses.h: Include term.h here, prefering ncurses/term.h.
* utils.c: Include gdb_curses.h instead of curses.h and term.h.
* tui/tui.c: Don't include term.h.
* configure, config.in: Rebuilt.

20 years ago*** empty log message ***
gdbadmin [Tue, 9 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 8 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update

20 years ago * configure.in (noconfigdirs) [mmix-*-*]: Disable
Hans-Peter Nilsson [Mon, 8 Nov 2004 22:14:59 +0000 (22:14 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable
target-libgfortran.
* configure: Regenerate.

20 years ago * elf32-arm.c (elf32_arm_final_link_relocate): When generating an
Mark Mitchell [Mon, 8 Nov 2004 22:08:07 +0000 (22:08 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): When generating an
R_ARM_RELATIVE relocation for Symbian OS, mention the section
symbol in the relocation.

20 years ago* m68kbsd-nat.c: Include "inf-ptrace.h".
Mark Kettenis [Mon, 8 Nov 2004 20:42:53 +0000 (20:42 +0000)]
* m68kbsd-nat.c: Include "inf-ptrace.h".
(_initialize_m68kbsd_nat): Fix pasto.
* Makefile.in (m68kbsd-nat.o): Update dependencies.

20 years ago2004-11-08 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 8 Nov 2004 17:25:49 +0000 (17:25 +0000)]
2004-11-08  Randolph Chung  <tausq@debian.org>

* gdb.texinfo (inferior_debugging info): Document "set debug infrun"
and "show debug infrun".  Add index entries.

20 years ago2004-11-08 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 8 Nov 2004 17:25:23 +0000 (17:25 +0000)]
2004-11-08  Randolph Chung  <tausq@debian.org>

* infrun.c (debug_infrun): New variable.
(resume, proceed, wait_for_inferior): Annotate with debug messages.
(handle_inferior_event, keep_going): Likewise.
(_initialize_infrun): Register "set debug infrun" command.

20 years ago * linux-nat.c (PTRACE_EVENT_VFORK_DONE): Renamed from
Andreas Schwab [Mon, 8 Nov 2004 16:05:12 +0000 (16:05 +0000)]
* linux-nat.c (PTRACE_EVENT_VFORK_DONE): Renamed from
PTRACE_EVENT_VFORKDONE.
(child_follow_fork): Adjust.

20 years ago2004-11-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 8 Nov 2004 15:55:49 +0000 (15:55 +0000)]
2004-11-08  Andrew Cagney  <cagney@gnu.org>

* README: Refer to 6.3, not 6.2, update directory listing droppng
references to intl/ and mmalloc/.
* PROBLEMS: Refer to 6.3 not 6.2.

20 years ago2004-11-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 8 Nov 2004 15:34:04 +0000 (15:34 +0000)]
2004-11-08  Andrew Cagney  <cagney@gnu.org>

* PROBLEMS: Delete no-longer applicable problems.

20 years ago * config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
David Edelsohn [Mon, 8 Nov 2004 15:28:01 +0000 (15:28 +0000)]
    * config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
        like CC.

20 years ago2004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 8 Nov 2004 13:51:55 +0000 (13:51 +0000)]
2004-11-08  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c (print_insn): Check and set insn_addr.
* config/tc-crx.h (md_frag_check): Define.

20 years agoAdd support fpr MAXQ processor
Nick Clifton [Mon, 8 Nov 2004 13:17:43 +0000 (13:17 +0000)]
Add support fpr MAXQ processor

20 years ago*sigh* undo previous delta which was done too early...
Nick Clifton [Mon, 8 Nov 2004 12:59:37 +0000 (12:59 +0000)]
*sigh* undo previous delta which was done too early...

20 years agooops - omitted from previous delta
Nick Clifton [Mon, 8 Nov 2004 12:55:40 +0000 (12:55 +0000)]
oops - omitted from previous delta

20 years agooops - omitted fom previous delta
Nick Clifton [Mon, 8 Nov 2004 08:51:47 +0000 (08:51 +0000)]
oops - omitted fom previous delta

20 years agoFix support for PECOFF weak symbols
Nick Clifton [Mon, 8 Nov 2004 08:12:53 +0000 (08:12 +0000)]
Fix support for PECOFF weak symbols

20 years ago*** empty log message ***
gdbadmin [Mon, 8 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 7 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * Makefile.in (symfile-mem.o): Update dependencies.
Daniel Jacobowitz [Sun, 7 Nov 2004 21:33:29 +0000 (21:33 +0000)]
* Makefile.in (symfile-mem.o): Update dependencies.
* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): New.
(i386_linux_init_abi): Call dwarf2_frame_set_signal_frame_p.
* inf-ptrace.c (inf_ptrace_attach): Call
observer_notify_inferior_created.
* inftarg.c (child_attach): Likewise.
* symfile-mem.c: Include "observer.h", "auxv.h", and "elf/common.h".
(symbol_file_add_from_memory): Take NAME argument.  Use it for
the new BFD's filename.
(add_symbol_file_from_memory_command): Update call to
symbol_file_add_from_memory.
(struct symbol_file_add_from_memory_args, add_vsyscall_page)
(symbol_file_add_from_memory_wrapper): New.
(_initialize_symfile_mem): Register add_vsyscall_page as an
inferior_created observer.

20 years ago* m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename from
Mark Kettenis [Sun, 7 Nov 2004 21:31:19 +0000 (21:31 +0000)]
* m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(m68kbsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_m68kbsd_nat): Construct and add target vector.
* config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
(LOADLIBES): New variable.
* config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Delete variable.
* config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
* config/m68k/nm-nbsdaout.h: Remove file.

20 years ago * dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.
Daniel Jacobowitz [Sun, 7 Nov 2004 21:16:11 +0000 (21:16 +0000)]
* dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.
(dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p)
(dwarf2_signal_frame_unwind): New.
(dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p.
* dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype.

20 years ago* Makefile.in (mips64obsd-tdep.o): Fix typo.
Mark Kettenis [Sun, 7 Nov 2004 20:20:32 +0000 (20:20 +0000)]
* Makefile.in (mips64obsd-tdep.o): Fix typo.

20 years ago* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Renamed
Mark Kettenis [Sun, 7 Nov 2004 17:53:30 +0000 (17:53 +0000)]
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Renamed
from mipsnbsd_ilp32_solib_svr4_fetch_link_map_offsets.  Trim sizes
to only include the structure members we actually need.
(mipsnbsd_lp64_fetch_link_map_offsets): Renamed from
mipsnbsd_lp64_solib_svr4_fetch_link_map_offsets.  Trim sizes to
only include the structure members we actually need.
(mipsnbsd_init_abi): Update.

20 years ago* mips64obsd-nat.c: Include "mips-tdep.h".
Mark Kettenis [Sun, 7 Nov 2004 17:08:34 +0000 (17:08 +0000)]
* mips64obsd-nat.c: Include "mips-tdep.h".
(MIPS64OBSD_NUM_REGS): Remove define.
(MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM): New defines.
(mips64obsd_supply_gregset, mips64obsd_collect_gregset): Handle
floating-point registers correctly.
* Makefile.in (mips64obsd-nat.o): Update dependencies.

20 years ago* mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" and
Mark Kettenis [Sun, 7 Nov 2004 17:02:44 +0000 (17:02 +0000)]
* mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" and
"gdb_assert.h".
(mips64obsd_sigframe_init): New function.
(mips64obsd_sigframe): New variable.
(mips64obsd_init_abi): Add comments.  Prepend mips64obsd_sigrame
unwinder.
* Makefile.in (mips64obsd-tdep.o): Update dependencies.

20 years ago* gdb.base/savedregs.exp: Correct pattern used for sigtramp
Mark Kettenis [Sun, 7 Nov 2004 16:47:57 +0000 (16:47 +0000)]
* gdb.base/savedregs.exp: Correct pattern used for sigtramp
frames.

20 years ago* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
Mark Kettenis [Sun, 7 Nov 2004 12:54:58 +0000 (12:54 +0000)]
* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
from TRAMP_FRAME frame type.

20 years ago * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use
Andreas Schwab [Sun, 7 Nov 2004 10:51:45 +0000 (10:51 +0000)]
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Use
SYMBOL_CALLS_LOCAL and check for undefweak symbols with
non-default visibility.

20 years ago*** empty log message ***
gdbadmin [Sun, 7 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 6 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * alpha-mdebug-tdep.c: #include mdebugread.h.
Joel Brobecker [Sat, 6 Nov 2004 17:18:10 +0000 (17:18 +0000)]
    * alpha-mdebug-tdep.c: #include mdebugread.h.
        Replace alpha_extra_func_info_t by struct mdebug_extra_func_info *.
        * Makefile.in (alpha-mdebug-tdep.o): Add dependency on mdebugread.h.

20 years ago2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 6 Nov 2004 01:50:21 +0000 (01:50 +0000)]
2004-11-05  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/general.s: Add movzb.
* gas/i386/general.l: Updated.

20 years ago2004-11-05 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 6 Nov 2004 00:39:16 +0000 (00:39 +0000)]
2004-11-05  Andrew Cagney  <cagney@gnu.org>

* dwarf2-frame.c (dwarf2_frame_cache): Only complain when both the
CFI and the init_reg method leave the register unspecified.
Include the register name in the "Incomplete CFI data" complaint.
Supress leading zeros in the address.

20 years ago*** empty log message ***
gdbadmin [Sat, 6 Nov 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-11-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Nov 2004 23:14:30 +0000 (23:14 +0000)]
2004-11-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Put back "movzb".

20 years agodaily update
Alan Modra [Fri, 5 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago* dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when
Mark Kettenis [Fri, 5 Nov 2004 22:35:22 +0000 (22:35 +0000)]
* dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when
skipping a personality routine in a CIE augmentation.

20 years ago2004-11-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 5 Nov 2004 20:32:04 +0000 (20:32 +0000)]
2004-11-05  Jeff Johnston  <jjohnstn@redhat.com>

        * defs.h (fatal, vfatal): New function prototypes.
        * stack.c (backtrace_command_stub): Stub to call backtrace_command_1
        via catch_errors.
        (backtrace_command): Change to call backtrace_command_stub via
        catch_errors instead of calling backtrace_command_1 directly.
        (backtrace_full_command): Ditto.
        * utils.c (error_stream_1): New static function.
        (verror): Change to call error_stream_1 instead of error_stream.
        (error_stream): Call error_stream_1 with RETURN_ERROR argument.
        (vfatal, fatal): New functions.

20 years ago2004-11-05 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 5 Nov 2004 18:58:29 +0000 (18:58 +0000)]
2004-11-05  Andrew Cagney  <cagney@gnu.org>

* stack.c (parse_frame_specification_1): Clear selected_frame_p
when not using selected frame.

20 years ago * config/tc-xtensa.c (total_frag_text_expansion): New.
Bob Wilson [Fri, 5 Nov 2004 17:25:34 +0000 (17:25 +0000)]
* config/tc-xtensa.c (total_frag_text_expansion): New.
(md_estimate_size_before_relax): Use it.
(find_address_of_next_align_frag): Likewise.

20 years ago2004-11-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 5 Nov 2004 16:36:20 +0000 (16:36 +0000)]
2004-11-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host fixincludes): Specify missing targets.
* Makefile.in: Regenerate.

20 years ago* dwarf2-frame.c (decode_frame_entry_1): Correctly skip
Mark Kettenis [Fri, 5 Nov 2004 15:16:44 +0000 (15:16 +0000)]
* dwarf2-frame.c (decode_frame_entry_1): Correctly skip
personality routine in a CIE augmentation.

20 years ago2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Fri, 5 Nov 2004 11:07:48 +0000 (11:07 +0000)]
2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>

        * config/tc-crx.c: Rename argument types.
        (processing_arg_number): Rename to 'cur_arg_num'.
        (get_number_of_bits): Rename to 'set_operand_size'.
        (get_operandtype): Rename to 'parse_operand', totally rewrite.
        (set_cons_rparams): Rename to 'set_operand', totally rewrite.
        (set_indexmode_parameters): Remove function, integrate its code into
               'set_operand'.
        (set_operand_size): Get rid of 'Operand Number' function parameter -
               use global variable 'cur_arg_num' instead.
        Use a local 'argument' pointer to reference the current argument.
        (parse_operand): Likewise.
        (set_operand): Likewise.
        (process_label_constant): Likewise.

20 years ago2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Fri, 5 Nov 2004 11:02:04 +0000 (11:02 +0000)]
2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Rename argument types.
  (processing_arg_number): Rename to 'cur_arg_num'.
(get_number_of_bits): Rename to 'set_operand_size'.
(get_operandtype): Rename to 'parse_operand', totally rewrite.
(set_cons_rparams): Rename to 'set_operand', totally rewrite.
(set_indexmode_parameters): Remove function, integrate its code into 'set_operand'.
(set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead.
Use a local 'argument' pointer to reference the current argument.
(parse_operand): Likewise.
(set_operand): Likewise.
(process_label_constant): Likewise.

20 years ago2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Fri, 5 Nov 2004 11:01:00 +0000 (11:01 +0000)]
2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode.
* crx-dis.c: Likewise.

20 years ago2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Fri, 5 Nov 2004 10:59:16 +0000 (10:59 +0000)]
2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum argtype): Rename types, remove unused types.

20 years ago2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Fri, 5 Nov 2004 10:58:22 +0000 (10:58 +0000)]
2004-11-05  Tomer Levi  <Tomer.Levi@nsc.com>
* opcode/crx.h (enum argtype): Rename types, remove unused types.

20 years ago2004-11-05 Felix Lee <felix+log1@specifixinc.com>
Felix Lee [Fri, 5 Nov 2004 08:53:19 +0000 (08:53 +0000)]
2004-11-05  Felix Lee  <felix+log1@specifixinc.com>

        * gdb.base/cursal.exp: New file.
        * gdb.base/cursal.c: New file.

20 years agoMerge from GCC versions
Geoffrey Keating [Fri, 5 Nov 2004 05:26:34 +0000 (05:26 +0000)]
Merge from GCC versions

20 years ago*** empty log message ***
gdbadmin [Fri, 5 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 4 Nov 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
Bob Wilson [Thu, 4 Nov 2004 21:52:55 +0000 (21:52 +0000)]
* config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
(add_section_rename): Delete.  Inlined into...
(build_section_rename): ...here.  Use xstrdup instead of strdup.
(xtensa_section_rename): Drop "const" from argument and return types.
(md_show_usage): Indent to match show_usage().
* config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
(tc_canonicalize_section_name): Define.
(md_elf_section_rename): Remove unused macro.
* doc/as.texinfo (Overview): Document Xtensa --rename-section option.
* doc/c-xtensa.texi (Xtensa Options): Likewise.
(Frame Directive): Delete.

20 years ago* dwarf2-frame.c (read_encoded_value): Change type of third
Mark Kettenis [Thu, 4 Nov 2004 21:15:15 +0000 (21:15 +0000)]
* dwarf2-frame.c (read_encoded_value): Change type of third
argument to `unsigned char *'.  Add support for LEB128 encodings.