summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Snap const char * mess.cvs/cagney_writestrings-20030508-branchcagney_writestrings-20030508-branchAndrew Cagney2003-06-03428-68238/+1334
|
* *** empty log message ***gdbadmin2003-05-091-1/+1
|
* 2003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-082-6/+13
| | | | | | | * generic/gdbtk-register.c (get_register): Replace MAX_REGISTER_VIRTUAL_SIZE and MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. (register_changed_p, setup_architecture_data): Ditto.
* 2003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-0820-65/+58
| | | | | | | | | | | | | | | | * regcache.h (max_register_size): Delete declaration. * regcache.c (max_register_size): Delete function. (struct regcache_descr): Delete field "max_register_size". (init_regcache_descr, init_legacy_regcache_descr): Assert that all registers fit in MAX_REGISTER_SIZE. (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. * dve3900-rom.c, hppa-tdep.c: Ditto.
* 2003-05-08 David Carlton <carlton@math.stanford.edu>David Carlton2003-05-082-1/+5
| | | | * valops.c (push_word): Fix typo.
* * gdb.texinfo (Dump/Restore Files): Update documentation forJim Blandy2003-05-082-53/+51
| | | | | | 'dump', 'append', and 'restore': note that format argument is optional; simplify presentation of the command variants; and be more precise about the formats.
* 2003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-0832-118/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. (legacy_max_register_raw_size): Delete declaration. * regcache.c (legacy_max_register_raw_size): Delete function. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update. * remote-rdp.c, remote-array.c, regcache.c: Update. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update. * findvar.c, dwarf2cfi.c: Update. Index: tui/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * tuiRegs.c: Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. Index: mi/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE.
* 2003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-084-34/+41
| | | | | | | | | | | * mips-tdep.c (read_signed_register): New function, moved to here from "regcache.c". (read_signed_register_pid): Ditto. * regcache.c (read_signed_register_pid): Delete function, moved to "mips-tdep.c". (read_signed_register): Ditto. * regcache.h (read_signed_register): Delete declaration. (read_signed_register_pid): Delete declaration.
* 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-05-082-5/+15
| | | | | | * gdb.threads/schedlock.exp: Remove assumption that all threads will run in a particular small time slice. Also ensure we break in one of the child threads rather than the main thread.
* 2003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-0811-64/+53
| | | | | | | | | | | | * gdbarch.sh: Add comments on MAX_REGISTER_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. (legacy_max_register_virtual_size): Delete declaration. * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. * d10v-tdep.c (d10v_print_registers_info): Ditto. * tracepoint.c (memrange_sortmerge): Ditto. * sparc-tdep.c (sparc_print_registers): Ditto. * regcache.c (legacy_max_register_virtual_size): Delete function.
* * fork-child.c (escape_bang_in_quoted_argument): New function.Joel Brobecker2003-05-082-1/+31
| | | | | (fork_inferior): Escape '!' characters in quoted arguments only when needed.
* * dwarf2read.c (set_cu_language): Set the language to "minimal" ifJoel Brobecker2003-05-082-1/+6
| | | | the language of the CU is not currently supported by GDB.
* * defs.h (language): Add language_minimal enum value.Joel Brobecker2003-05-083-1/+46
| | | | | | * c-lang.c (minimal_language_defn): New language definition. (_initialize_c_language): Add the new minimal language to the list of languages known to GDB.
* * frame.c (get_frame_type): Don't attempt to lazily initializeKevin Buettner2003-05-082-1/+11
| | | | frame's unwinder for legacy frames.
* 2003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-083-2/+12
| | | | | | * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" and "regcache" parameters. * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
* *** empty log message ***gdbadmin2003-05-081-1/+1
|
* 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-05-072-4/+10
| | | | | | * dwarf2read.c (dwarf_decode_lines): Only use output of check_cu_functions() when calling record_line(). Do not update the current address.
* 2003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-072-4/+5
| | | | | * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR code.
* Add support for assembly source testing on the s390x.Jim Blandy2003-05-073-0/+76
| | | | | | * gdb.asm/asm-source.exp: Add a case for the s390x-*-* architecture. * gdb.asm/s390x.inc: New file.
* * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not aJim Blandy2003-05-072-52/+60
| | | | succession of 'if' statements.
* gdb/ChangeLog:Jim Blandy2003-05-079-47/+38
| | | | | | | | | | | | | | | | | | | | | Rename commands 'maint list symtabs' and 'maint list psymtabs' to 'maint info symtabs' and 'maint info psymtabs'. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): Declarations updated. * maint.c (maintenance_list_command): Delete. (_initialize_maint_cmds): Update calls to add_cmd. * gdbcmd.h (maintenancelistlist): Delete declaration. * cli/cli-cmds.c (maintenancelistlist): Delete. (init_cmd_lists): Don't initialize it. * cli/cli-cmds.h (maintenancelistlist): Delete declaration. gdb/doc/ChangeLog: * gdb.texinfo (Symbols): Update documentation: 'maint list symtabs' and 'maint list psymtabs' have been renamed 'maint info symtabs' and 'maint info psymtabs'.
* Index: gdb/ChangeLogAndrew Cagney2003-05-077-63/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-07 Andrew Cagney <cagney@redhat.com> * d10v-tdep.c (remote_d10v_translate_xfer_address): Add "regcache". (d10v_print_registers_info): Update. (d10v_dmap_register, d10v_imap_register): Delete functions. (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" and "imap_register". (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". * arch-utils.c (generic_remote_translate_xfer_address): Add "regcache" and "gdbarch" parameters. * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" parameter. Change class to multi-arch. * gdbarch.h, gdbarch.c: Re-generate. * remote.c (remote_xfer_memory): Use gdbarch_remote_translate_xfer_address. Index: include/gdb/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * sim-d10v.h (sim_d10v_translate_addr): Add regcache parameter. (sim_d10v_translate_imap_addr): Add regcache parameter. (sim_d10v_translate_dmap_addr): Ditto. Index: sim/d10v/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * interp.c (sim_d10v_translate_addr): Add "regcache" parameter. (sim_d10v_translate_imap_addr): Ditto. (sim_d10v_translate_dmap_addr): Ditto. (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr. (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr. (dmap_register, imap_register): Add "regcache" parameter. (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr. (sim_fetch_register): Pass NULL regcache to imap_register and dmap_register.
* 2003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-05-072-13/+36
| | | | | | * infrun.c (prev_pc): Move declaration ahead of proceed(). (proceed): Refresh prev_pc value before resuming. (stop_stepping): Remove code to refresh prev_pc.
* *** empty log message ***gdbadmin2003-05-071-1/+1
|
* Removed stray commentKris Warkentin2003-05-062-7/+4
|
* Fixed some ARI hitsKris Warkentin2003-05-064-12/+26
|
* Missed ChangeLog commit earlierKris Warkentin2003-05-061-0/+10
|
* *** empty log message ***gdbadmin2003-05-061-1/+1
|
* Index: testsuite/ChangeLogAndrew Cagney2003-05-059-2/+103
| | | | | | | | | | | | | | | | | | | | | | 2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.base/maint.exp: Add tests for "maint print dummy-frames". Index: doc/ChangeLog 2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Maintenance Commands): Document "maint print dummy-frames". 2003-05-05 Andrew Cagney <cagney@redhat.com> * dummy-frame.c: Include "command.h" and "gdbcmd.h". (fprint_dummy_frames): New function. (maintenance_print_dummy_frames): New function. (_initialize_dummy_frame): Add command "maint print dummy-frames". * frame.c (fprint_frame_id): Make global. * frame.h (fprint_frame_id): Declare. * Makefile.in (dummy-frame.o): Update dependencies.
* 2003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-0552-574/+628
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename SIZEOF_CALL_DUMMY_WORDS. (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename CALL_DUMMY_BREAKPOINT_OFFSET. (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename CALL_DUMMY_START_OFFSET. (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. * gdbarch.h, gdbarch.c: Re-generate. * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. * config/sparc/tm-sparc.h: Update. Index: doc/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Make CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and CALL_DUMMY_BREAKPOINT_OFFSET deprecated. Index: mi/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Replace REGISTER_SIZE with DEPRECATED_REGISTER_SIZE. Index: testsuite/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
* Added i386 QNX Neutrino support.Kris Warkentin2003-05-057-0/+898
|
* 2003-05-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-054-22/+57
| | | | | | | | | | | | | | * gdbthread.h (save_infrun_state): Drop prev_func_name parameter. (load_infrun_state): Ditto. (struct thread_info): Drop "prev_func_name" field. * thread.c (load_infrun_state): Update. (save_infrun_state): Update. * infrun.c (prev_func_name): Delete variable. (init_wait_for_inferior): Do not clear prev_func_name. (stop_stepping, keep_going, context_switch): Do not swap prev_func_name. (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp instead of PC_IN_SIGTRAMP.
* *** empty log message ***gdbadmin2003-05-051-1/+1
|
* 2003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-046-12/+73
| | | | | | | | | * sentinel-frame.c (sentinel_frame_prev_register): Replace REGISTER_BYTE with register_offset_hack. * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check that REGISTER_BYTE is consistent with the regcache. * gdbarch.sh (REGISTER_BYTE): Add a predicate. * gdbarch.h, gdbarch.c: Regenerate.
* 2003-05-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-042-1/+5
| | | | * gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}.
* * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.kettenis_i386newframe-20030504-mergepointMark Kettenis2003-05-042-10/+28
| | | | (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
* * i386-linux-nat.c (supply_gregset): Remove unnecessary casts.Mark Kettenis2003-05-042-3/+6
|
* From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker2003-05-042-0/+32
| | | | | * gdb.texinfo (section GDB/MI Symbol Query): Add documentation for new MI command.
* From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker2003-05-042-0/+67
| | | | | * mi1-symbol.exp (-symbol-list-lines): New test file to validate all symbol-related commands
* From Thierry Schneider <tpschneider1@yahoo.com>Joel Brobecker2003-05-042-2/+12
| | | | | | * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. (mi-cmd-symbol.o): Add rule.
* From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker2003-05-044-0/+77
| | | | | | | * mi-cmds.h (mi_cmd_symbol_list_lines): Add declaration. * mi-cmds.c (mi_cmds): Add entry for new MI command. * mi-cmd-symbol.c (mi_cmd_symbol_list_lines): New source file for all symbol-related commands.
* *** empty log message ***gdbadmin2003-05-041-1/+1
|
* 2003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-039-79/+322
| | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add comments noteing that it replaces the old FIX_CALL_DUMMY code. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_push_dummy_code): New function. (d10v_gdbarch_init): Set push_dummy_code. * infcall.c (legacy_push_dummy_code): New function. (generic_push_dummy_code): New function. (push_dummy_code): New function. (call_function_by_hand): Call push_dummy_code. Pass bp_addr, instead of dummy_addr, to push_dummy_call. Move call to generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION switch. * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document push_dummy_code. Add cross references.
* 2003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-0310-69/+78
| | | | | | | | | | | | | | | | | | | | | | | | * disasm.h (print_insn): Declare. * disasm.c (init_gdb_disassemble_info): New function. (gdb_disassembly): Call init_gdb_disassemble_info. (gdb_print_insn): New function. * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". * mcore-tdep.c: Include "disasm.h" (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. * d10v-tdep.c: Include "disasm.h". (display_trace): Call gdb_print_insn, instead of print_insn. (print_insn): Delete function. * printcmd.c: Include "disasm.h". (print_insn): Delete function. (print_formatted): Call gdb_print_insn, instead of print_insn. * Makefile.in (printcmd.o): Update dependencies. (mcore-tdep.o, d10v-tdep.o): Ditto. 2003-05-03 Andrew Cagney <cagney@redhat.com> * tuiDisassem.c (tui_disassemble): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Do not initialize a disassemble_info object.
* 2003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-033-14/+33
| | | | | | | * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef PC_REGNUM, re-indent. * stack.c (frame_info): Use "pc" for the name of get_frame_pc when PC_REGNUM isn't set.
* *** empty log message ***gdbadmin2003-05-031-1/+1
|
* 2003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-025-34/+24
| | | | | | | | | | | | * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, register_virtual_size, pc_regnum, or register_bytes. (D10V_PC_REGNUM): Rename _PC_REGNUM. (d10v_register_type): Use D10V_PC_REGNUM. (d10v_print_registers_info, d10v_read_pc): Ditto. (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
* 2003-05-02 David Carlton <carlton@bactrian.org>David Carlton2003-05-022-1/+6
| | | | | * objfiles.c (allocate_objfile): For anonymous objfiles, allocate the name with mstrsave.
* gdb:Elena Zannoni2003-05-027-282/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-02 Elena Zannoni <ezannoni@redhat.com> * charset.c (GDB_DEFAULT_TARGET_CHARSET, GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. (host_charset_name, target_charset_name): New vars for use by set/show commands. (host_charset_enum, target_charset_enum): New enums for set/show commands. (set_charset_sfunc, set_host_charset_sfunc, set_target_charset_sfunc): New functions. (set_host_charset, set_target_charset): Make static. (list_charsets, set_host_charset_command, set_target_charset_command): Delete functions. (show_charset_command): Rewrite as.... (show_charset): Hook this up with the set/show command mechanism. (_initialize_charset): Change names of charsets to match the set/show enums. Use host_charset_name and target_charset_name. Use set/show mechanism for charset, host-charset, target-charset commands. Do not make 'show host-charset' and 'show target-charset' be aliases of 'show charset'. * charset.h (set_host_charset, set_target_charset): Don't export, they are not used outside the file. gdb/testsuite: 2003-05-01 Elena Zannoni <ezannoni@redhat.com> * gdb.base/charset.exp: Update based on new behavior of set/show charset commands. gdb/doc: 2003-05-02 Elena Zannoni <ezannoni@redhat.com> * gdb.texinfo (Character Sets): Update to reflect new behavior of set/show charsets commands.
* *** empty log message ***gdbadmin2003-05-021-1/+1
|