aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-06-23 * annotate.texi (TODO): New node, for keeping track of annotationsJim Kingdon2-0/+23
suggested but not yet implemented.
1994-06-23* gdba.el: Put program output in a separate buffer.Jim Kingdon2-14/+95
1994-06-23 * energize-patches, main.c (main), top.c (gdb_init, pwd_command),Fred Fish5-15/+21
top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides with global variable of same name in libnsl.so on UnixWare.
1994-06-22Modified Files:Kung Hsu1-0/+5
symtab.c ChangeLog * symtab.c (decode_line_1): fix a bug in dealing with '<>' embedded in template name.
1994-06-22 * mpw-make.in (VERSION): Update to 4.12.3.Stan Shebs7-2581/+259
(SiowGDB): New target, GDB using SIOW library. (init-new.c): New target, attempt to generate init.c from sources. (main.c.o, top.c.o): Put each in its own segment. * main.c (main) [MPW]: Always call mac_init. * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output an extra newline otherwise. * mac-xdep.c: More comments in various places, remove junk. (mac_init): Add tests for MPW and SIOW. (use_wne, has_color_qd): Renamed. (use_color_qd): New variable. (grow_window): Only do console resizing to console window, call resize_console_window. (zoom_window): Call resize_console_window. (resize_console_window, scroll_text): New functions. (adjust_console_sizes): Always align viewrect to even multiples of text lines. (adjust_console_text): Always scroll by whole lines. (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a recalculation of scroll positions if a newline was output. (hacked_fflush): Similarly, for flushing. (hacked_fgetc): New function, aborts if called in MacGDB. * ser-mac.c (mac_readchar): Rename starttime to start_time, remove debugging printf. (mac_write): Sleep on first 4 writes. (sec_sleep): New function, works like standard sleep. * macgdb.r: Adjust positioning and contents of About box. Set minimum size to 2000K, preferred size to 5000K. * config/m68k/xm-mpw.h (fgetc): Define as a macro.
1994-06-22Remove .Sanitize to prevent release of proprietary sources. This will be addedStu Grossman2-92/+17
back when I figure out how to do it right.
1994-06-22Sanitization fixesStan Shebs2-0/+47
1994-06-21Modified Files:Kung Hsu1-0/+11
ChangeLog * config/i386/nm-linux.h: change calling convention of TARGET_CAN_USE_HARDWARE_WATCHPOINT() and target_insert_watchpoint() and target_remove_watchpoint().
1994-06-21Modified Files:Kung Hsu2-0/+6
tm-mips64.h tm-bigmips64.h * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST to be long long in gdb. * config/mips/tm-bigmips.h: ditto.
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.