OSDN Git Service
Andrew Cagney [Tue, 13 Jul 2004 17:08:36 +0000 (17:08 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
(check_sizeof, check_valueof): Do not include the output in the
test name. Use gdb_test.
(get_valueof): Use gdb_test_multiple.
Nick Clifton [Tue, 13 Jul 2004 16:28:05 +0000 (16:28 +0000)]
Fix typo in comment
Andrew Cagney [Tue, 13 Jul 2004 16:25:46 +0000 (16:25 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/step-test.exp: Update copyright. Use
gdb_test_multiple. Ensure that test names do not include
architecture dependent output.
Nick Clifton [Tue, 13 Jul 2004 15:34:41 +0000 (15:34 +0000)]
fix typo
Andrew Cagney [Tue, 13 Jul 2004 14:36:44 +0000 (14:36 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/observer.exp: Update copyright.
(setup_test): Use gdb_test_multiple.
(attach_first_observer, attach_second_observer)
(attach_third_observer, detach_first_observer)
(detach_second_observer, detach_third_observer)
(reset_counters, check_counters): Make $message a prefix.
(test_normal_stop_notifications): Add "args" parameter - a list of
init functions to be called. Make $message a prefix,
(test_observer_normal_stop): Change the message prefixes so that
they are unique, pass the attach / detach procedures to
test_normal_stop_notifications.
Andrew Cagney [Tue, 13 Jul 2004 13:44:01 +0000 (13:44 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.exp (test_segv): Prefix all tests with
"${name}". Clean up test messages.
Andrew Cagney [Tue, 13 Jul 2004 13:10:54 +0000 (13:10 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
Andrew Cagney [Tue, 13 Jul 2004 13:01:04 +0000 (13:01 +0000)]
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/ena-dis-br.exp: Update copyright.
(break_at): New function. Replace send_gdb with gdb_test,
break_at, and gdb_test_multiple. Replace XFAIL of "continue with
ignore count, not stopped at bpt", with KFAIL.
Nick Clifton [Tue, 13 Jul 2004 12:55:42 +0000 (12:55 +0000)]
(elf_sort_symbol): Restructure code to avoid bug in Solairs hosted versions of
gcc.
Corinna Vinschen [Tue, 13 Jul 2004 11:19:22 +0000 (11:19 +0000)]
* gdb.base/attach.exp: Remove cleanupfile handling.
gdbadmin [Tue, 13 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 13 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Mon, 12 Jul 2004 21:39:35 +0000 (21:39 +0000)]
2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota1.exp: Cleanup corefile test name.
* gdb.base/annota3.exp: Ditto.
Joel Brobecker [Mon, 12 Jul 2004 17:09:58 +0000 (17:09 +0000)]
* hppa-hpux-tdep.c: Fix a compilation failure due to a comment
that was inserted inside a comment.
Andrew Cagney [Mon, 12 Jul 2004 15:02:52 +0000 (15:02 +0000)]
2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Clean up copyright, re-indent.
Andrew Cagney [Mon, 12 Jul 2004 14:25:48 +0000 (14:25 +0000)]
2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple.
Paolo Bonzini [Mon, 12 Jul 2004 12:03:42 +0000 (12:03 +0000)]
2004-07-12 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Add noconfigdirs for crx-*-*.
* configure: Regenerate.
2004-07-09 Loren J. Rittle <ljrittle@acm.org>
* configure.in: Build libmudflap by default on FreeBSD.
* configure: Regenerated.
2004-07-09 Mark Mitchell <mark@codesourcery.com>
* configure.in: Do not build libmudflap by default on non-GNU/Linux
systems.
* configure: Regenerated.
2004-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/16344
* Makefile.tpl (profiledbootstrap): Build runtime libraries with
feedback based compiler.
* Makefile.in: Rebuilt.
2004-07-05 Phil Edwards <phil@codesourcery.com>
* configure.in: Do not prepend $srcdir to /dev/null in
makefile fragments.
* configure: Regenerate.
gdbadmin [Mon, 12 Jul 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 12 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Ben Elliston [Sun, 11 Jul 2004 23:42:07 +0000 (23:42 +0000)]
* tree.c (parse_integer_property): Comment typo fix.
Andreas Schwab [Sun, 11 Jul 2004 14:29:50 +0000 (14:29 +0000)]
* m68k-dis.c (m68k_valid_ea): Fix typos in last change.
Randolph Chung [Sun, 11 Jul 2004 06:51:41 +0000 (06:51 +0000)]
2004-07-10 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
function.
(hppa_hpux_push_dummy_code): New function.
(hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
Set find_global_pointer method.
Jim Wilson [Sun, 11 Jul 2004 03:15:29 +0000 (03:15 +0000)]
Fix linker big-endian support.
* elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter.
(elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise.
(elfNN_ia64_relax_section, elfNN_ia64_relocate_section,
elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections):
Fix callers.
(elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64. Change
bfd_put_64 to bfd_putl64.
(elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise.
gdbadmin [Sun, 11 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 11 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Sat, 10 Jul 2004 21:24:01 +0000 (21:24 +0000)]
* NEWS: Mention BSD libkvm interface.
Michael Snyder [Sat, 10 Jul 2004 01:17:53 +0000 (01:17 +0000)]
2004-07-10 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Comment typo.
* stack.c (get_selected_block): Ditto.
* regcache.c (regcache_cooked_read): Ditto.
* monitor.c (monitor_debug): Ditto.
* mips-tdep.c (mips_read_pc): Ditto.
* i386-linux-nat.c (ps_get_thread_area): Ditto.
* gdb_mbuild.sh: Ditto.
* gdbarch.sh: Ditto.
* gdbarch.h: Ditto.
Ben Elliston [Sat, 10 Jul 2004 00:40:25 +0000 (00:40 +0000)]
* hw-tree.c (parse_integer_property): Typo fix in comments.
* sim-options.c (sim_args_command): Likewise.
Alan Modra [Sat, 10 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 10 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Paul N. Hilfinger [Fri, 9 Jul 2004 19:36:17 +0000 (19:36 +0000)]
Removed ada-tasks.c, as ACT plans to rewrite it extensively before
submission.
Paul N. Hilfinger [Fri, 9 Jul 2004 19:29:56 +0000 (19:29 +0000)]
Remove ARI problems:
* ada-exp.y (write_var_from_sym): Reformat to put operator at
beginning of line.
* ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
Add comment.
Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
(MIN_OF_SIZE): Rename min_of_size. Add comment.
(UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
(UMIN_OF_SIZE): Remove.
(max_of_type): New function to replace orphan macro in gdbtypes.h
(min_of_type): Ditto.
(discrete_type_high_bound): Use max_of_type.
(discrete_type_low_bound): Use min_of_type.
(possible_user_operator_p): Move operator to beginning of line.
(ada_is_variant_part): Ditto.
(ensure_lval): Rewrite to avoid deprecated operations.
(ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
rather than adding DEPRECATED_FUNCTION_START_OFFSET.
(ada_enum_name): Remove assignments in 'if' statements.
(build_ada_types): Add gdbarch parameter.
(_initialize_ada_language): Replace deprecated_register_gdbarch_swap
with gdbarch_data_register_post_init.
Use add_setshow_uinteger_cmd rather than add_set_cmd and
add_show_from_set.
* ada-valprint.c (inspect_it): Remove declaration.
(repeat_count_threshold): Remove declaration.
(ada_print_floating): Remove assignments in 'if' statements.
(print_str): Move operator to beginning of line.
H.J. Lu [Fri, 9 Jul 2004 19:27:15 +0000 (19:27 +0000)]
2004-07-09 H.J. Lu <hongjiu.lu@intel.com>
PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Only warn br in
.init/.fini sections when trying to relax it.
Eli Zaretskii [Fri, 9 Jul 2004 18:44:51 +0000 (18:44 +0000)]
Fix @kindex entries so that multiple commands that
have the same prefix have only their prefix in the index.
Andreas Schwab [Fri, 9 Jul 2004 18:42:14 +0000 (18:42 +0000)]
binutils/testsuite/:
* binutils-all/m68k/movem.s: New file.
* binutils-all/m68k/objdump.exp: New file.
include/opcode/:
* m68k.h: Fix comment.
opcodes/:
* m68k-dis.c (m68k_valid_ea): Check validity of all codes.
Nick Clifton [Fri, 9 Jul 2004 16:06:20 +0000 (16:06 +0000)]
* elf.c (assign_file_positions_for_segments): Make sure the .dynamic section
is the first section in the PT_DYNAMIC segment
Nick Clifton [Fri, 9 Jul 2004 12:32:35 +0000 (12:32 +0000)]
Rename sh-symbian-elf toolchain to sh-*-symbianelf
Alan Modra [Fri, 9 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 9 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Thu, 8 Jul 2004 23:43:47 +0000 (23:43 +0000)]
* rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
Jeff Johnston [Thu, 8 Jul 2004 21:00:45 +0000 (21:00 +0000)]
2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmain.exp: Fix expected line number for main to
break at. Set XFAIL for break at main test since gcj does not
provide line number info for first statement in main.
Andrew Cagney [Thu, 8 Jul 2004 20:04:47 +0000 (20:04 +0000)]
2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright. Re-indent.
Alexandre Oliva [Thu, 8 Jul 2004 19:46:05 +0000 (19:46 +0000)]
* Makefile.def (host_modules): Set bootstrap=true for flex.
* Makefile.tpl (all-gcc): Depend on texinfo and flex.
* Makefile.in: Rebuilt.
Andrew Cagney [Thu, 8 Jul 2004 14:19:21 +0000 (14:19 +0000)]
2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp: Make the common part of each test name a
prefix instead of suffix.
Bob Rossi [Thu, 8 Jul 2004 11:18:27 +0000 (11:18 +0000)]
Fix crash in symtab.c.
Bob Rossi [Thu, 8 Jul 2004 01:57:51 +0000 (01:57 +0000)]
I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.
Alan Modra [Thu, 8 Jul 2004 00:00:37 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 8 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Jeff Johnston [Wed, 7 Jul 2004 20:08:03 +0000 (20:08 +0000)]
2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
the jmisc() constructor instead of <init>.
* gdb.java/jmisc1.exp: Ditto.
Nick Clifton [Wed, 7 Jul 2004 17:37:19 +0000 (17:37 +0000)]
Undo accidental commit whilst adding crx-elf port
Andrew Cagney [Wed, 7 Jul 2004 17:30:10 +0000 (17:30 +0000)]
2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
corrupting the PC.
Nick Clifton [Wed, 7 Jul 2004 17:28:53 +0000 (17:28 +0000)]
Add new port: crx-elf
gdbadmin [Wed, 7 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 7 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Michael Chastain [Tue, 6 Jul 2004 19:36:10 +0000 (19:36 +0000)]
2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
output.
Jeff Johnston [Tue, 6 Jul 2004 19:29:31 +0000 (19:29 +0000)]
2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
* language.h (struct_language_defn): Add new function pointer:
la_class_name_from_physname. Also add new prototype for
language_class_name_from_physname.
* language.c (language_class_name_from_physname): New function.
(unk_lang_class_name): Ditto.
(unknown_language_defn, auto_language_defn): Change
to add unk_lang_class_name function pointer for
la_class_name_from_physname.
(local_language_defn): Ditto.
* dwarf2read.c (guess_structure_name): Change to call
language_class_name_from_physname.
(determine_class_name): Ditto.
* cp-support.c (class_name_from_physname): Renamed.
(cp_class_name_from_physname): New name of function.
* cp-support.h: Ditto.
* c-lang.c (c_language_defn): Change to add NULL
for class_name_from_physname function pointer.
(cplus_language_defn): Change to add cp_class_name_from_physname.
* jv-lang.c (java_class_name_physname): New function.
(java_find_last_component): New static routine.
(java_language_defn): Add java_class_name_from_physname pointer.
* ada-lang.c (ada_language_defn): Change to add NULL
for class_name_from_physname function pointer.
* f-lang.c (f_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
Jim Blandy [Tue, 6 Jul 2004 17:14:09 +0000 (17:14 +0000)]
* Makefile.in: Update all dependency information.
(BASICS_H, CPU_H, IDECODE_H, PSIM_H, REGISTERS_H, DEVICE_TABLE_H)
(EMUL_GENERIC_H): Values updated.
(ACCONFIG_H, ALTIVEC_EXPRESSION_H, ALTIVEC_REGISTERS_H)
(ANSIDECL_H, BFD_H, BITS_H, CAP_H, COMMON_SIM_BASE_H)
(COMMON_SIM_BASICS_H, COMMON_SIM_FPU_H, COMMON_SIM_INLINE_H)
(COMMON_SIM_SIGNAL_H, CONFIG_H, COREFILE_H, COREFILE_N_H, DEBUG_H)
(DEFINES_H, DEFS_H, DEVICE_H, E500_EXPRESSION_H, E500_REGISTERS_H)
(EMUL_BUGAPI_H, EMUL_CHIRP_H, EMUL_NETBSD_H, EMUL_UNIX_H, EVENTS_H)
(FILTER_FILENAME_H, FILTER_H, GDB_CALLBACK_H, GDB_REMOTE_SIM_H)
(GEN_ICACHE_H, GEN_IDECODE_H, GEN_ITABLE_H, GEN_MODEL_H)
(GEN_SEMANTICS_H, GEN_SUPPORT_H, HW_CPU_H, HW_H, HW_PHB_H)
(ICACHE_H, IDECODE_BRANCH_H, IDECODE_EXPRESSION_H)
(IDECODE_FIELDS_H, IGEN_H, INLINE_H, INTERRUPTS_H, ITABLE_H)
(LD_CACHE_H, LD_DECODE_H, LD_INSN_H, LF_H, MISC_H, MODEL_H, MON_H)
(OPTIONS_H, OS_EMUL_H, PK_H, PPC_CONFIG_H, SEMANTICS_H)
(SIM_CALLBACKS_H, SIM_ENDIAN_H, SIM_ENDIAN_N_H, SIM_MAIN_H)
(SPREG_H, STD_CONFIG_H, SUPPORT_H, TABLE_H, TARG_VALS_H, TCONFIG_H)
(TREE_H, VM_H, VM_N_H, WORDS_H): New variables.
(callback.o, cap.o, corefile.o, debug.o, device.o, device_table.o)
(dgen.o, emul_bugapi.o, emul_chirp.o, emul_netbsd.o, emul_unix.o)
(events.o, filter.o, filter_filename.o, filter_host.o)
(gen-icache.o, gen-idecode.o, gen-itable.o, gen-model.o)
(gen-semantics.o, gen-support.o, hw_core.o, hw_cpu.o, hw_disk.o)
(hw_htab.o, hw_init.o, hw_phb.o, hw_register.o, icache.o)
(idecode.o, igen.o, interrupts.o, itable.o, ld-cache.o)
(ld-decode.o, ld-insn.o, lf.o, main.o, misc.o, model.o, mon.o)
(options.o, os_emul.o, pk_disklabel.o, psim.o, registers.o)
(semantics.o, sim-endian.o, sim-fpu.o, sim_calls.o, spreg.o)
(support.o, table.o, targ-map.o, tree.o, vm.o): Update dependencies.
Nick Clifton [Tue, 6 Jul 2004 16:58:42 +0000 (16:58 +0000)]
Add support for sh-symbian-elf target
Andrew Cagney [Tue, 6 Jul 2004 15:08:54 +0000 (15:08 +0000)]
2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
Andrew Cagney [Tue, 6 Jul 2004 14:24:06 +0000 (14:24 +0000)]
2004-07-06 Andrew Cagney <cagney@gnu.org>
Patch from Bart Robinson.
* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
(O_LARGEFILE): Define to 0, if not defined.
gdbadmin [Tue, 6 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 6 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Mon, 5 Jul 2004 15:31:35 +0000 (15:31 +0000)]
* gdb.texinfo (BSD libkvm Interface): New node (section)
(Native): Add it to the menu.
Joern Rennecke [Mon, 5 Jul 2004 13:35:43 +0000 (13:35 +0000)]
2004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>
bfd:
* elf32-sh.c: Include ../opcodes/sh-opc.h .
* Makefile.am: Ran make dep-am .
* Makefile.in: Ran make dep-in .
gas:
* config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
(md_parse_option): Remove redundant -isa testing.
Make bfd_arch variable const.
(md_show_usage): Make bfd_arch variable const.
gdbadmin [Mon, 5 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 5 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 4 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 4 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Christopher Faylor [Sat, 3 Jul 2004 16:07:47 +0000 (16:07 +0000)]
2004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak
externals properly.
* src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
externals.
* binutils/doc/binutils.texi (nm): Clarify weak symbol description.
* gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE.
* gas/doc/as.texinfo (Weak): Document PE weak symbols.
* ld/ld.texinfo (WIN32): Document PE weak symbols.
Mark Kettenis [Sat, 3 Jul 2004 15:14:48 +0000 (15:14 +0000)]
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
Mark Kettenis [Sat, 3 Jul 2004 13:17:33 +0000 (13:17 +0000)]
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
Mark Kettenis [Sat, 3 Jul 2004 13:11:39 +0000 (13:11 +0000)]
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.
Alan Modra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 3 Jul 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Martin Hunt [Fri, 2 Jul 2004 23:09:33 +0000 (23:09 +0000)]
2004-07-02 Martin Hunt <hunt@redhat.com>
* library/targetselection.itb: Use /dev/comX for
cygwin instead of just comX.
* library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.
Martin Hunt [Fri, 2 Jul 2004 22:00:56 +0000 (22:00 +0000)]
2004-07-02 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (symtab_to_filename): New function. Like
symtab_to_fullname() but returns the filename if the fullname
cannot be found.
* generic/gdbtk-cmds.c (gdb_find_file_command): Revert
patch of 2004-06-11. Use symtab_to_filename() again.
(gdb_loc): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_get_tracepoint_info): Ditto.
* generic/gdbtk-cmds.h: Declare symtab_to_filename().
Mark Kettenis [Fri, 2 Jul 2004 21:27:17 +0000 (21:27 +0000)]
* osabi.c: Update copyright year.
(generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.
Joel Brobecker [Fri, 2 Jul 2004 21:09:45 +0000 (21:09 +0000)]
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.
Martin Schwidefsky [Fri, 2 Jul 2004 14:12:01 +0000 (14:12 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.
Paolo Bonzini [Fri, 2 Jul 2004 07:56:07 +0000 (07:56 +0000)]
2004-07-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add bison, byacc, flex,
m4, texinfo.
(flags_to_pass): Add FLEX.
* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
DEFAULT_MAKEINFO): Remove.
(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
objdir or else use configured tool.
(all-build): New.
(all): Depend on it.
(Build module dependencies): Add.
* Makefile.in: Regenerate.
* configure.in: Better support for multiple build modules,
matching what is done for host/target modules. Do not look
for "plausible" locations of build tools if Canadian cross.
Use autoconf's AC_PROG_CC to find a C compiler. Define
BUILD_DIR_PREFIX. Look for flex, makeinfo and m4.
* configure: Regenerate.
Michael Chastain [Fri, 2 Jul 2004 04:18:17 +0000 (04:18 +0000)]
2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
H.J. Lu [Fri, 2 Jul 2004 01:39:31 +0000 (01:39 +0000)]
bfd/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd_get_section_ident): New.
* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.
* bfd-in2.h: Regenerated.
ld/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.
Alan Modra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 2 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 1 Jul 2004 21:34:02 +0000 (21:34 +0000)]
2004-07-01 Michael Snyder <msnyder@redhat.com>
* win32-nat.c (core_dll_symbols_add): Re-indent a small section
that seems to have gotten whacked out of line.
Mark Kettenis [Thu, 1 Jul 2004 20:25:54 +0000 (20:25 +0000)]
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
code.
Nick Clifton [Thu, 1 Jul 2004 14:53:40 +0000 (14:53 +0000)]
(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
mips_elf_sort_hash_table ().
Alan Modra [Thu, 1 Jul 2004 13:48:51 +0000 (13:48 +0000)]
bfd/
* elflink.c (elf_section_ignore_discarded_relocs): Revert last
change. Comment.
(elf_section_complain_discarded): New function. Handle
.gcc_except_table too.
(elf_link_input_bfd): Rewrite handling of relocs against symbols
in discarded sections.
* elf-bfd.h (elf_discarded_section): Protect macro arg.
ld/testsuite/
* ld-discard/extern.d: Update.
* ld-discard/start.d: Update.
* ld-discard/static.d: Update.
Paul N. Hilfinger [Thu, 1 Jul 2004 10:30:57 +0000 (10:30 +0000)]
* ada-lang.c (decode_packed_array): Minor change to comment.
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test. Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
Paul N. Hilfinger [Thu, 1 Jul 2004 10:11:11 +0000 (10:11 +0000)]
Address complaints from gdb_ari.sh:
* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.
* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.
gdbadmin [Thu, 1 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 1 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
Jim Wilson [Wed, 30 Jun 2004 20:23:23 +0000 (20:23 +0000)]
Fix @pltoff linker segfault for non-shared link.
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize
to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true.
Mark Kettenis [Wed, 30 Jun 2004 20:01:23 +0000 (20:01 +0000)]
* gdbint.texinfo (Target Architecture Definition): Remove
SUN_FIXED_LBRAC_BUG.
Mark Kettenis [Wed, 30 Jun 2004 19:44:22 +0000 (19:44 +0000)]
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
dead code.
Mark Kettenis [Wed, 30 Jun 2004 19:23:21 +0000 (19:23 +0000)]
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
Jim Wilson [Wed, 30 Jun 2004 18:12:38 +0000 (18:12 +0000)]
Correctly assemble mov rX=imm.
* ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
* ia64-asmtab.c: Regnerate.
H.J. Lu [Wed, 30 Jun 2004 16:19:20 +0000 (16:19 +0000)]
bfd/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.
ld/testsuite/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
Alan Modra [Wed, 30 Jun 2004 13:42:45 +0000 (13:42 +0000)]
* elflink.c (elf_section_ignore_discarded_relocs): Don't test
sec_info_type, test section name instead.
Michael Chastain [Wed, 30 Jun 2004 08:01:33 +0000 (08:01 +0000)]
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.