gdbadmin
83ba5adc4e
*** empty log message ***
2005-02-11 00:00:04 +00:00
Ian Lance Taylor
3517749cb8
* MAINTAINERS: Update my e-mail address.
2005-02-10 23:34:43 +00:00
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
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
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
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
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
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
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
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
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
Andrew Cagney
caadb61db9
Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.
2005-02-07 17:08:54 +00:00
Andrew Cagney
13c3b5f5bb
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.
2005-02-07 17:06:29 +00:00
Andrew Cagney
dfa52d88e7
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.
2005-02-07 15:04:43 +00:00
gdbadmin
7e990d8e52
*** empty log message ***
2005-02-07 07:00:05 +00:00
Andrew Cagney
feb13ab03f
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.
2005-02-07 04:50:28 +00:00
Mark Kettenis
74e5ef4498
* gdb.base/interp.exp: Remove trailing n in gdb_test commands.
2005-02-07 02:39:45 +00:00
Andrew Cagney
0fd88904d9
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.
2005-02-07 00:09:56 +00:00
Andrew Cagney
5b90c7b5eb
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.
2005-02-06 16:22:14 +00:00
Kevin Buettner
83761cbd36
* gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.
2005-02-03 16:11:38 +00:00
Joel Brobecker
464dd14d58
* 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.
2005-02-03 03:58:53 +00:00
gdbadmin
474867c124
*** empty log message ***
2005-02-03 00:00:36 +00:00
Andrew Cagney
d69fe07ead
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.
2005-02-02 22:34:36 +00:00
Andrew Cagney
46615f07c3
2005-02-02 Andrew Cagney <cagney@gnu.org>
...
* value.h (VALUE_CONTENTS_ALL): Delete.
(value_contents_all): Declare.
* value.c (value_contents_all): New function.
* hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
* m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
2005-02-02 21:36:17 +00:00
Nick Roberts
1b9afc0454
New test for interpreter-exec command.
2005-02-02 21:12:03 +00:00
Nick Roberts
30d756aee6
*** empty log message ***
2005-02-02 21:09:13 +00:00
Andrew Cagney
4754a64e16
2005-02-02 Andrew Cagney <cagney@gnu.org>
...
* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
2005-02-02 20:31:35 +00:00
Andrew Cagney
990a07abf6
2005-02-01 Andrew Cagney <cagney@gnu.org>
...
* value.c (value_contents_all_raw)
(value_contents_raw): New functions.
* value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
(value_contents_raw, value_contents_all_raw): Declare functions.
(VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
* std-regs.c, valarith.c, valops.c, eval.c: Update.
* tracepoint.c, findvar.c: Update.
2005-02-02 00:20:07 +00:00
gdbadmin
f08562818b
*** empty log message ***
2005-02-02 00:00:05 +00:00