aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-07-12 * elfread.c (elf_symfile_read): Unconditionally add dynamicPeter Schauer2-3/+13
symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library for Irix 5. Other ELF targets do not have enough information in their dynamic symbol tables to make this work. (elf_symtab_read): Relocate mst_solib_trampoline address.
1994-07-12 * gdb.base/return.exp: Add comment and message for `return double'Peter Schauer1-1/+11
test failure on Sparc Solaris.
1994-07-12Various updatesStan Shebs8-75/+23
1994-07-12 Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).Stan Shebs7-10/+30
* configure.in (m68*-atari-sysv4*): New configuration. (m68*-cbm-sysv4*): Use m68kv4 instead of amix. * m68k-tdep.c (R_PS): Define as R_SR if necessary. * config/m68k/m68kv4.mh, config/m68k/m68kv4.mt, config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files. * config/m68k/amix.mh, config/m68k/amix.mt, config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded by m68kv4 files.
1994-07-09 * symtab.c (find_function_start_sal): New function to findPeter Schauer1-0/+15
the start of a function from a function symbol. (decode_line_1, decode_line_2): Use it instead of open coded partial copies of the code. (list_symbols): Quote symbol name before passing it to break_command to enable proper handling of mangled symbols.
1994-07-07 * ch-exp.y (match_simple_name_string): Don't lower-case here.Per Bothner1-11/+20
* ch-exp.y (yylex): First try name lookup using exact name typed by user; if that fails, try lower-cased name.
1994-07-06 * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:Peter Schauer7-28/+30
Move "no debugging symbols found" test to symfile.c. * symfile.c (syms_from_objfile, reread_symbols): Add "no debugging symbols found" test. * coffread.c (init_stringtab): Handle stripped files with a stringtab offset of zero gracefully. * osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from BFD instead of stop_pc heuristic to determine if it is a dynamically linked object file. * procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP ioctl, it indicates that the process has exited.
1994-07-05 * hppa-tdep.c (read_unwind_info): ELF unwind information is in theJeff Law2-1/+6
.PARISC.unwind section now.
1994-07-05 * breakpoint.c (mention): Always show breakpoint address if noStan Shebs1-0/+16
source file.
1994-07-02 * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):Peter Schauer1-0/+3
Define to enable handling of shared libraries for a.out executables, run under Solaris BCP.
1994-07-01 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.Stan Shebs3-1/+13
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
1994-06-30 * infrun.c (wait_for_inferior): Print "Program exited normally"Jim Kingdon2-7/+6
regardless of batch_mode. * defs.h, top.c (batch_mode): Removed.
1994-06-30Fix a boobooStan Shebs1-1/+1
1994-06-30 * Makefile.in (dcache_h): Remove redundant definition.Stan Shebs6-23/+27
(init.c): Add a comment. (top.c): Remove explicit compile action. * breakpoint.c (mention): Share code indicating location of break/watchpoints, don't print address if addressprint is off. * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h (demangle): Remove redundant declarations. * eval.c: Remove redundant function declarations. * objfiles.h: Cosmetic and grammatical improvements. * TODO: Various updates.
1994-06-30 * remote-mips.c: Replace all \r chars with \015.Stan Shebs2-5/+26
(mips_receive_header): Display control characters readably. (mips_xfer_memory): Add a simple progress display.
1994-06-30 * mpw-make.in: Use {s} instead of {srcdir} everywhere.Stan Shebs2-74/+75
(bindir, libdir): Remove extra colon. (source.c): Compile with C instead of gC. (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. (install-only): Don't install MacGDB. * source.c (openp) [MPW]: Add a debugging display. (open_source_file) [MPW]: Use MPW basename finders. [MPW_C]: Briefer versions of help for line and list commands.
1994-06-29 * remote-e7000.c (e7000_open): Don't try a tcp open if we'reSteve Chamberlain3-11/+45
using go32. * remote-hms.c (flush): New function. (expect): Get edge case right. (hms_read_inferior_memory): Be more tolerant of line noise.
1994-06-29 * configure.in: Use i386m3.mh and i386m3.mt as names of host andJean Marie Diaz2-2/+7
target files, not non-existent mach3.mh and mach3.mt.
1994-06-29 * gdb.c++/misc.cc: Instantiate classes to inhibit the compilerPeter Schauer1-0/+8
from optimizing them away. * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect patterns to include default constructors and assignment operators, to match gcc versions beyond 2.5.8.
1994-06-29 * dbxread.c (dbx_symfile_read): Unconditionally add dynamicPeter Schauer1-0/+8
symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library. (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address.
1994-06-28 * dbxread.c, partial-stab.h (near N_SO): SO stabs with blankStu Grossman4-149/+186
names mean end of .o file. * infrun.c (wait_for_inferior): Clean up multi-thread logic near top of routine. Handle new thread notification cleanly. * lynx-nat.c (child_wait): General cleanups, handle new LynxOS thread notification scheme. * (child_resume): General cleanups, handle resumption of all threads properly.
1994-06-28ser-go32.c: Rewrite so it runs under windows.Steve Chamberlain2-44/+113
1994-06-27Use e7000-pc stuff.Steve Chamberlain2-2/+2
1994-06-27 * ser-e7kpc.c: New file to support the E7000 with the PC ISASteve Chamberlain3-2/+425
bus interface. * serial.c (serial_open): Notice device "pc". * remote-e7000.c: Fix copyright date. (expect): Compare \n and \r the same. (e7000_open): Allow pc as a serial port * sh/sh.mt: Add ser-e7kpc. * h8300/h8300hms.mt: Add ser-e7kpc. * main.c (proc_wait): Don't wait if using go32.
1994-06-27 * somread.c: Simplify by using stabsect_build_psymtabs.Jeff Law4-136/+26
* dbxread.c (stabsect_build_psymtabs): New argument "text_name" corresponding to the name of the text section. All references changed. (somstab_build_psymtabs): Delete function, no longer needed.
1994-06-27 * somread.c: Renamed from paread.c. Changed function names andJeff Law9-574/+590
comments to reflect that this file deals with SOM (an object file format), rather than the PA (a cpu). (Makefile.in): Chaned appropriately. (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. * dbxread.c (somstab_build_psymtabs): Renamed from pastab_build_psymtabs.
1994-06-24 * core-sol2.c: New file to handle ELF and BCP core file flavours.Peter Schauer1-1/+1
* config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of core-svr4.
1994-06-24 * core-sol2.c: New file to handle ELF and BCP core file flavours.Peter Schauer4-4/+129
* config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of core-svr4. * Makefile.in: Updated for core-sol2.c.
1994-06-24 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regularPeter Schauer1-0/+7
expression match in print_addr_of to avoid unintented matches. * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++ versions up to 2.5.8.
1994-06-24 * config/mips/xm-makeva.h: Removed, no longer necessary.Peter Schauer1-1/+0
1994-06-24 * config/mips/xm-makeva.h: Removed, no longer necessary.Peter Schauer6-36/+0
* Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h: Remove references to xm-makeva.h
1994-06-24 * README: Add notes about SPARCworks cc under Solaris 2.xPeter Schauer2-4/+13
(from Casper H.S. Dik casper@fwi.uva.nl). * config/mips/xm-makeva.h: Removed, no longer necessary. * Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h,
1994-06-24* gdba.el: Put program input and output in a separate buffer.Jim Kingdon2-25/+82
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.