binutils-gdb.git
19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 10:13:07 +0000 (10:13 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.

19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 07:54:52 +0000 (07:54 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (md): Remove last_groups and group_idx.
(errata_nop_necessary_p): Remove declaraction and definition.
(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
update md.group_idx. Don't reset md.last_groups.

19 years agogas/
Jan Beulich [Fri, 11 Feb 2005 07:45:20 +0000 (07:45 +0000)]
gas/
2005-02-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (parse_section_name): Handle non-quoted first
argument.
(dot_xdata): Free section name after use.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
(md_pseudo_table): Add xdata16 and xdata16.ua.

19 years ago2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 11 Feb 2005 06:29:08 +0000 (06:29 +0000)]
2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>

* doc/all.texi: Add IA64.
* doc/as.texinfo: Likewise.

* doc/c-ia64.texi: Fix typos.

19 years agoFix my email address in last commit.
Mark Kettenis [Fri, 11 Feb 2005 04:15:55 +0000 (04:15 +0000)]
Fix my email address in last commit.

19 years ago* gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
Mark Kettenis [Fri, 11 Feb 2005 04:12:19 +0000 (04:12 +0000)]
* gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
files.

19 years ago2005-02-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 11 Feb 2005 04:06:14 +0000 (04:06 +0000)]
2005-02-10  Andrew Cagney  <cagney@gnu.org>

Mark up all error and warning messages.
* ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
* bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
* core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
* cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
* dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
* dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
* event-top.c, exec.c, expprint.c, f-lang.c: Update.
* f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
* frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
* gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
* hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
* hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
* hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
* i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
* ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
* kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
* m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
* m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
* maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
* nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
* observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
* p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
* ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
* remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
* remote-rdp.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote-utils.h, remote.c: Update.
* rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
* ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
* sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
* solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
* solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
* somread.c, somsolib.c, source.c, stabsread.c: Update.
* stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
* symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
* uw-thread.c, valarith.c, valops.c, valprint.c: Update.
* value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
* xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
* cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
* cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
* mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
* mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
* mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
* tui/tui-win.c: Update.

19 years ago* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
Mark Kettenis [Fri, 11 Feb 2005 04:01:01 +0000 (04:01 +0000)]
* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
on *-*-openbsd*.  Correctly match whitespace in regukar
expressions.

19 years ago * elf64-ppc.c (move_plt_plist): New function, extracted from..
Alan Modra [Fri, 11 Feb 2005 03:47:40 +0000 (03:47 +0000)]
* elf64-ppc.c (move_plt_plist): New function, extracted from..
(ppc64_elf_copy_indirect_symbol): ..here.
(func_desc_adjust): Use move_plt_plist.

19 years ago*** empty log message ***
gdbadmin [Fri, 11 Feb 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * MAINTAINERS: Update my e-mail address.
Ian Lance Taylor [Thu, 10 Feb 2005 23:34:43 +0000 (23:34 +0000)]
* MAINTAINERS: Update my e-mail address.

19 years agodaily update
Alan Modra [Thu, 10 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
Daniel Jacobowitz [Thu, 10 Feb 2005 18:15:44 +0000 (18:15 +0000)]
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* cp-valprint.c: Include "language.h".
(cp_print_value_fields): Pass the current language to
fprintf_symbol_filtered.
* Makefile.in (cp-valprint.o): Update dependencies.

testsuite/
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* gdb.base/gdb1821.c: New test file.
* gdb.base/gdb1821.exp: New test file.

19 years ago2005-02-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Feb 2005 17:32:53 +0000 (17:32 +0000)]
2005-02-10  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
(add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
(add_setshow_filename_cmd, add_setshow_string_cmd)
(add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
print string parameter with fprint_setshow function.
* command.h (fprint_setshow_ftype): Define.  Update declarations.
* cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
available, use that.
* cli/cli-decode.h (struct cmd_list_element): Add field
fprint_setshow.
* complaints.c (fprint_setshow_complaints): New function.
(_initialize_complaints): Pass to add_setshow_zinteger_cmd.
* hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
with NULL.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* m32r-rom.c (_initialize_m32r_rom): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* dwarf2read.c (_initialize_dwarf2_read): Ditto.
* frame.c (_initialize_frame): Ditto.
* target.c (initialize_targets): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* observer.c (_initialize_observer): Ditto.
* infcall.c (_initialize_infcall): Ditto.
* breakpoint.c (_initialize_breakpoint): Ditto.
* cli/cli-logging.c (_initialize_cli_logging): Ditto.
* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.

19 years ago2005-02-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Feb 2005 15:24:37 +0000 (15:24 +0000)]
2005-02-10  Andrew Cagney  <cagney@gnu.org>

* cli/cli-setshow.c (do_setshow_command): Move code printing the
value to the end of the function.  Handle MI and non-MI output
differently.

19 years ago2005-02-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 10 Feb 2005 14:14:25 +0000 (14:14 +0000)]
2005-02-10  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9.

19 years ago2005-02-10 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 10 Feb 2005 14:09:43 +0000 (14:09 +0000)]
2005-02-10  Paul Brook  <paul@codesourcery.com>

* elflink.c (bfd_elf_record_link_assignment): Make hidden and internal
symbols local.
(elf_link_renumber_hash_table_dynsyms): Ignore local symbols.
(elf_link_renumber_local_hash_table_dynsyms): New function.
(_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols.
ld/testsuite/
* ld-elfvsb/hidden2.s: New file
* ld-elfvsb/hidden2.d: New file
* ld-elfvsb/hidden2.ld: New file

19 years ago * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
Julian Brown [Thu, 10 Feb 2005 12:39:17 +0000 (12:39 +0000)]
* config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
BFD_RELOC_UNUSED.
(do_t_push_pop): Likewise.
(md_assemble): Likewise.
(md_apply_fix3): Handle BFD_RELOC_NONE correctly, make BFD_RELOC_UNUSED
same as previous meaning of BFD_RELOC_NONE.
(create_unwind_entry): Output dependency on the required personality
routines.
testsuite/gas/arm/unwind.d: Alter expected output to include dependency
on __aeabi_unwind_cpp_pr[01].

19 years ago * bfd-in.h (BFD_LINKER_CREATED): Define.
Jakub Jelinek [Thu, 10 Feb 2005 09:15:08 +0000 (09:15 +0000)]
* bfd-in.h (BFD_LINKER_CREATED): Define.
* bfd-in2.h: Rebuilt.
* elflink.c (bfd_elf_size_dynamic_sections): Disregard
BFD_LINKER_CREATED bfds when determining input bfds without
.note.GNU-stack section.

* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Set BFD_LINKER_CREATED on the stubs bfd.
* emultempl/ppc64elf.em (ppc_create_output_section_statements):
Likewise.

19 years ago * MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
Mark Mitchell [Thu, 10 Feb 2005 08:01:41 +0000 (08:01 +0000)]
* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
maintainers.

19 years ago * scripttempl/armbpabi.sc (VERSION): Make special section symbols
Mark Mitchell [Thu, 10 Feb 2005 05:49:21 +0000 (05:49 +0000)]
* scripttempl/armbpabi.sc (VERSION): Make special section symbols
local.
(Image$$ER_RO$$Base): Define whenever RELOCATING.
(Image$$ER_RO$$Limit): Likewise.
(SHT$$INIT_ARRAY$$Base): Likewise.
(SHT$$INIT_ARRAY$$Limit): Likeise.

19 years ago* elf64-mips.c (mips16_gprel_reloc): Update a comment.
Maciej W. Rozycki [Thu, 10 Feb 2005 03:07:46 +0000 (03:07 +0000)]
* elf64-mips.c (mips16_gprel_reloc): Update a comment.
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL
relocations against external symbols unchanged.

19 years ago * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
Ben Elliston [Thu, 10 Feb 2005 01:03:49 +0000 (01:03 +0000)]
* emultempl/beos.em: Remove #if 0 and #if 1 blocks.

19 years ago*** empty log message ***
gdbadmin [Thu, 10 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Feb 2005 23:15:01 +0000 (23:15 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
show_result parameters.
* mips-tdep.c (_initialize_mips_tdep): Update calls.
* command.h: Update declaration.
* arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
calls.

19 years agodaily update
Alan Modra [Wed, 9 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agocgen/ChangeLog:
Jim Blandy [Wed, 9 Feb 2005 22:04:04 +0000 (22:04 +0000)]
cgen/ChangeLog:
2005-02-09  Jim Blandy  <jimb@redhat.com>

* cgen-sim.scm (load-files): Don't load fixup.scm.  (See
corresponding change in the sim/common directory.)

sim/common/ChangeLog:
2005-02-09  Jim Blandy  <jimb@redhat.com>

* Make-common.in (CGEN): Load guile.scm, and include a trailing
'-s' argument.
(CGEN_FLAGS_TO_PASS): Include single quotes around the reference
to $(CGEN), to ensure that the command substitution happens where
the variable is referenced in the submake, not when the submake's
arguments are expanded.
(cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
(arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
application Scheme script directly after ${cgen}; don't precede it
with a -s.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Feb 2005 21:56:12 +0000 (21:56 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* NEWS: Mention removed commands.
* m68hc11-tdep.c (show_regs): Delete, unused.
(_initialize_m68hc11_tdep): Delete deprecated "regs" command.
* gdb-events.sh: Delete deprecated "set eventdebug" and "show
eventdebug" commands.
* gdb-events.c: Regenerate.
* gdbarch.sh: Delete deprecated "set archdebug" and "show
archdebug" commands.
* gdbarch.c: Regenerate.
* cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
remotedebug" and "show remotedebug".
* arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
disassembly-flavor", "show arm disassembly-flavor", and
"othernames" commands.
(arm_othernames): Delete unused function.

19 years ago * gdb.base/start.c: New file.
Joel Brobecker [Wed, 9 Feb 2005 19:58:23 +0000 (19:58 +0000)]
    * gdb.base/start.c: New file.
        * gdb.base/start.exp: New testcase.

19 years ago * gdb.ada/start/dummy.adb: New file.
Joel Brobecker [Wed, 9 Feb 2005 19:38:01 +0000 (19:38 +0000)]
    * gdb.ada/start/dummy.adb: New file.
        * gdb.ada/start.exp: New testcase.

19 years ago* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.
Theodore A. Roth [Wed, 9 Feb 2005 19:06:08 +0000 (19:06 +0000)]
* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Feb 2005 16:51:43 +0000 (16:51 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
(convert_code_addr_to_desc_addr): Convert any function code
address to the corresponding function's descriptor.
(ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
TYPE_CODE_INT use the same code paths as TYPE_CODE_INT.  When
writing, convert any function code address to the corresponding
descriptor.

19 years ago * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
Corinna Vinschen [Wed, 9 Feb 2005 16:45:39 +0000 (16:45 +0000)]
* maint.exp: Raise timeout to give Cygwin targeted GDBs more time
for printing symbols and statistics.
Add test for using relative pathnames in "maint print msymbols" test.
Mark "maint info sections DATA" XFAIL on Cygwin.
Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
tests.

19 years ago * symmisc.c: Include gdb_stat.h.
Corinna Vinschen [Wed, 9 Feb 2005 16:45:17 +0000 (16:45 +0000)]
* symmisc.c: Include gdb_stat.h.
(maintenance_print_msymbols): Use inode numbers to compare files.

19 years ago2005-02-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Feb 2005 15:58:51 +0000 (15:58 +0000)]
2005-02-09  Andrew Cagney  <cagney@gnu.org>

* config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Ditto.
* config/pa/linux.mt (TDEPFILES): Ditto.
* config/mips/linux.mt (TDEPFILES): Ditto.
* config/m68k/linux.mt (TDEPFILES): Ditto.
* config/m32r/linux.mt (TDEPFILES): Ditto.
* config/ia64/linux.mt (TDEPFILES): Ditto.
* config/arm/linux.mt (TDEPFILES): Ditto.

19 years ago2005-02-09 Andreas Schwab <schwab@suse.de>
Andrew Cagney [Wed, 9 Feb 2005 14:54:24 +0000 (14:54 +0000)]
2005-02-09  Andreas Schwab  <schwab@suse.de>

Committed by Andrew Cagney  <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.

19 years agogas/testsuite/
Jan Beulich [Wed, 9 Feb 2005 08:05:43 +0000 (08:05 +0000)]
gas/testsuite/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Remove comments disabling alternative forms of
fbld, fbstp, and fldcw.
* gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw.

include/opcode/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

PR gas/707
* i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
fnstsw.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Feb 2005 00:04:29 +0000 (00:04 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): Move from here ...
* cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
(METHOD_PTR_TO_VOFFSET): ... to here.
* cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
* Makefile.in: Update dependencies.

19 years ago*** empty log message ***
gdbadmin [Wed, 9 Feb 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 23:44:06 +0000 (23:44 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* exceptions.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
(catch_exception, catch_exceptions_with_msg, catch_errors)
(catch_command_errors): Use TRY_CATCH.
(struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
(exceptions_state_mc_init): Rename catcher_init.
(exceptions_state_mc): Rename catcher_state_machine.
(exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): New functions.
* exceptions.h: Include <setjmp.h>.
(EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
(EXCEPTIONS_SIGLONGJMP): Define.
(exceptions_state_mc_init, exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): Declare.
(TRY_CATCH): Define.

19 years agodaily update
Alan Modra [Tue, 8 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 22:37:35 +0000 (22:37 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section.  Update GDB's URL.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 22:31:53 +0000 (22:31 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
no longer needed.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 21:00:16 +0000 (21:00 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
PT_FPSCR breakage.

19 years ago * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
Richard Sandiford [Tue, 8 Feb 2005 19:54:27 +0000 (19:54 +0000)]
* configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
to include o32 and n64 emulations.
(mips64*-*-linux-gnu*): Likewise.

19 years ago2005-02-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 8 Feb 2005 13:33:56 +0000 (13:33 +0000)]
2005-02-08  Paul Brook  <paul@codesourcery.com>

* elflink.c (elf_link_input_bfd): Ignore symbols from null input
sections.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 05:41:10 +0000 (05:41 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* value.c (struct value): Move to here ...
* value.h (struct value): ... from here.  Copy comments to
corresponding function declarations, re-order.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 04:57:03 +0000 (04:57 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.c (set_value_bitpos, set_value_bitsize): Define.
* value.h (set_value_bitpos, set_value_bitsize): Declare.
* ada-lang.c, valarith.c: Update.

19 years agocgen/ChangeLog:
Jim Blandy [Tue, 8 Feb 2005 04:52:24 +0000 (04:52 +0000)]
cgen/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* cgen-opc.scm: Don't load fixup.scm here.  (See corresponding
changes in the opcodes directory.)

opcodes/ChangeLog:
2005-02-07  Jim Blandy  <jimb@redhat.com>

* Makefile.am (CGEN): Load guile.scm before calling the main
application script.
* Makefile.in: Regenerated.
* cgen.sh: Be prepared for the 'cgen' argument to contain spaces.
Simply pass the cgen-opc.scm path to ${cgen} as its first
argument; ${cgen} itself now contains the '-s', or whatever is
appropriate for the Scheme being used.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 04:15:39 +0000 (04:15 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
value_contents_writeable, include note that there are problems.
* breakpoint.c, infcall.c: Use VALUE_LVAL.

19 years ago * ldmain.c (warning_callback, warning_find_reloc): Prepend
Hans-Peter Nilsson [Tue, 8 Feb 2005 03:51:32 +0000 (03:51 +0000)]
* ldmain.c (warning_callback, warning_find_reloc): Prepend
"warning: " to warning messages.

19 years ago * elflink.c (elf_link_add_object_symbols): Don't add "warning: "
Hans-Peter Nilsson [Tue, 8 Feb 2005 03:50:08 +0000 (03:50 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
prefix here.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 02:29:18 +0000 (02:29 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (set_value_offset): Declare.
* value.c (set_value_offset): Declare.
* gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
* findvar.c: Update.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 01:59:38 +0000 (01:59 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_next): Declare.
* value.c (value_next): Define.
* breakpoint.c: Update.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 00:25:31 +0000 (00:25 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_set_value_modifiable)
(deprecated_value_modifiable): Declare.
* value.c (deprecated_set_value_modifiable): Define.
(deprecated_value_modifiable): Define.
* ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.

19 years ago*** empty log message ***
gdbadmin [Tue, 8 Feb 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 23:51:03 +0000 (23:51 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_set_value_type): Declare.
* value.c (deprecated_set_value_type): Define.
* hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
* c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
* infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
* ax-gdb.c, tracepoint.c: Update.

19 years agodaily update
Alan Modra [Mon, 7 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agoFix typo _hack_hack -> _hack.
Andrew Cagney [Mon, 7 Feb 2005 21:49:36 +0000 (21:49 +0000)]
Fix typo _hack_hack -> _hack.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 21:42:36 +0000 (21:42 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Declare.
(VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
(VALUE_FRAME_ID, VALUE_REGNUM): Use.
* value.c (deprecated_value_lval_hack)
(deprecated_value_address_hack)
(deprecated_value_internalvar_hack_hack)
(deprecated_value_regnum_hack): Define.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 20:17:28 +0000 (20:17 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_POINTED_TO_OFFSET): Delete.
(set_value_pointed_to_offset, value_pointed_to_offset): Declare.
* value.c (set_value_pointed_to_offset): Define
(value_pointed_to_offset): Define.
* valops.c: Update.

19 years ago * as.h (seg_not_empty_p): Return int, not bfd_boolean.
Nathan Sidwell [Mon, 7 Feb 2005 17:53:26 +0000 (17:53 +0000)]
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
* subsegs.c (seg_not_empty_p): Likewise.

19 years agoOops, fix previous, ChangeLog. Missing set_value_embedded_offset.
Andrew Cagney [Mon, 7 Feb 2005 17:08:54 +0000 (17:08 +0000)]
Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 17:06:29 +0000 (17:06 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.

19 years agoAdd Inderpreet Singh as maintainer of MAXQ.
Nick Clifton [Mon, 7 Feb 2005 16:05:11 +0000 (16:05 +0000)]
Add Inderpreet Singh as maintainer of MAXQ.

19 years agoCorrect the relative jump calculation.
Nick Clifton [Mon, 7 Feb 2005 16:00:10 +0000 (16:00 +0000)]
Correct the relative jump calculation.

19 years ago* elf64-mips.c: Fix formatting throughout.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:50:16 +0000 (15:50 +0000)]
* elf64-mips.c: Fix formatting throughout.

19 years ago* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.
Maciej W. Rozycki [Mon, 7 Feb 2005 15:18:05 +0000 (15:18 +0000)]
* elfn32-mips.c (elf_mips_howto_table_rela): Fix a comment typo.

19 years ago2005-02-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 15:04:43 +0000 (15:04 +0000)]
2005-02-07  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_LAZY): Delete
(set_value_lazy): Declare.
* value.c (set_value_lazy): Define.
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.

19 years agobfd/ChangeLog:
Alexandre Oliva [Mon, 7 Feb 2005 07:59:34 +0000 (07:59 +0000)]
bfd/ChangeLog:
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove special handling for
*ABS*/*UND* sections.
(elf32_frv_relocate_section): Move zero-addend-required error...
(_frv_emit_got_relocs_plt_entries): ... here.  Report error for
missing needed TLS section.
ld/testsuite/ChangeLog:
* ld-frv/fdpic-shared-8-fail.d: Tweak error messages.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Feb 2005 07:00:05 +0000 (07:00 +0000)]
*** empty log message ***

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 04:50:28 +0000 (04:50 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_OPTIMIZED_OUT): Delete.
(value_optimized_out, set_value_optimized_out): Declare.
* value.c (set_value_optimized_out, value_optimized_out): Define.
* valprint.c, findvar.c, dwarf2loc.c: Update.

19 years ago * ld-cris/libdso-13.d: Adjust for being identified as warning.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:41:26 +0000 (03:41 +0000)]
* ld-cris/libdso-13.d: Adjust for being identified as warning.

19 years ago * ld-cris/globsymw2.s: New file.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:16:43 +0000 (03:16 +0000)]
* ld-cris/globsymw2.s: New file.
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.

19 years ago * write.c (write_object_file): Recognize warning-symbol construct
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:13:10 +0000 (03:13 +0000)]
* write.c (write_object_file): Recognize warning-symbol construct
and skip object- and target- handling for the second symbol.

19 years ago * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)]
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Adjust for being identified as warnings.

19 years ago * ld-cris/stabs1.s: New file.
Hans-Peter Nilsson [Mon, 7 Feb 2005 03:00:55 +0000 (03:00 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:58:27 +0000 (02:58 +0000)]
* aoutx.h (aout_link_add_symbols): Just return TRUE if a warning
symbol was last.

19 years ago * ld-cris/stabs1.s: New file.
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:53:32 +0000 (02:53 +0000)]
* ld-cris/stabs1.s: New file.
* ld-cris/undef2.d, ld-cris/undef3.d: New tests.

19 years ago * aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:51:28 +0000 (02:51 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.

19 years ago * ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:46:15 +0000 (02:46 +0000)]
* ld-elf/start.s, ld-elf/symbolref.s, ld-elf/symbol1w.s,
ld-elf/warn1.d: New test.

19 years ago* elf32-mips.c (mips_elf_gprel32_reloc): Reject
Maciej W. Rozycki [Mon, 7 Feb 2005 02:44:59 +0000 (02:44 +0000)]
* elf32-mips.c (mips_elf_gprel32_reloc): Reject
R_MIPS_GPREL32 relocations against external symbols.
* elf64-mips.c (mips_elf64_gprel32_reloc): Replace an incorrect
comment.

19 years ago* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
Mark Kettenis [Mon, 7 Feb 2005 02:39:45 +0000 (02:39 +0000)]
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.

19 years ago * lib/ld-lib.exp: Support new directive "warning".
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:38:43 +0000 (02:38 +0000)]
* lib/ld-lib.exp: Support new directive "warning".

19 years ago * lib/gas-defs.exp: Support new directive "warning".
Hans-Peter Nilsson [Mon, 7 Feb 2005 02:29:11 +0000 (02:29 +0000)]
* lib/gas-defs.exp: Support new directive "warning".

19 years ago2005-02-06 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Feb 2005 00:09:56 +0000 (00:09 +0000)]
2005-02-06  Andrew Cagney  <cagney@gnu.org>

* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.

19 years ago * elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
Alan Modra [Sun, 6 Feb 2005 23:21:44 +0000 (23:21 +0000)]
* elf-bfd.h (elf_string_from_elf_strtab): Delete macro.
* elf.c (bfd_elf_string_from_elf_section): Expand occurrence of
elf_string_from_elf_strtab.
(_bfd_elf_setup_group_pointers, bfd_section_from_shdr): Likewise.
(bfd_section_from_shdr): For SHT_SYMTAB, load SHT_SYMTAB_SHNDX too
if it exists.  Don't do the reverse for SHT_SYMTAB_SHNDX.  For
SHT_STRTAB, check whether the strtab is for symtab or dynsymtab by
looking at cached symtab info first, before iterating over headers.
For SHT_REL and SHT_RELA, load dynsymtab if needed.
* elfcode.h (elf_object_p): Don't load section header stringtab

19 years agodaily update
Alan Modra [Sun, 6 Feb 2005 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 6 Feb 2005 18:11:30 +0000 (18:11 +0000)]
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.

19 years ago2005-02-03 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 6 Feb 2005 16:22:14 +0000 (16:22 +0000)]
2005-02-03  Andrew Cagney  <cagney@gnu.org>

* utils.c (xzalloc): New function.
* defs.h (XZALLOC): Use xzalloc.
(xzalloc): Declare.
* value.c (allocate_value): Allocate a zeroed buffer.
* mdebugread.c (xzalloc): Delete.

19 years ago * elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
Alan Modra [Sun, 6 Feb 2005 10:29:39 +0000 (10:29 +0000)]
* elf64-ppc.c (add_symbol_adjust): Don't create fake descriptor
syms when doing a relocatable link.
(ppc64_elf_gc_mark_hook): Check that syms are defined before looking
at u.def.section.
(ppc64_elf_tls_setup): Likewise.
(ppc64_elf_edit_opd): Don't use an undefined func desc sym.

19 years ago * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
Kevin Buettner [Thu, 3 Feb 2005 16:11:38 +0000 (16:11 +0000)]
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.

19 years ago * elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
Alan Modra [Thu, 3 Feb 2005 14:48:53 +0000 (14:48 +0000)]
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.

19 years agobfd/
Alan Modra [Thu, 3 Feb 2005 14:12:54 +0000 (14:12 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Do "provide" symbol
lookup here.  Set to new before calling bfd_link_repair_undef_list.
(elf_smash_syms): Check that u.undef.weak isn't the not_needed bfd.
ld/
emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
look up symbol for etree_provide here.

19 years ago * linker.c (_bfd_link_hash_newfunc): Set all local fields.
Alan Modra [Thu, 3 Feb 2005 13:54:30 +0000 (13:54 +0000)]
* linker.c (_bfd_link_hash_newfunc): Set all local fields.

19 years ago * gdb.ada/gnat_ada.gpr: New file.
Joel Brobecker [Thu, 3 Feb 2005 03:58:53 +0000 (03:58 +0000)]
    * gdb.ada/gnat_ada.gpr: New file.
        * gdb.ada/gnat_ada.gin: Delete, no longer used.
        * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
        * configure.ac: No longer generate gnat_ada.gpr.
        * configure: Regenerate.
        * gdb.ada/Makefile.in: Minor adaptations due to new project file.
        * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
        * gdb.ada/null_record/bar.ads: Likewise.
        * gdb.ada/null_record/bar.adb: Likewise.
        * gdb.ada/fixed_points/fixed_points.adb: Likewise.
        * gdb.ada/null_record.exp (testdir): New variable.
        (testfile): executable is now in testdir subdirectory.
        (srcfile): Use full path to the main compilation unit.
        * gdb.ada/fixed_points.exp: Same changes as above.

19 years agoinclude/
Alan Modra [Thu, 3 Feb 2005 03:30:49 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Feb 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 2 Feb 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-02 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 2 Feb 2005 22:34:36 +0000 (22:34 +0000)]
2005-02-02  Andrew Cagney  <cagney@gnu.org>

* value.h (value_lazy): Declare.
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.