gdbadmin
37304d0c62
*** empty log message ***
2004-09-13 00:00:02 +00:00
Andrew Cagney
2bfb72ee06
2004-09-12 Andrew Cagney <cagney@gnu.org>
...
* valprint.c (print_longest): Use fputs_filtered. Make "val"
const.
* Makefile.in (valprint.o): Delete explict rule.
2004-09-12 16:13:04 +00:00
Andrew Cagney
4f17c3c149
Index: ChangeLog
...
2004-09-12 Andrew Cagney <cagney@gnu.org>
* config/m68k/nbsdelf.mh: Add missing trailing newline. Problem
reported by Dave Anderson.
2004-09-12 15:29:36 +00:00
Andrew Cagney
f810308bf8
2004-09-12 Andrew Cagney <cagney@gnu.org>
...
* target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK.
Index: doc/ChangeLog
2004-09-12 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete description of
FILES_INFO_HOOK.
2004-09-12 15:20:49 +00:00
Andrew Cagney
b7ffc4a8d7
2004-09-12 Andrew Cagney <cagney@gnu.org>
...
* inferior.h (STORE_STRUCT_RETURN): Delete macro.
2004-09-12 15:05:05 +00:00
Andrew Cagney
28b41c52e2
Index: ChangeLog
...
2004-09-12 Salvador E. Tropea <set@users.sf.net>
Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Include the PSEUDO_REGS in
the register number computation.
2004-09-12 15:00:42 +00:00
Andrew Cagney
5bf970f936
2004-09-12 Andrew Cagney <cagney@gnu.org>
...
* ppcnbsd-nat.c: Include "inf-ptrace.h".
(ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers.
(ppcnbsd_store_inferior_registers): Rename store_inferior_registers.
(_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace
target.
* config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with
inf-ptrace.o and inf-child.o.
* inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files.
* Makefile.in: Update dependencies.
2004-09-12 13:04:41 +00:00
gdbadmin
2573ef977b
*** empty log message ***
2004-09-12 00:00:03 +00:00
Paul N. Hilfinger
15a661f391
* gdbint.texinfo (User Interface): Change local_hex_string_custom
...
to hex_string_custom (not historically correct, but more
understandable, given the current code).
2004-09-11 20:53:16 +00:00
Andrew Cagney
0759e0bf9a
2004-09-11 Andrew Cagney <cagney@gnu.org>
...
* language.c (hex_string, hex_string_custom): Move from here ...
* utils.c (hex_string, hex_string_custom): ... to here, rewrite.
(CELLSIZE): Increase to 50.
* language.h (hex_string, hex_string_custom): Move from here ...
* defs.h: ... to here.
* Makefile.in: Update all dependencies.
2004-09-11 15:04:16 +00:00
Paul N. Hilfinger
bb599908a8
* language.c (local_hex_format_custom): Remove.
...
(local_hex_string): Rename to hex_string, use C format, and move to
utils.c
(local_hex_string_custom): Rename to hex_string_custom and change
interface. Now uses C format. Move to utils.c
(local_octal_format_custom): Remove.
(local_decimal_format_custom): Remove.
(unknown_language_defn): Remove language-specific number
formatting entries.
(auto_language_defn): Ditto.
(local_language_defn): Ditto.
* language.h (struct language_format_info): Delete declaration.
(struct language_defn): Remove language_format_info fields
la_binary_format, la_octal_format, la_decimal_format, la_hex_format.
(local_binary_format): Remove macro.
(local_binary_format_prefix): Remove macro.
(local_binary_format_specifier): Remove macro.
(local_binary_format_suffix): Remove macro.
(local_octal_format): Remove macro.
(local_octal_format_prefix): Remove macro.
(local_octal_format_specifier): Remove macro.
(local_octal_format_suffix): Remove macro.
(local_decimal_format): Remove macro.
(local_decimal_format_prefix): Remove macro.
(local_decimal_format_specifier): Remove macro.
(local_decimal_format_suffix): Remove macro.
(local_hex_format): Remove macro.
(local_hex_format_prefix): Remove macro.
(local_hex_format_specifier): Remove macro.
(local_hex_format_suffix): Remove macro.
(local_decimal_format_custom): Remove.
(local_octal_format_custom): Remove.
(local_hex_format_custom): Remove.
(local_hex_string): Rename to hex_string and move to defs.h.
(local_hex_string_custom): Rename to hex_string_custom, change
interface, and move to defs.h.
* utils.c: (int_string): New function.
(hex_string): New function (from language.c).
(hex_string_custom): New function (from language.c).
(octal2str): New function.
(decimal2str): Add width parameter.
(paddr_u): Use new decimal2str interface.
(paddr_d): Ditto.
* defs.h (hex_string): Declare.
(hex_string_custom): Declare.
(int_string): Declare.
* printcmd.c (print_scalar_formatted): Remove localized binary
formatting.
* valprint.c (print_longest): Use int_string.
(print_floating): Use C hex format.
(print_hex_chars): Ditto.
(print_binary_chars): Remove language-specific formatting.
(print_octal_chars): Use C octal format.
(print_decimal_chars): Delocalize format.
(print_decimal): Remove.
* ada-lang.c (ada_language_defn): Remove language-specific number
formatting entries.
* p-lang.c (pascal_language_defn): Ditto.
* c-lang.c (c_language_defn): Ditto.
(cplus_language_defn): Ditto.
(asm_language_defn): Ditto.
(minimal_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* memattr.c (mem_info_command): Use renamed hex_string_custom with
new interface.
* pa64solib.c (pa64_sharedlibrary_info_command): Ditto.
* ui-out.c (ui_out_field_core_addr): Ditto.
* breakpoint.c (breakpoint_adjustment_warning): Ditto.
* exec.c (print_section_info): Ditto.
* i387-tdep.c (print_i387_status_word): Ditto.
(print_i387_control_word): Ditto.
(i387_print_float_info): Ditto.
* maint.c (maint_print_section_info): Ditto.
* solib.c (info_sharedlibrary_command): Ditto.
* somsolib.c (som_sharedlibrary_info_command): Ditto.
* symtab.c (print_msymbol_info): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* solib-frv.c (lm_base): Ditto.
(frv_current_sos): Ditto.
(enable_break2): Ditto.
(enable_break): Ditto.
* dbxread.c (read_dbx_symtab): Use renamed hex_string.
(process_one_symbol): Ditto.
* infcmd.c (program_info): Ditto.
* mdebugread.c (parse_partial_symbols): Ditto.
* symfile.c (add_symbol_file_command): Ditto.
* cli/cli-cmds.c (edit_command): Ditto.
(list_command): Ditto.
* infcall.c (call_function_by_hand): Ditto.
* remote-vx.c (vx_run_files_info): Ditto.
(vx_wait): Ditto.
(vx_attach): Ditto.
(vx_detach): Ditto.
(vx_kill): Ditto.
* aix-thread.c (pdc_symbol_addrs): Ditto.
(pdc_read_regs): Ditto.
(pdc_write_regs): Ditto.
(pdc_read_data): Ditto.
(pdc_write_data): Ditto.
* d10v-tdep.c (display_trace): Ditto.
* rs6000-nat.c (find_toc_address): Ditto.
* aix-thread.c: Don't include language.h.
* buildsym.c: Ditto.
* dbxread.c: Ditto.
* mdebugread.c: Ditto.
* rs6000-nat.c: Ditto.
* buildsym.c (make_blockvector): Use renamed hex_string.
2004-09-11 10:24:53 +00:00
gdbadmin
32ace8b1c7
*** empty log message ***
2004-09-11 00:00:05 +00:00
Jason Molenda
33f2d56778
[gdb/ChangeLog]
...
2004-09-10 Jason Molenda (jmolenda@apple.com )
* cli/cli-script.c (read_next_line): Accept zero or more whitespace
chars after 'if' or 'while' commands in user-defined commands.
[gdb/testsuite/ChangeLog]
2004-09-10 Jason Molenda (jmolenda@apple.com )
* gdb.base/define.exp: Two new tests to verify zero space chars
after 'if' and 'while' commands in a user-defined command is correctly
parsed.
Approved here:
http://sources.redhat.com/ml/gdb-patches/2004-09/msg00160.html
http://sources.redhat.com/ml/gdb-patches/2004-09/msg00157.html
2004-09-10 23:12:12 +00:00
Michael Chastain
2db8e78e67
2004-09-09 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp (gdb_file_cmd): Revert the return value to
previous simple convention. Use a global variable to store
information about what was found.
(gdb_run_cmd): Adapt to reverted return value.
* gdb.base/remote.exp: Adapt to reverted return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
2004-09-10 01:04:59 +00:00
gdbadmin
bcbc107f9c
*** empty log message ***
2004-09-10 00:00:04 +00:00
gdbadmin
c2f8307f20
*** empty log message ***
2004-09-09 00:00:03 +00:00
Andrew Cagney
e05b62ac69
2004-09-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
delivery test with duplicate at end of file.
2004-09-08 22:00:47 +00:00
Jim Blandy
7b90c3f96e
Fix bug reported and analyzed by Olivier Crete:
...
* symfile.c (copy_section_addr_info): New function.
(symbol_file_add_with_addrs_or_offsets): Use it to save the
original set of address arguments, instead of handwritten code
that uses one length to allocate and a different length to
initialize. Use make_cleanup_free_section_addr_info.
* symfile.h (copy_section_addr_info): New declaration.
* utils.c: #include "symfile.h".
(do_free_section_addr_info, make_cleanup_free_section_addr_info):
New functions.
* defs.h (make_cleanup_free_section_addr_info): New declaration.
* Makefile.in (utils.o): Update dependencies.
2004-09-08 21:58:19 +00:00
Andrew Cagney
b26a6851b5
2004-09-08 Andrew Cagney <cagney@gnu.org>
...
* thread-db.c (keep_thread_db): Delete.
(thread_db_new_objfile, thread_db_create_inferior)
(thread_db_mourn_inferior): Simplify assuming !keep_thread_db.
2004-09-08 19:44:22 +00:00
Mark Kettenis
f6792ef4af
* i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM)
...
(FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM)
(FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Remove macros.
(i386_frameless_signal_p): Remove prototype.
* i386-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
(GETFPXREGS_SUPPLIES): Define using I386_ST0_REGNUM and
I386_SSE_NUM_REGS.
* i386-nto-tdep.c (i386nto_supply_gregset): Use I386_NUM_GREGS
instead of FP0_REGNUM.
(i386nto_regset_id): Use I386_NUM_GREGS and I386_NUM_FREGS instead
of FP0_REGNUM and FPC_REGNUM.
2004-09-08 14:46:09 +00:00
Mark Kettenis
eeefdaa78f
* solib-sunos.c (sunos_relocate_main_executable): Remove function.
...
(sunos_solib_create_inferior_hook): Don't call
sunos_relocate_main_executable.
2004-09-08 14:31:15 +00:00
Mark Kettenis
be24b0617d
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set
...
solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.
* sparcobsd-tdep.c: Don't include "nbsd-tdep.h".
(sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
2004-09-08 14:24:08 +00:00
Jim Blandy
7c679d16f3
* frame.h (frame_register): Doc fix.
2004-09-08 04:56:20 +00:00
gdbadmin
4edfba7763
*** empty log message ***
2004-09-08 00:00:35 +00:00
Andrew Cagney
1f04aa6266
2004-09-07 Andrew Cagney <cagney@gnu.org>
...
* vx-share/wait.h: Delete #ifdef USG.
* utils.c (request_quit): Ditto.
* tui/tui.c (tui_reset): Ditto.
* remote.c: Ditto.
* remote-sds.c: Ditto.
* remote-rdi.c: Ditto.
* mdebugread.c: Ditto.
* m68klinux-nat.c: Ditto.
* infttrace.c: Ditto.
* infptrace.c: Ditto.
* i386v-nat.c: Ditto.
* exec.c: Ditto.
* dbxread.c: Ditto.
* core-aout.c: Ditto.
2004-09-07 21:55:12 +00:00
gdbadmin
96e515bf49
*** empty log message ***
2004-09-07 00:00:32 +00:00
Mark Kettenis
9cbe82da8b
* gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2004-09-06 11:09:46 +00:00
gdbadmin
ae09a48270
*** empty log message ***
2004-09-06 00:00:33 +00:00
Joel Brobecker
90edbfbc2c
* mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
...
heuristic_proc_desc.
(mips_insn32_frame_cache): Likewise.
2004-09-05 20:15:41 +00:00
Michael Chastain
564803d921
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/hppro.exp: Removed.
2004-09-05 04:46:24 +00:00
Michael Chastain
7c6807ceba
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/sparclet.exp: Removed.
2004-09-05 04:43:00 +00:00
Michael Chastain
bf7e26dda2
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
...
* config/udi.exp: Removed.
2004-09-05 04:35:23 +00:00
Joel Brobecker
01f4bf2bf0
* mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
...
left behind by error.
2004-09-05 00:19:30 +00:00
gdbadmin
76406da723
*** empty log message ***
2004-09-05 00:00:04 +00:00
Joel Brobecker
8511a04886
* config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
...
* config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
2004-09-04 23:46:48 +00:00
Joel Brobecker
649dfe9fab
* config/rs6000/xm-aix4.h: Remove this file.
...
* config/rs6000/aix4.mh (XM_FILE): Delete.
2004-09-04 23:41:01 +00:00
Joel Brobecker
6e50f88914
* config/rs6000/xm-rs6000.h: Remove this file.
...
* config/rs6000/rs6000.mh (XM_FILE): Remove.
2004-09-04 23:38:37 +00:00
Andrew Cagney
fb60388340
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY)
(_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and
only use.
2004-09-04 00:16:56 +00:00
gdbadmin
8361f4f1f4
*** empty log message ***
2004-09-04 00:00:34 +00:00
Andrew Cagney
c9343fd1d0
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (temp_saved_regs): Delete.
(set_reg_offset): Replace saved_regs parameter with this_cache.
(heuristic_proc_desc, mips16_heuristic_proc_desc)
(mips32_heuristic_proc_desc): Add this_cache parameter.
(mips_insn32_frame_cache, mips_insn16_frame_cache)
(after_prologue): Pass a NULL this_cache.
2004-09-03 23:47:23 +00:00
Andrew Cagney
9733cfe12b
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (mips_mdebug_frame_cache): Delete code handling
non-kernel trap prologues.
2004-09-03 23:00:18 +00:00
Andrew Cagney
0d5febcc7c
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (find_proc_desc): Delete function.
(mips_mdebug_frame_cache): Inline call to find_proc_desc,
simplify.
(mips_insn16_frame_cache): Replace find_proc_desc with code from
mips_insn32_frame_cache.
2004-09-03 22:41:27 +00:00
Andrew Cagney
283be8734b
* mips-tdep.c (find_proc_desc): Inline call to find_proc_desc.
...
Simplify as NEXT_FRAME is NULL.
(find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
2004-09-03 22:31:23 +00:00
Andrew Cagney
177f84a36d
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (after_prologue): Replace proc_desc parameter with
local variable.
(mips_skip_prologue): Update.
2004-09-03 22:18:17 +00:00
Andrew Cagney
465f752091
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete
"cur_frame" parameter.
(after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache):
2004-09-03 22:00:44 +00:00
Andrew Cagney
e38b865864
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* config/vax/nm-obsd.h: Delete file.
* config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/vax/nm-nbsd.h: Delete file.
* config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/sh/nm-nbsd.h: Delete file.
* config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/rs6000/nm-rs6000ly.h: Delete file.
* config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h.
* config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
* config/powerpc/nm-obsd.h: Delete file.
* config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/powerpc/nm-nbsd.h: Delete file.
* config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/pa/nm-obsd.h: Delete file.
* config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/mips/nm-nbsd.h: Delete file.
* config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/m88k/nm-obsd.h: Delete file.
* config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
* config/m68k/nm-nbsd.h: Delete file.
* config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nm-nbsd.h: Delete file.
* config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
* config/i386/nm-i386lynx.h: Delete file.
* config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
* config/arm/nm-nbsd.h: Delete file.
* config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h.
* config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-09-03 19:08:23 +00:00
Andrew Cagney
be1ed68037
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* config/i386/tm-fbsd.h: Delete file.
* config/i386/fbsd64.mt (TM_FILE): Set to solib.h.
* config/i386/fbsd.mt (TM_FILE): Set to solib.h.
2004-09-03 18:01:51 +00:00
Andrew Cagney
4b392b26e4
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* config/rs6000/tm-rs6000-aix4.h: Delete file.
* config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
* config/rs6000/aix4.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/powerpc/tm-ppc-aix.h: Delete file.
* config/powerpc/aix.mt (TM_FILE): Set to
config/rs6000/tm-rs6000.h.
* config/m68k/tm-linux.h: Delete file.
* config/m68k/linux.mt (TM_FILE): Set to solib.h
* config/i386/tm-linux64.h: Delete file.
* config/i386/linux64.mt (TM_FILE): Set to solib.h.
* config/djgpp/fnchange.lst: Do not rename tm-linux.h.
2004-09-03 17:29:58 +00:00
Andrew Cagney
f3219c75e5
Index: ChangeLog
...
2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
* config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
* config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
* config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
* config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
* sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
* sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
Index: doc/ChangeLog
2004-09-03 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
2004-09-03 17:13:48 +00:00
Andrew Cagney
b8c4aecef5
2004-09-03 Andrew Cagney <cagney@gnu.org>
...
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
gdb_host_cpu.
2004-09-03 16:59:30 +00:00