aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-02-11*** empty log message ***gdbadmin1-1/+1
2005-02-10 * MAINTAINERS: Update my e-mail address.Ian Lance Taylor2-1/+5
2005-02-10 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:Daniel Jacobowitz6-4/+89
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-102005-02-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney22-90/+158
* 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-102005-02-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-11/+30
* 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*** empty log message ***gdbadmin1-1/+1
2005-02-092005-02-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-15/+14
* 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-092005-02-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney9-91/+36
* 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 * gdb.base/start.c: New file.Joel Brobecker3-0/+90
* gdb.base/start.exp: New testcase.
2005-02-09 * gdb.ada/start/dummy.adb: New file.Joel Brobecker3-0/+67
* gdb.ada/start.exp: New testcase.
2005-02-09* gdb.texinfo (General Query Packets): Fix texinfo compile warning and error.Theodore A. Roth2-2/+7
2005-02-092005-02-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-44/+85
* 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 * maint.exp: Raise timeout to give Cygwin targeted GDBs more timeCorinna Vinschen2-7/+56
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 * symmisc.c: Include gdb_stat.h.Corinna Vinschen2-3/+15
(maintenance_print_msymbols): Use inode numbers to compare files.
2005-02-092005-02-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-9/+20
* 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-092005-02-09 Andreas Schwab <schwab@suse.de>Andrew Cagney2-0/+51
Committed by Andrew Cagney <cagney@gnu.org> * gdb.base/remotetimeout.exp: New file.
2005-02-092005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-8/+20
* 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*** empty log message ***gdbadmin1-1/+1
2005-02-082005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-39/+110
* 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-082005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-3/+3
* ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name, no longer needed.
2005-02-082005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+16
* ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit PT_FPSCR breakage.
2005-02-082005-02-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-139/+245
* value.c (struct value): Move to here ... * value.h (struct value): ... from here. Copy comments to corresponding function declarations, re-order.
2005-02-082005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-8/+24
* 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-082005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-6/+14
* 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-082005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-11/+22
* 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-082005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-5/+20
* value.h (value_next): Declare. * value.c (value_next): Define. * breakpoint.c: Update.
2005-02-082005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-13/+29
* 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*** empty log message ***gdbadmin1-1/+1
2005-02-072005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney17-31/+57
* 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-07Fix typo _hack_hack -> _hack.Andrew Cagney1-2/+2
2005-02-072005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-5/+55
* 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-072005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-9/+28
* 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-07Oops, fix previous, ChangeLog. Missing set_value_embedded_offset.Andrew Cagney1-2/+3
2005-02-072005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-30/+50
* 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-072005-02-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-18/+34
* 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*** empty log message ***gdbadmin1-1/+1
2005-02-072005-02-06 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-9/+28
* 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* gdb.base/interp.exp: Remove trailing n in gdb_test commands.Mark Kettenis2-2/+6
2005-02-072005-02-06 Andrew Cagney <cagney@gnu.org>Andrew Cagney43-229/+273
* 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-062005-02-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+19
* 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-03 * gdb.texinfo (General Query Packets): Document qGetTLSAddr packet.Kevin Buettner2-0/+37
2005-02-03 * gdb.ada/gnat_ada.gpr: New file.Joel Brobecker12-17/+41
* 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*** empty log message ***gdbadmin1-1/+1
2005-02-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney14-31/+42
* 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-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-24/+38
* 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-02New test for interpreter-exec command.Nick Roberts1-0/+28
2005-02-02*** empty log message ***Nick Roberts1-0/+4
2005-02-022005-02-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-40/+56
* 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-022005-02-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-77/+102
* 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*** empty log message ***gdbadmin1-1/+1