Andrew Cagney
0c92afe8cd
2003-05-08 Andrew Cagney <cagney@redhat.com>
...
* 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.
2003-05-08 18:46:49 +00:00
Joel Brobecker
6037b8306e
* fork-child.c (escape_bang_in_quoted_argument): New function.
...
(fork_inferior): Escape '!' characters in quoted arguments
only when needed.
2003-05-08 18:08:57 +00:00
Joel Brobecker
5d62c8b152
* dwarf2read.c (set_cu_language): Set the language to "minimal" if
...
the language of the CU is not currently supported by GDB.
2003-05-08 18:05:37 +00:00
Joel Brobecker
20a0e81d7a
* defs.h (language): Add language_minimal enum value.
...
* 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.
2003-05-08 17:35:21 +00:00
Kevin Buettner
710ee10a27
* frame.c (get_frame_type): Don't attempt to lazily initialize
...
frame's unwinder for legacy frames.
2003-05-08 15:34:12 +00:00
Andrew Cagney
1750fa042b
2003-05-07 Andrew Cagney <cagney@redhat.com>
...
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
and "regcache" parameters.
* avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
2003-05-08 03:48:03 +00:00
gdbadmin
9f11468faf
*** empty log message ***
2003-05-08 00:00:32 +00:00
Jeff Johnston
ddf9f25876
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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 22:57:30 +00:00
Andrew Cagney
87767c29b5
2003-05-07 Andrew Cagney <cagney@redhat.com>
...
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
code.
2003-05-07 22:13:33 +00:00
Jim Blandy
09bf6082f5
Add support for assembly source testing on the s390x.
...
* gdb.asm/asm-source.exp: Add a case for the s390x-*-*
architecture.
* gdb.asm/s390x.inc: New file.
2003-05-07 21:52:53 +00:00
Jim Blandy
be375bae05
* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
...
succession of 'if' statements.
2003-05-07 21:51:06 +00:00
Jim Blandy
5e7b2f395e
gdb/ChangeLog:
...
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'.
2003-05-07 21:42:48 +00:00
Andrew Cagney
f6684c3170
Index: gdb/ChangeLog
...
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 19:21:13 +00:00
Jeff Johnston
e4846b0899
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* infrun.c (prev_pc): Move declaration ahead of proceed().
(proceed): Refresh prev_pc value before resuming.
(stop_stepping): Remove code to refresh prev_pc.
2003-05-07 18:35:57 +00:00
gdbadmin
63bdcb3b78
*** empty log message ***
2003-05-07 00:00:02 +00:00
Kris Warkentin
6b71b8acbd
Removed stray comment
2003-05-06 17:13:40 +00:00
Kris Warkentin
47979a4b15
Fixed some ARI hits
2003-05-06 16:47:47 +00:00
Kris Warkentin
daea6f0bf5
Missed ChangeLog commit earlier
2003-05-06 12:35:03 +00:00
gdbadmin
b9e8e7f802
*** empty log message ***
2003-05-06 00:00:31 +00:00
Andrew Cagney
00905d52fe
Index: testsuite/ChangeLog
...
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-05 18:33:11 +00:00
Andrew Cagney
b1e29e332a
2003-05-03 Andrew Cagney <cagney@redhat.com>
...
* 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.
2003-05-05 17:56:57 +00:00
Kris Warkentin
1b883d3513
Added i386 QNX Neutrino support.
2003-05-05 13:57:21 +00:00
Andrew Cagney
0ce3d317be
2003-05-04 Andrew Cagney <cagney@redhat.com>
...
* 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.
2003-05-05 00:27:08 +00:00
gdbadmin
7ac151b7c8
*** empty log message ***
2003-05-05 00:00:31 +00:00
Andrew Cagney
46654a5bcc
2003-05-02 Andrew Cagney <cagney@redhat.com>
...
* 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 17:34:51 +00:00
Andrew Cagney
54ff590850
2003-05-04 Andrew Cagney <cagney@redhat.com>
...
* gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}.
2003-05-04 16:44:25 +00:00
Mark Kettenis
04c8243ffa
* i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
...
(FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
2003-05-04 10:27:47 +00:00
Mark Kettenis
14b08c1bf1
* i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
2003-05-04 10:18:10 +00:00
Joel Brobecker
32e7087da9
From Thierry Schneider <tpschneider1@yahoo.com>:
...
* gdb.texinfo (section GDB/MI Symbol Query): Add documentation
for new MI command.
2003-05-04 04:02:07 +00:00
Joel Brobecker
b81896b4c4
From Thierry Schneider <tpschneider1@yahoo.com>:
...
* mi1-symbol.exp (-symbol-list-lines): New test file to
validate all symbol-related commands
2003-05-04 03:57:39 +00:00
Joel Brobecker
c7a11e014b
From Thierry Schneider <tpschneider1@yahoo.com>
...
* 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.
2003-05-04 03:55:34 +00:00
Joel Brobecker
0d18235fb6
From Thierry Schneider <tpschneider1@yahoo.com>:
...
* 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.
2003-05-04 03:50:13 +00:00
gdbadmin
acefd3d3e8
*** empty log message ***
2003-05-04 00:00:02 +00:00
Andrew Cagney
7043d8dc5e
2003-05-03 Andrew Cagney <cagney@redhat.com>
...
* 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 19:39:23 +00:00
Andrew Cagney
92bf2b80f2
2003-05-03 Andrew Cagney <cagney@redhat.com>
...
* 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-03 19:13:04 +00:00
Andrew Cagney
82de1e5bfb
2003-05-02 Andrew Cagney <cagney@redhat.com>
...
* 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.
2003-05-03 00:26:34 +00:00
gdbadmin
75d2dc161a
*** empty log message ***
2003-05-03 00:00:32 +00:00
Andrew Cagney
27d94c4930
2003-05-02 Andrew Cagney <cagney@redhat.com>
...
* 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 23:56:12 +00:00
David Carlton
a9c0dc7f03
2003-05-02 David Carlton <carlton@bactrian.org>
...
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate
the name with mstrsave.
2003-05-02 17:00:57 +00:00
Elena Zannoni
e33d66ec21
gdb:
...
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.
2003-05-02 14:23:39 +00:00
gdbadmin
486ed21d76
*** empty log message ***
2003-05-02 00:00:32 +00:00
Andrew Cagney
2b6fd0d87d
2003-05-01 Andrew Cagney <cagney@redhat.com>
...
* disasm.c (gdb_disassemble_from_exec): Delete global variable.
(gdb_disassembly): Make "di" non static, always initialize and
cleanup. Always use dis_asm_read_memory.
(gdb_dis_asm_read_memory): Delete function.
2003-05-01 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
variable do not give memory errors.
2003-05-01 23:21:08 +00:00
Andrew Cagney
6ae2f58071
2003-05-01 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
(d10v_gdbarch_init): Set frame_align instead of stack_align.
2003-05-01 15:37:45 +00:00
Adam Fedor
130cacceca
* Makefile.in (ALL_SUBDIRS): Add gdb.objc
...
* configure.in (AC_OUTPUT): Add gdb.objc/Makefile
* gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
gdb.objc/basicclass.m: : New files
* lib/gdb.exp (gdb_compile_objc): New procedure.
2003-05-01 01:09:51 +00:00
gdbadmin
d9a085da29
*** empty log message ***
2003-05-01 00:00:31 +00:00
Andrew Cagney
810ecf9ffe
2003-04-30 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (deprecated_tm_print_insn_info): Rename
"tm_print_insn_info".
(TARGET_PRINT_INSN_INFO): Delete macro.
(dis_asm_read_memory): Delete function declaration.
(dis_asm_memory_error, dis_asm_print_address): Ditto.
(tm_print_insn_info): Delete variable definition.
(_initialize_gdbarch): Do not initialize "tm_print_insn_info".
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
"deprecated_tm_print_insn_info".
* mcore-tdep.c (mcore_dump_insn): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* sparc-tdep.c (_initialize_sparc_tdep): Ditto.
* v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
* ia64-tdep.c (_initialize_ia64_tdep): Ditto.
* printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
instead of TARGET_PRINT_INSN_INFO, add comment.
* s390-tdep.c (s390_get_frame_info): Instead of
"dis_asm_read_memory", use "deprecated_tm_print_insn_info".
(s390_check_function_end, s390_is_sigreturn): Ditto.
* corefile.c (dis_asm_read_memory): Move to "disasm.c".
(dis_asm_memory_error, dis_asm_print_address): Ditto.
* disasm.c: Include "gdbcore.h".
(_initialize_disasm): New function, initialize
"deprecated_tm_print_insn_info".
(deprecated_tm_print_insn_info): New variable.
(dis_asm_read_memory): Moved from "corefile.c", made static.
(dis_asm_print_address, dis_asm_memory_error): Ditto.
* Makefile.in (disasm.o): Update dependencies.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-30 22:01:38 +00:00
Andrew Cagney
070203902f
2003-04-30 Andrew Cagney <cagney@redhat.com>
...
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
2003-04-30 18:17:58 +00:00
Adam Fedor
a9fa03de24
* eval.c (evaluate_subexp_standard): Handle ObjC ops.
...
* infcall.c (find_function_addr): Make non-static.
* infcall.h (find_function_addr): Declare.
* Makefile.in (eval.o): Update dependencies.
2003-04-30 01:27:53 +00:00
gdbadmin
fad30f18c9
*** empty log message ***
2003-04-30 00:00:32 +00:00
Adam Fedor
1bae87b9e6
* symtab.c (symbol_find_demangled_name): Check for and demangle
...
ObjC symbols.
(symbol_init_demangled_name): Init for language_objc as well.
2003-04-29 02:34:24 +00:00