aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-09-11*** empty log message ***gdbadmin1-1/+1
2004-09-10[gdb/ChangeLog]Jason Molenda4-4/+61
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-102004-09-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain6-67/+76
* 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*** empty log message ***gdbadmin1-1/+1
2004-09-09*** empty log message ***gdbadmin1-1/+1
2004-09-082004-09-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-115/+9
* gdb.base/signals.exp (signal_tests_1): Delete. Merge signal delivery test with duplicate at end of file.
2004-09-08Fix bug reported and analyzed by Olivier Crete:Jim Blandy6-8/+68
* 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-082004-09-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-35/+11
* 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* i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM)Mark Kettenis4-52/+18
(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* solib-sunos.c (sunos_relocate_main_executable): Remove function.Mark Kettenis2-109/+4
(sunos_solib_create_inferior_hook): Don't call sunos_relocate_main_executable.
2004-09-08* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): SetMark Kettenis4-4/+13
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* frame.h (frame_register): Doc fix.Jim Blandy2-1/+5
2004-09-08*** empty log message ***gdbadmin1-1/+1
2004-09-072004-09-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney15-68/+25
* 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*** empty log message ***gdbadmin1-1/+1
2004-09-06* gdb.base/unload.exp: Link with -dl on *-*-solaris*.Mark Kettenis2-0/+5
2004-09-06*** empty log message ***gdbadmin1-1/+1
2004-09-05 * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call toJoel Brobecker2-2/+8
heuristic_proc_desc. (mips_insn32_frame_cache): Likewise.
2004-09-052004-09-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-24/+4
* config/hppro.exp: Removed.
2004-09-052004-09-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-388/+4
* config/sparclet.exp: Removed.
2004-09-052004-09-05 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-110/+4
* config/udi.exp: Removed.
2004-09-05 * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that wasJoel Brobecker2-2/+5
left behind by error.
2004-09-05*** empty log message ***gdbadmin1-1/+1
2004-09-04 * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.Joel Brobecker3-5/+5
* config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
2004-09-04 * config/rs6000/xm-aix4.h: Remove this file.Joel Brobecker3-27/+5
* config/rs6000/aix4.mh (XM_FILE): Delete.
2004-09-04 * config/rs6000/xm-rs6000.h: Remove this file.Joel Brobecker3-89/+5
* config/rs6000/rs6000.mh (XM_FILE): Remove.
2004-09-042004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-14/+8
* 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*** empty log message ***gdbadmin1-1/+1
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-38/+53
* 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-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-46/+8
* mips-tdep.c (mips_mdebug_frame_cache): Delete code handling non-kernel trap prologues.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-34/+23
* 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 * mips-tdep.c (find_proc_desc): Inline call to find_proc_desc.Andrew Cagney2-38/+43
Simplify as NEXT_FRAME is NULL. (find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-7/+11
* mips-tdep.c (after_prologue): Replace proc_desc parameter with local variable. (mips_skip_prologue): Update.
2004-09-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-13/+18
* 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-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney34-379/+53
* 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-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-33/+6
* 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-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-112/+17
* 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-03Index: ChangeLogAndrew Cagney12-35/+14
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-032004-09-03 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-2/+7
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not gdb_host_cpu.
2004-09-03*** empty log message ***gdbadmin1-1/+1
2004-09-02 * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.Joel Brobecker2-54/+18
Minor reformatting. Some code factoring.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney29-322/+45
* config/vax/nbsd.mt (TM_FILE): Set to solib.h. * config/vax/tm-nbsd.h: Delete file. * config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h. * config/sparc/tm-vxworks.h: Delete file. * config/sparc/nbsd.mt (TM_FILE): Set to solib.h. * config/sparc/tm-nbsd.h: Delete file. * config/sparc/linux64.mt (TM_FILE): Set to solib.h. * config/sparc/linux.mt (TM_FILE): Set to solib.h. * config/sparc/tm-linux.h: Delete file. * config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h * config/s390/tm-linux.h: Delete file. * config/pa/obsd.mt (TM_FILE): Set to solib.h. * config/pa/tm-bsd.h: Delete file. * config/m68k/obsd.mt (TM_FILE): Set to solib.h. * config/m68k/tm-obsd.h: Delete file. * config/m68k/nbsd.mt (TM_FILE): Set to solib.h. * config/m68k/tm-nbsd.h: Delete file. * config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h. * config/i386/tm-vxworks.h: Delete file. * config/i386/obsd64.mt (TM_FILE): Set to solib.h. * config/i386/obsd.mt (TM_FILE): Set to solib.h. * config/i386/nbsd64.mt (TM_FILE): Set to solib.h. * config/i386/nbsd.mt (TM_FILE): Set to solib.h. * config/i386/tm-nbsd.h: Delete file. * config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h. * config/i386/tm-i386lynx.h: Delete file. * config/cris/cris.mt (TM_FILE): Set to solib.h. * config/cris/tm-cris.h: Delete file.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-49/+46
* configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path. * configure: Re-generate. * config/arm/nbsd.mt (TM_FILE): Set to "solib.h". * config/arm/tm-nbsd.h: Delete file.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-83/+8
* config/powerpc/tm-ppcle-sim.h: Delete. * config/powerpc/tm-ppcle-eabi.h: Delete. * config/powerpc/tm-nbsd.h: Delete. * config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h. * config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or tm-ppcle-eabi.h.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-8/+3
* config/i386/nto.mh (NAT_FILE): Delete. * config/i386/nm-nto.h: Delete.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-45/+11
* config/m68k/tm-vx68.h: Do not include "tm-m68k.h". * config/m68k/tm-os68k.h: Ditto. * config/m68k/tm-monitor.h: Ditto. * config/m68k/tm-cisco.h: Ditto. * config/m68k/st2000.mt (TM_FILE): Delete. * config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete. * config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete. * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file. * m68k-tdep.c (m68k_get_longjmp_target): Make static.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-48/+6
* config/m68k/tm-st2000.h: Delete. * config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h. * config/sparc/fbsd.mt (TM_FILE): Delete. * config/sparc/tm-fbsd.h: Delete.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-35/+4
* acconfig.h (GDB_MULTI_ARCH): Delete undef. * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM) (GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-11/+54
* gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE, GDB_TM_FILE and GDB_XM_FILE. * gdbarch.c: Re-generate. * configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include quotes in macro definition. * configure.in: Re-generate.
2004-09-022004-09-02 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-14/+11
* gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when validating architecture methods. * gdbarch.c: Re-generate.