aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-06-15Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs7-179/+15
* config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout: Remove all CC, etc definitions. * config/mt-hpux: New file. * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove: (CFLAGS, LDFLAGS): Define. * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1994-06-15Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+20
* Makefile.in (site.exp): Don't insert host_os, etc. (just-check): Just use RUNTEST with RUNTESTFLAGS only. (distclean): Check existence of subdir. * gdb.base/configure.in (hppa*-*-hpux*): Recognize. * gdb.base/Makefile.in: General cleanup and simplification. Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions to build executables. Use default rule to build .o files. (EXPECT, RUNTEST, CC): Fix relative pathname. (site.exp): Don't insert host_os, etc. * gdb.base/signals.c (main): Don't call signal unless SIGALRM and/or SIGUSR1 defined. * gdb.base/watchpoint.c: Don't include stdio.h a second time. * gdb.c++/Makefile.in: General cleanup and simplification. Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions (CFLAGS): Remove. (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1994-06-15Init current_directory.Thomas Lord2-0/+9
1994-06-15New features. Less bugs.Thomas Lord2-265/+862
1994-06-14 * result.ch, result.exp, Makefile.in: New test case.Per Bothner8-1/+215
* pr-4975.ch, pr-4975-grt.ch, pr-4975.exp, Makefile.in: Ditto.
1994-06-14Modified Files:Kung Hsu2-48/+42
breakpoint.c ChangeLog * breakpoint.c: annotate changes lost at merge, put back in.
1994-06-14Mon Jun 13 17:28:50 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-7/+8
* config/i386/i386sco.mh, i386sco4.mh (XDEPFILES): Remove i387-tdep.o.
1994-06-13Modified Files:Kung Hsu2-2/+6
.Sanitize ChangeLog * .Sanitize: change name from sparclite-*.c to sparcl-*.c.
1994-06-12 * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusionPeter Schauer2-3/+5
of inftarg.o. * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit writing of floating registers, the dpx2 kernel disallows it.
1994-06-12 * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusionPeter Schauer3-36/+190
of inftarg.o. * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit writing of floating registers, the dpx2 kernel disallows it. * irix5-nat.c (LM_ADDR): The loaded address of the shared library is contained in o_praw. * irix5-nat.c (solib_map_sections): Adjust sections by the difference between the loaded address and the prelinked address. * irix5-nat.c (solib_address): Use LM_ADDR for the loaded start address. * mdebugread.c (parse_symbol): Do not relocate stEnd/scText symbols, their value is absolute. * mdebugread.c (parse_partial_symbols): Handle Irix 5.2 shared libraries fh->adr fields of zero. Relocate minimal symbol values upon readin. Relocate non-stabs symbols upon readin. * mdebugread.c (psymtab_to_symtab_1): Use pst->textlow for the start address of the outermost block. * mdebugread.c (parse_lines, parse_procedure): Pass in pst instead of section_offsets and use relocated pst->textlow for line number and procedure address relocations. From gmo@MicroUnity.com (Guillermo A. Loyola): * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): Handle SGI Irix5 stIndirect symbol type.
1994-06-11Modified Files:Kung Hsu2-100/+532
breakpoint.c ChangeLog * breakpoint.c: fix a syntax error native cc does not like.
1994-06-11Modified Files:Kung Hsu1-1/+1
sparclite.mt * change sparclite-tdep.o to sparcl-tdep.o.
1994-06-10Modified Files:Kung Hsu2-1/+11
Makefile.in ChangeLog * Makefile.in: change sparclite-tdep.c to sparcl-tdep.c.
1994-06-10Added Files:Kung Hsu4-1194/+1194
sparcl-tdep.c sparcl-stub.c Removed Files: sparclite-tdep.c sparclite-stub.c * change file name because fisrt 8 chars has to be unique.
1994-06-10Modified Files:Kung Hsu1-0/+2
.Sanitize * .Sanitize: add sparclite-stub.c sparclite-tdep.c to keep.
1994-06-10Modified Files:Kung Hsu1-0/+4
ChangeLog * sparclite/Makefile.in: fix INCLUDE_CFLAGS to have {srcdir}/../config.
1994-06-10 * gdb.base/recurse.exp: Misc changes to get tests running againJeff Law1-0/+10
after Kung's changes to the watchpoint code. * gdb.base/watchpoint.exp: Likewise.
1994-06-10 * hppa-tdep.c (target_read_pc, target_write_pc): Accept (andJeff Law2-3/+35
ignore) a PID argument. (hppa_pop_frame): Pass a PID to target_write_pc. * config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept and pass through a PID argument. (target_read_pc, target_write_pc): Update prototypes.
1994-06-10 * pr-5022.ch, pr-5022.exp: New testcase.Per Bothner5-2/+100
* chillvars.exp: Remove spurious newline.
1994-06-10Modified Files:Kung Hsu2-0/+1194
breakpoint.c breakpoint.h ChangeLog Added Files: sparclite-tdep.c sparclite-stub.c * sparclite-tdep.c: new file, contains hardware breakpoint support code. * sparclite-stub.c: new file, stub code that add support hardware breakpoint support. * breakpoint.c: add hardware breakpoint support. * breakpoint.h: add new breakpoint type to support hardware breakpoint.
1994-06-10Modified Files:Kung Hsu2-1/+62
sparclite.mt tm-sparclite.h * config/sparc/sparclite.mt: add sparclite-tdep.o. * config/sparc/tm-sparclite.h: add hardware breakpoints support defiines and code.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-hppab.h * config/pa/nm-hppab.h: change interface for target dependent code supporting watch point.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-irix4.h * config/mips/nm-irix4.h: change interface for target dependent code supporting watch point.
1994-06-09Modified Files:Kung Hsu1-0/+8
ChangeLog * remote-os9k.c (rombuf_command): fix a bug accepting rombug output. * stabsread.c (read_struct_fields): os9k nested structure does not have terminating ';', instead it just get to ',' and bit position and length.
1994-06-09 * Makefile.in: Bunch of fixes so it actually works in thisPer Bothner7-55/+63
directory. (E.g. add extra ../ where needed.) Also, add .exe to executables, so we can use suffix rules. * chexp.exp (test_print_reject): Update syntax error message. * chillvars.ch (module PR_5020): Moved from here ... * pr-5022.ch: ... to this new file. * chillvars.exp, pr-5020.exp (binfile): Add .exe extension. * chillvars.exp, pr-5020.exp: Don't check all_flag. * pr-5020.exp: Add more tests; fix "print y pretty" output.
1994-06-09Modified Files:Kung Hsu2-1/+2
remote-os9k.c stabsread.c * remote-os9k.c (rombuf_command): fix a bug accepting rombug output. * stabsread.c (read_struct_fields): os9k nested structure does not have terminating ';', instead it just get to ',' and bit position and length.
1994-06-09(nlm_symfile_read): Use SYMBOL_CLASS to access symbol class.Stu Grossman1-1/+1
1994-06-09 * nlmread.c (nlm_symtab_read): Clean up a bit.Stu Grossman6-15/+72
* (nlm_symfile_read): Record bounds of main() so that backtrace command will know where to stop. * objfiles.c (objfile_relocate): Relocate entry point/func info for backtrace as well. * objfiles.h: Define values for invalid PCs for entry point info. * symfile.c (init_entry_point_info): Initialize invalid values with aforementioned macros. * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE to cause backtrace to stop when it gets back to main(). * config/i386/tm-i386nw.h: Ditto.
1994-06-08Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-111/+84
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start. * lib/gdb.exp (default_gdb_start): Define.
1994-06-07 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangleJim Kingdon2-1/+7
(which was basically just a local version of the same thing). In addition to avoiding duplication, gdb_test_exact is faster. * lib/gdb.exp (gdb_test_exact): Fix typo.
1994-06-07 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,Jim Kingdon2-1/+6
don't give an error. * gdb.base/term.exp: Call delete_breakpoints before starting.
1994-06-07 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.Jim Kingdon1-0/+5
(t10): Add comment.
1994-06-07Reorganized GDB tests - ChillStan Shebs7-0/+1436
1994-06-07Reorganized GDB tests - baseStan Shebs57-0/+21351
1994-06-07Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-38/+60
Reorganization of the GDB Test Suite. * gdb.base: New directory, contains all the basic tests. * gdb.c++: New directory, tests specific to C++. * gdb.chill: New directory, tests specific to Chill. * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved into appropriate new directories (t00-t17 to base, t20-t23 to c++, t30-31 to chill). * */gdbme.*: Rename to match appropriate expect scripts. * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c, gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c, gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h, gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c, gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c, gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c, gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c, gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c, gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c, gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files. * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc, gdb.c++/virtfunc.cc: New names of C++ files. * gdb.chill/chillvars.ch: New name of Chill file. * gdb.base/configure.in, gdb.c++/configure.in, gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in. * gdb.base/Makefile.in, gdb.c++/Makefile.in, gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in. * configure.in (configdirs): Update to reflect directory changes. (target_abbrev): No longer define for any configuration. * Makefile.in: Cosmetic improvements to header comments.
1994-06-05 Fix value_print, which used to be ostensibly langauge-indepentdent,Per Bothner10-1/+216
but would print pointers and arrays in C syntax. Instead, call a language-specific function. See ChangeLog for details.
1994-06-04 Various changes to gdb.t31.Per Bothner1-0/+14
1994-06-03 * main.c: Move entire file except for #ifndef MAIN_OVERRIDE codeJim Kingdon5-15/+2566
to new file top.c. Make things extern instead of static and similar rearrangements to deal with this. * top.h: New file. * utils.c: Move fputs_unfiltered to main.c. Remove FPUTS_UNFILTERED_OVERRIDE ifndef. * Makefile.in: Change so that gdb uses main.c, utils.c, and top.c, and libgdb uses utils.c and top.c.
1994-06-03 * hppa-tdep.c (skip_trampoline_code): Fix typo.Jeff Law2-1/+5
1994-06-03 * ch-valprint.c (chill_val_print_array_elements): New function.Per Bothner2-2/+100
A Chill version of val_print_array_elements, it prints the array index labels, in additions ot the array element values. (chill_val_print): Use the new function.
1994-06-02 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.Per Bothner2-3/+5
1994-06-02 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.Per Bothner1-0/+21
1994-06-02 * configure.in: Add nlm subdir to configdirs for alpha-*-netwareStu Grossman8-54/+197
target. * defs.h (enum language): Add language_asm. * findvar.c (read_register_bytes read_register_gen write_register_bytes read_register read_register_pid write_register write_register_pid supply_register): Move multi- thread handling down into these routines. Create XXX_pid routines that allow register references to specify the pid. * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid read_sp write_sp read_fp write_fp): Move these routines from infcmd to findvar to centralize the whole mess. * i386-nlmstub.c: Portability fixes. * infptrace.c (child_resume): Conditionalize to allow other natives to override it. Remove PIDGET gubbish, it's no longer necessary. * infrun.c (wait_for_inferior): Put registers_changed() before target_wait() to speed up remote debugging. * Replace code that reads registers from other threads with much nicer looking new function calls (see changes to findvar.c). * Don't skip prologues if debugging assembly source. * lynx-nat.c (child_resume): Lynx now needs it's own version of child_resume to handle multi-thread debugging properly. * remote.c: Add O response to get console output from target. * (readchar): Add timeout parameter. Handle SERIAL_EOF and SERIAL_ERROR here to simplify callers. * Change static var timeout to remote_timeout. * (fromhex): Remove unnecessary return -1 at end of routine. * (remote_wait): Turn this into a big switch statement. Add support for O response. * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. * (getpkt): Split getpkt into two parts. read_frame deals with all formatting issues, run-length encoding, and framing. getpkt now handles error recovery, and frame detection. * ser-tcp.c (tcp_readchar): Handle EINTR from read(). * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem control. (hardwire_readchar): Handle EINTR from read(). * symfile.c (deduce_language_from_filename): Add support for .s files. * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can override infptrace's child_wait. * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h instead of XXXlynx.h. * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of tm-rs6000lynx.h. * nlm/gdbserve.c: Portability fixes.
1994-06-01 * stabs.texinfo (Statics): Value of xcoff C_BSTAT points toJim Kingdon2-5/+10
another symbol, it is not the address itself.
1994-06-01Unneeded.Rob Savoye2-174/+0
1994-06-01Renamed.Rob Savoye10-590/+0
1994-06-01 * inftarg.c (child_wait): Call proc_wait, not wait.Jim Kingdon3-2/+41
(child_mourn_inferior): Call proc_remove_foreign. * main.c (gdb_init): Call init_proc. * main.c: Provide dummy versions of init_proc, proc_wait, and proc_remove_foreign for the gdb case (the libgdb case provides its own versions of these functions). * Makefile.in (libgdb-files): Add libproc.a.
1994-06-01Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs3-1/+194
Hardware watchpoints for Linux, from Rick Sladkey (jrs@world.std.com). * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add new hardware breakpoint recovery method. * i386v-nat.c (i386_insert_watchpoint, i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: New functions to support the 386 hardware debugging registers. * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Define these macros to use the hardware debugging functions in i386v-nat.c.
1994-05-30 * Makefile.in: Fix bit-rot in definitions of CHILL,Per Bothner2-13/+19
CHILL_FOR_TARGET and Chill_LIB.
1994-05-26 * Makefile.in: Replace libgdb.a with libgdb-files. Make "all"Jim Kingdon2-15/+11
build it.