Daniel Jacobowitz
cf309262d9
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.
2005-02-10 18:15:44 +00:00
Andrew Cagney
335cca0d6e
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.
2005-02-10 17:32:53 +00:00
Andrew Cagney
899506a887
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.
2005-02-10 15:24:37 +00:00
Paul Brook
e37c699c87
2005-02-10 Paul Brook <paul@codesourcery.com>
...
* elf32-arm.c (elf32_arm_final_link_relocate): Handle R_ARM_THM_PC9.
2005-02-10 14:14:25 +00:00
Paul Brook
6fa3860b3b
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
2005-02-10 14:09:43 +00:00
Julian Brown
620b81c130
* 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].
2005-02-10 12:39:17 +00:00
Jakub Jelinek
d457dcf698
* 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.
2005-02-10 09:15:08 +00:00
Mark Mitchell
0dffe982d8
* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
...
maintainers.
2005-02-10 08:01:41 +00:00
Mark Mitchell
4e5db43bfa
* 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.
2005-02-10 05:49:21 +00:00
Maciej W. Rozycki
7f05722e09
* elf64-mips.c (mips16_gprel_reloc): Update a comment.
...
* elfn32-mips.c (mips16_gprel_reloc): Keep R_MIPS16_GPREL
relocations against external symbols unchanged.
2005-02-10 03:07:46 +00:00
Ben Elliston
4297f9f1cc
* emultempl/beos.em: Remove #if 0 and #if 1 blocks.
2005-02-10 01:03:49 +00:00
gdbadmin
e6c3e76b68
*** empty log message ***
2005-02-10 00:00:35 +00:00
Andrew Cagney
7376b4c200
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.
2005-02-09 23:15:01 +00:00
Alan Modra
96f6015419
daily update
2005-02-09 23:00:06 +00:00
Jim Blandy
9ab46d5398
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.
2005-02-09 22:04:04 +00:00
Andrew Cagney
11dced6119
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.
2005-02-09 21:56:12 +00:00
Joel Brobecker
3be49e7a08
* gdb.base/start.c: New file.
...
* gdb.base/start.exp: New testcase.
2005-02-09 19:58:23 +00:00
Joel Brobecker
e292e67d52
* gdb.ada/start/dummy.adb: New file.
...
* gdb.ada/start.exp: New testcase.
2005-02-09 19:38:01 +00:00
Theodore A. Roth
68c71a2e92
* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.
2005-02-09 19:06:08 +00:00
Andrew Cagney
b6e1c0277f
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.
2005-02-09 16:51:43 +00:00
Corinna Vinschen
dbdfa66c30
* 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.
2005-02-09 16:45:39 +00:00
Corinna Vinschen
07318b29db
* symmisc.c: Include gdb_stat.h.
...
(maintenance_print_msymbols): Use inode numbers to compare files.
2005-02-09 16:45:17 +00:00
Andrew Cagney
59c58d0813
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.
2005-02-09 15:58:51 +00:00
Andrew Cagney
d79416713d
2005-02-09 Andreas Schwab <schwab@suse.de>
...
Committed by Andrew Cagney <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.
2005-02-09 14:54:24 +00:00
Jan Beulich
9ae09ff9cf
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.
2005-02-09 08:05:43 +00:00
Andrew Cagney
d3cbe7ef42
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.
2005-02-09 00:04:29 +00:00
gdbadmin
3c6e816922
*** empty log message ***
2005-02-09 00:00:34 +00:00
Andrew Cagney
6941d02a18
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.
2005-02-08 23:44:06 +00:00
Alan Modra
c36e61546a
daily update
2005-02-08 23:00:06 +00:00
Andrew Cagney
9c73618c63
2005-02-08 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section. Update GDB's URL.
2005-02-08 22:37:35 +00:00
Andrew Cagney
179f02be24
2005-02-08 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
no longer needed.
2005-02-08 22:31:53 +00:00
Andrew Cagney
8f13581218
2005-02-08 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
PT_FPSCR breakage.
2005-02-08 21:00:16 +00:00
Richard Sandiford
1c7c5e5b09
* configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
...
to include o32 and n64 emulations.
(mips64*-*-linux-gnu*): Likewise.
2005-02-08 19:54:27 +00:00
Paul Brook
ccf5f61012
2005-02-08 Paul Brook <paul@codesourcery.com>
...
* elflink.c (elf_link_input_bfd): Ignore symbols from null input
sections.
2005-02-08 13:33:56 +00:00
Andrew Cagney
91294c8386
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.
2005-02-08 05:41:10 +00:00
Andrew Cagney
9bbda50381
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.
2005-02-08 04:57:03 +00:00
Jim Blandy
0a40490e6a
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.
2005-02-08 04:52:24 +00:00
Andrew Cagney
5086187cf9
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.
2005-02-08 04:15:39 +00:00
Hans-Peter Nilsson
300475fe9d
* ldmain.c (warning_callback, warning_find_reloc): Prepend
...
"warning: " to warning messages.
2005-02-08 03:51:32 +00:00
Hans-Peter Nilsson
370a0e1bf4
* elflink.c (elf_link_add_object_symbols): Don't add "warning: "
...
prefix here.
2005-02-08 03:50:08 +00:00
Andrew Cagney
f5cf64a727
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.
2005-02-08 02:29:18 +00:00
Andrew Cagney
17cf0ecde3
2005-02-07 Andrew Cagney <cagney@gnu.org>
...
* value.h (value_next): Declare.
* value.c (value_next): Define.
* breakpoint.c: Update.
2005-02-08 01:59:38 +00:00
Andrew Cagney
88e3b34b7c
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.
2005-02-08 00:25:31 +00:00
gdbadmin
8082c5a8f1
*** empty log message ***
2005-02-08 00:00:32 +00:00
Andrew Cagney
0462458390
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.
2005-02-07 23:51:03 +00:00
Alan Modra
55bc2f369c
daily update
2005-02-07 23:00:04 +00:00
Andrew Cagney
7d71e29cb3
Fix typo _hack_hack -> _hack.
2005-02-07 21:49:36 +00:00
Andrew Cagney
13bb5560e2
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.
2005-02-07 21:42:36 +00:00
Andrew Cagney
b44d461b0e
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.
2005-02-07 20:17:28 +00:00
Nathan Sidwell
4ee4d24937
* as.h (seg_not_empty_p): Return int, not bfd_boolean.
...
* subsegs.c (seg_not_empty_p): Likewise.
2005-02-07 17:53:26 +00:00