Mike Stump [Sat, 13 Nov 2004 17:42:50 +0000 (17:42 +0000)]
* Makefile.def: Add html support.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
Eli Zaretskii [Sat, 13 Nov 2004 17:00:04 +0000 (17:00 +0000)]
* config/i386/xm-go32.h: Don't include fopen-bin.h.
Don't define CRLF_SOURCE_FILES and DIRNAME_SEPARATOR.
* source.c (OPEN_MODE, FDOPEN_MODE): Remove the definitions in the
branch that doesn't define CRLF_SOURCE_FILES; always use
binary-mode open.
(print_source_lines_base, forward_search_command)
(reverse_search_command): Enable the code that accepts DOS-style
CRLF line endings on all platforms (this removes the need for
CRLF_SOURCE_FILES).
* defs.h: (DIRNAME_SEPARATOR) [__MSDOS__]: Define to ';'.
DJ Delorie [Sat, 13 Nov 2004 15:48:36 +0000 (15:48 +0000)]
merge from gcc
Eli Zaretskii [Sat, 13 Nov 2004 15:29:40 +0000 (15:29 +0000)]
*** empty log message ***
Eli Zaretskii [Sat, 13 Nov 2004 15:28:50 +0000 (15:28 +0000)]
* defs.h: Fix wording of the comment before FOPEN_RB.
Paul Brook [Sat, 13 Nov 2004 13:38:15 +0000 (13:38 +0000)]
* bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve
R_ARM_PREL31 relocations to PLT entries.
(elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto.
(elf32_arm_check_relocs): Ditto.
Eli Zaretskii [Sat, 13 Nov 2004 13:36:53 +0000 (13:36 +0000)]
Fix DJGPP configury due to some bitrot:
* config/djgpp/fnchange.lst: Group renames for opcode directory
together.
* config/djgpp/djconfig.sh: Replace file names that don't exist
anymore with existing files, for checking the unpacked
distribution.
* config/djgpp/config.sed (am_cv_exeext, lt_cv_sys_max_cmd_len):
Export pre-cooked values in configure-* targets that begin with
"@test -f stage_last".
Andrew Cagney [Sat, 13 Nov 2004 02:29:48 +0000 (02:29 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
* defs.h (enum lval_type): Delete lval_reg_frame_relative.
* value.h (struct value): Update comment.
* valops.c (value_assign): Fold lval_reg_fame_relative into
lval_register.
* findvar.c (value_from_register, locate_var_value): Ditto.
Randolph Chung [Sat, 13 Nov 2004 02:27:41 +0000 (02:27 +0000)]
2004-11-12 Randolph Chung <tausq@debian.org>
* config/tm/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): Remove.
* parse.c (SYMBOLS_CAN_START_WITH_DOLLAR): Remove.
(write_exp_msymbol): Remove conditional check for symbols starting
with $. Update comments.
Randolph Chung [Sat, 13 Nov 2004 02:24:34 +0000 (02:24 +0000)]
2004-11-12 Randolph Chung <tausq@debian.org>
* pa64solib.c (pa64_solib_thread_start_addr): Rename from
so_lib_thread_start_addr.
* pa64solib.h (so_list): Forward declare.
(pa64_solib_thread_start_addr): Prototype.
* somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined.
(no_shared_libraries): Remove.
(som_solib_thread_start_addr): Rename from so_lib_thread_start_addr.
* somsolib.h (som_solib_thread_start_addr): Likewise; prototype.
* hpread.c (hpread_process_one_debug_symbol): Use either the som or
the elf solib handler to find the start address.
* config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support
files to the target makefile.
* config/pa/hpux1020.mh (NATDEPFILES): Likewise.
* config/pa/hpux11.mh (NATDEPFILES): Likewise.
* config/pa/hpux11w.mh (NATDEPFILES): Likewise.
* config/pa/hppa64.mt (TDEPFILES): Put target-specific support
files for symbol reading and shared library handling here.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
(PA_SOM_ONLY): Define so we can build a 32-bit SOM only target
without bringing in 64-bit support.
Randolph Chung [Sat, 13 Nov 2004 02:19:03 +0000 (02:19 +0000)]
2004-11-12 Randolph Chung <tausq@debian.org>
* pa64solib.c (pa64_solib_thread_start_addr): Rename from
so_lib_thread_start_addr.
* pa64solib.h (so_list): Forward declare.
(pa64_solib_thread_start_addr): Prototype.
* somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined.
(no_shared_libraries): Remove.
(som_solib_thread_start_addr): Rename from so_lib_thread_start_addr.
* somsolib.h (som_solib_thread_start_addr): Likewise; prototype.
* hpread.c (hpread_process_one_debug_symbol): Use either the som or
the elf solib handler to find the start address.
* config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support
files to the target makefile.
* config/pa/hpux1020.mh (NATDEPFILES): Likewise.
* config/pa/hpux11.mh (NATDEPFILES): Likewise.
* config/pa/hpux11w.mh (NATDEPFILES): Likewise.
* config/pa/hppa64.mt (TDEPFILES): Put target-specific support
files for symbol reading and shared library handling here.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
(PA_SOM_ONLY): Define so we can build a 32-bit SOM only target
without bringing in 64-bit support.
Andrew Cagney [Sat, 13 Nov 2004 02:15:33 +0000 (02:15 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
* sparc-tdep.c: Replace VALUE_TYPE with value_type.
* v850-tdep.c, sparc64-tdep.c, sh-tdep.c: Ditto.
* sh64-tdep.c, s390-tdep.c, mcore-tdep.c: Ditto.
* h8300-tdep.c, arm-linux-tdep.c, amd64-tdep.c: Ditto.
* hppa-tdep.c, mips-tdep.c, m88k-tdep.c: Ditto.
* m68hc11-tdep.c, m32r-tdep.c, ia64-tdep.c: Ditto.
* frv-tdep.c, cris-tdep.c, avr-tdep.c, alpha-tdep.c: Ditto.
Andrew Cagney [Sat, 13 Nov 2004 00:53:09 +0000 (00:53 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
Merge VALUE_REGNO and VALUE_FRAME_REGNUM into VALUE_REGNUM.
* value.h (VALUE_REGNO, VALUE_FRAME_REGNUM): Delete.
(VALUE_REGNUM): Define.
(struct value): Delete location.regnum, rename "regno" to
"regnum".
* value.c, valops.c, valarith.c, findvar.c: Update.
gdbadmin [Sat, 13 Nov 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 12 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Bob Wilson [Fri, 12 Nov 2004 22:17:53 +0000 (22:17 +0000)]
Add Sterling Augustine to previous entry (credit where it's due)
Bob Wilson [Fri, 12 Nov 2004 21:59:13 +0000 (21:59 +0000)]
2004-11-12 Bob Wilson <bob.wilson@acm.org>
include/ChangeLog
* xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
* xtensa-isa.h (xtensa_interface_class_id): New prototype.
bfd/ChangeLog
* xtensa-isa.c (xtensa_interface_class_id): New.
gas/ChangeLog
* config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
there is a conflict.
(check_t1_t2_reads_and_writes): Check for both reads and writes to
interfaces that are related as determined by xtensa_interface_class_id.
Andrew Cagney [Fri, 12 Nov 2004 21:45:08 +0000 (21:45 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_TYPE, VALUE_NEXT, VALUE_OFFSET, VALUE_BITSIZE)
(VALUE_BITPOS): Delete.
(value_type, value_offset, value_bitsize, value_bitpos): Declare.
* value.c (value_type, value_offset, value_bitpos)
(value_bitsize): New functions. Update references.
* arm-tdep.c, gnu-v3-abi.c, hpacc-abi.c, gnu-v2-abi.c: Update.
* f-valprint.c, cp-valprint.c, c-valprint.c: Update.
* ada-valprint.c, typeprint.c, scm-valprint.c, scm-exp.c: Update.
* p-valprint.c, jv-valprint.c, jv-lang.c, varobj.c: Update.
* objc-lang.c, ada-lang.c, std-regs.c, stack.c: Update.
* infcall.c, linespec.c, printcmd.c, valarith.c: Update.
* valops.c, eval.c, findvar.c, breakpoint.c: Update.
* tracepoint.c, ax-gdb.c, mi/mi-main.c, cli/cli-dump.c:
* rs6000-tdep.c, ppc-sysv-tdep.c: Update.
Geoffrey Keating [Fri, 12 Nov 2004 19:38:13 +0000 (19:38 +0000)]
PR 18423
* configure.in: Remove all instances of build-fixincludes from
noconfigdirs.
(build_configargs): Supply --target to subdirectories.
* configure: Regenerate.
* Makefile.def: Make gcc install depend on fixincludes install.
* Makefile.in: Regenerate.
Andrew Cagney [Fri, 12 Nov 2004 19:22:09 +0000 (19:22 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
* cris-tdep.c (cris_register_offset): Delete, never called.
(cris_spec_reg_applicable): Delete cris_ver_sim.
* MAINTAINERS: List d10v as OBSOLETE.
* rdi-share/host.h (FOPEN_WB): #ifdef 0 out definitions of
FOPEN_WB et.al., defined by "fopen-bin.h".
Randolph Chung [Fri, 12 Nov 2004 18:38:34 +0000 (18:38 +0000)]
2004-11-12 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_skip_permanent_breakpoint): Move definition ...
* hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): ... to here.
* config/pa/tm-hppa.h (SKIP_PERMANENT_BREAKPOINT): Move definition ...
* config/pa/tm-hppah.h (SKIP_PERMANENT_BREAKPOINT): ... to here.
Andrew Cagney [Fri, 12 Nov 2004 16:45:32 +0000 (16:45 +0000)]
2004-11-12 Andrew Cagney <cagney@gnu.org>
* d30v, fr30, mn10200, z8k: Delete directory.
Mark Kettenis [Fri, 12 Nov 2004 16:07:20 +0000 (16:07 +0000)]
* tui/tui-io.c: Don't include "terminal.h".
* Makefile.in (tui-io.o): Update dependencies.
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.
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.
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.
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.
gdbadmin [Fri, 12 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
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.
Alan Modra [Thu, 11 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
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".
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.
Andrew Cagney [Thu, 11 Nov 2004 20:27:58 +0000 (20:27 +0000)]
mention who committed Jon's patch.
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.
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.
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.
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.
gdbadmin [Thu, 11 Nov 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
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.
Alan Modra [Wed, 10 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
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.
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.
Mark Kettenis [Wed, 10 Nov 2004 20:40:33 +0000 (20:40 +0000)]
* dwarf2read.c: Fix formatting.
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.
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.
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.
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.
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 .
Danny Smith [Wed, 10 Nov 2004 06:54:08 +0000 (06:54 +0000)]
* defparse.y: Remove unnecessary commas from token list.
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.
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.
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.
Andrew Cagney [Wed, 10 Nov 2004 00:00:25 +0000 (00:00 +0000)]
GDB 6.3
gdbadmin [Wed, 10 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 9 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Aaron W. LaFramboise [Tue, 9 Nov 2004 21:27:51 +0000 (21:27 +0000)]
Fix ChangeLog typo.
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.
Daniel Jacobowitz [Tue, 9 Nov 2004 19:51:44 +0000 (19:51 +0000)]
* dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocated
size.
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.
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.
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.
Andrew Cagney [Tue, 9 Nov 2004 15:35:15 +0000 (15:35 +0000)]
2004-11-09 Andrew Cagney <cagney@gnu.org>
* TODO: Delete.
Nick Clifton [Tue, 9 Nov 2004 14:53:56 +0000 (14:53 +0000)]
oops - omitted from previous delta
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.
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.
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.
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;
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.
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.
gdbadmin [Tue, 9 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 8 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Mon, 8 Nov 2004 22:14:59 +0000 (22:14 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable
target-libgfortran.
* configure: Regenerate.
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.
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.
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.
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.
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.
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.
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.
David Edelsohn [Mon, 8 Nov 2004 15:28:01 +0000 (15:28 +0000)]
* config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
like CC.
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.
Nick Clifton [Mon, 8 Nov 2004 13:17:43 +0000 (13:17 +0000)]
Add support fpr MAXQ processor
Nick Clifton [Mon, 8 Nov 2004 12:59:37 +0000 (12:59 +0000)]
*sigh* undo previous delta which was done too early...
Nick Clifton [Mon, 8 Nov 2004 12:55:40 +0000 (12:55 +0000)]
oops - omitted from previous delta
Nick Clifton [Mon, 8 Nov 2004 08:51:47 +0000 (08:51 +0000)]
oops - omitted fom previous delta
Nick Clifton [Mon, 8 Nov 2004 08:12:53 +0000 (08:12 +0000)]
Fix support for PECOFF weak symbols
gdbadmin [Mon, 8 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 7 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
Mark Kettenis [Sun, 7 Nov 2004 20:20:32 +0000 (20:20 +0000)]
* Makefile.in (mips64obsd-tdep.o): Fix typo.
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.
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.
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.
Mark Kettenis [Sun, 7 Nov 2004 16:47:57 +0000 (16:47 +0000)]
* gdb.base/savedregs.exp: Correct pattern used for sigtramp
frames.
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.
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.
gdbadmin [Sun, 7 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 6 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update