aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-06-21 * gdb.base/list.exp: Tweak alternate pattern for listing of anPeter Schauer1-0/+8
included file to run under newer versions of expect. * gdb.c++/demangle.exp: Add spaces to the expect patterns between consecutive >'s in templates to accomodate recent cplus-dem.c change. Remove xfail for the virtual table of BDDHookV.
1994-06-21 * c-lang.c (asm_language_defn): New definitions for language_asm,Peter Schauer2-0/+30
mostly copied from c_language_defn, to avoid warnings when switching between c and asm stack frames.
1994-06-20 * mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in orIan Lance Taylor2-67/+32
ecoff_swap_rndx_in directly; use the debug_swap pointer instead. (upgrade_type, handle_psymbol_enumerators): Likewise. (has_opaque_xref, cross_ref): Likewise. (elfmdebug_build_psymtabs): Call swap->read_debug_info to read debugging information, rather than doing it here. * mipsread.c (mipscoff_symfile_read): Call read_debug_info entry point in ecoff_debug_swap backend structure, rather than calling ecoff_slurp_symbolic_info directly.
1994-06-18 * lib/gdb.exp (string_to_regexp): Set a default result.Stan Shebs1-0/+5
(default_gdb_start): Fix misleading message.
1994-06-18 * breakpoint.c: Include annotate.h. Call annotate_field ratherJim Kingdon1-0/+3
than printing annotation directly.
1994-06-18* main.c: Include string.h.Jim Kingdon1-0/+4
1994-06-16 * fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined,Stan Shebs4-112/+126
call it instead of doing normal loop. * infcmd.c (attach_command): Don't call wait_for_inferior if running Mach 3. * infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call hook that can decide whether to step over the next breakpoint. * utils.c (wrap_here): Abort if wrap_buffer not allocated. (request_quit) [REQUEST_QUIT]: If defined, call it instead of doing normal quit. * Makefile.in (stop-gdb): New target. * stop-gdb.c: New file, utility to get attention of waiting GDBs in Mach 3.
1994-06-16 * configure.in: Improve sorting/formatting of hosts and targets.Stan Shebs4-37/+164
(i[34]86-*-mach3*, i[34]86-*-osf1mk*, mips-*-mach3*, m88*-*-mach3*, ns32k-*-mach3*): Recognize. * Makefile.in (gdb-stop): New target. * gdb-stop.c: New file, utility to gets attention of waiting GDBs in Mach 3.
1994-06-16Keep v9 bits now.Stan Shebs4-54/+8
1994-06-16Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs5-83/+293
* mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. (top.c.o, annotate.c.o): Add build rules. * macgdb.r (SysTypes.r): Include. ('vers'): New resource, version info. (mFile, mEdit, mDebug): Enable all menu items. (mDebug): Add key equivalents for continue, step, next. (wConsole): Add zoom and close boxes to window. * mac-xdep.c (new_console_window): New function, code taken from mac_init. (mac_command_loop): Use GetCaretTime for wait interval, call do_idle on null events. (do_idle): New function. (zoom_window): Implement zooming. (v_scroll_proc): New function, handles vertical scrolling. (activate_window): Do activation of console window. (do_menu_command): Implement items of file, edit, and debug menus. (do_keyboard_command): Fix command extraction. (adjust_console_sizes, adjust_console_text): New functions. (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_putc): Don't call draw_console. * ser-mac.c (mac_open): Add an error message for invalid ports. (first_mac_write): New global. (mac_write): Use first_mac_write to sleep on first several writes.
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.