summaryrefslogtreecommitdiffstats
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * c-exp.y, m2-exp.y: Move remapping defines for malloc andFred Fish1992-06-108-16/+61
| | | | | | realloc. Add remapping defines for {yyss, yyssp, yyvs, yyvsp}. * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh, sun4os5.mh}: Add definition for INSTALL using /usr/ucb/install.
* Oops, forgot depend!Stu Grossman1992-06-091-1/+6
|
* * depend: rebuild to account for remote-st2000.c.Stu Grossman1992-06-093-414/+261
| | | | | * remote-st2000.c: Almost works now. * tm-st2000.h: Need to turn on HAVE_68881, else things won't compile.
* * c-exp.y (yylex): Recognize single-quoted strings that specifyFred Fish1992-06-095-354/+204
| | | | | | | | | | | | | | | | | | | | | | | | tokens with embedded whitespace, such as C++ demangled names. * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes. * main.c (gdb_completer_quote_characters): Add global variable. * main.c (symbol_completion_function): Total rewrite for C++ demangled name handling. * main.c (skip_quoted): New function. * main.c (main): Set rl_completer_quote_characters. * symmisc.c (dump_symtab): Print source language for symtab. * symtab.c (expensive_mangler): Add prototype and function. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (lookup_symbol): Check for demangled C++ symbol first, other changes for demangled C++ symbol handling. * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match. * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match. * symtab.c (decode_line_1): Recognize C++ demangled names on input. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (expensive_mangler): New function. * utils.c (strcmp_iw, demangle_and_match): New functions. * xcoffread.c (aixcoff_symfile_read): Fix prototype.
* * Makefile.in: Roll VERSION to 4.5.4.John Gilmore1992-06-0916-21/+30
| | | | | | * Makefile.in, config/*.mh, config/*.mt: Rename TM_CFLAGS to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names. * config/sun4os5.mh: Add MH_CFLAGS=-xs to save debug info.
* TypoJohn Gilmore1992-06-091-1/+1
|
* See gdb/Changelog for details.Stu Grossman1992-06-081-1/+1
|
* * alldeps.mak: Rebuild to account for new files.Stu Grossman1992-06-082-0/+23
| | | | | * config/st2000.mt: Use tm-st2000.h, not tm-68k.h. * tm-st2000.h: New file.
* * configure.in: Tandem debug monitor (st2000) support.Stu Grossman1992-06-083-0/+1012
| | | | * remote-st2000.c, config/st2000.mt: ditto.
* See gdb/Changelog for detailsStu Grossman1992-06-081-0/+7
|
* * blockframe.c (inside_entry_file, inside_main_func,John Gilmore1992-06-051-1/+6
| | | | inside_entry_func): Return 0 if no symbols; avoid crashing.
* * xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclassJohn Gilmore1992-06-042-1/+15
| | | | | | | | | without masking, since it is signed and will later be compared against signed quantities. The right fix is probably to make it all unsigned, but this is a small, safe fix for this release. FIXME -- make the real change sometime soon. (Imported from progressive.)
* Fix from net: when predigesting doc for texi2roff, search for "@c " atRoland Pesch1992-06-021-3/+3
| | | | | the beginning of a line, rather than just "@C" at the beginning of a line, to identify (and remove) comments.
* Tracking changes from Lucid: option formerly known as eitherRoland Pesch1992-06-021-2/+1
| | | | "-cadillac" or "-energize" is called "-context" now.
* Pass the correct number of parameters to `symbol_file_add'.Michael Tiemann1992-06-012-2/+5
|
* Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>Michael Tiemann1992-06-012-0/+16
|
* Handle -m680[01234]0-wrs as specific vxworks68 targets. With -nfp,Michael Tiemann1992-05-311-0/+9
| | | | | | this offers full control over the CPU parameters of vxworks systems we are likely to encounter (not to mention other 68k embedded targets that run a.out as their debugging format).
* Fix lint found by GCC.Michael Tiemann1992-05-302-1/+6
|
* LintJohn Gilmore1992-05-271-1/+11
|
* lintSteve Chamberlain1992-05-261-1/+1
|
* PTR vs. void*. Sorry.Sean Eric Fagan1992-05-211-1/+1
|
* qsort returns a void*, according to the manual pages on two different systems.Sean Eric Fagan1992-05-211-9/+52
|
* * coredep.c (fetch_core_registers): Remove premature warning,John Gilmore1992-05-202-23/+24
| | | | | | | | which triggers on DECstation even though all regs are accessible. * m68k-pinsn.c (print_insn_arg): Use new macros to get sign-extension of instruction fields even on unsigned-char hosts. Bug found by Fred J Roeber, fjr@sgfb.ssd.ray.com.
* 88K changes inspired by Ted Lemon (uunet!lupine!mellon)John Gilmore1992-05-204-17/+40
| | | | | | | | | | * tm-m88k.h, tm-umax.h: Avoid sizeof() in REGISTER_xxx macros, since they define the target, not the host. * m88k-pinsn.c: Fix typo. Patches by Paul Eggert <eggert@twinsun.com>. * valarith.c (value_zerop): -0.0 is still zero. * eval.c (evaluate_subexp): Avoid NaN anomalies in float compares.
* Removed RMS email address from inside cover page, at his request.Roland Pesch1992-05-191-1/+1
|
* * alldeps.mak, depend: re-make to account for ser-*.c.Stu Grossman1992-05-182-288/+334
|
* * inflow.c (new_tty): Temporarily ignore SIGTTOU whenFred Fish1992-05-177-23/+73
| | | | | | | | | | | | | | | | | | | | | | disconnecting from controlling terminal, to avoid gdb hanging on SVR4. Fixes bug reported by Oliver Okrongli. * procfs.c (PROC_NAME_FMT): Change format to match default used by system, as suggested by Oliver Okrongli. * tm-68k.h (FRAME_FIND_SAVED_REGS): Apply missing parentheses bug fix from Brent Townshend (bst%tt@cam.ORG). * c-exp.y (nonempty_typelist): Fix memory overrun bug reported by turlais@rechser.total.fr. * dwarfread.c (decode_subscr_data): Fix bug in calculation of length of non-zero lowerbound arrays. Bug fix from Peggy Fieland. * objfiles.h (unlink_objfile): Add prototype. * objfiles.c (unlink_objfile): Add function. * objfiles.c (free_objfile): Call unlink_objfile. * objfiles.c (allocate_objfile): Call unlink_objfile on newly remapped objfiles. Bug reported by hahn@sunshine.labs.tek.com. Also, discard old possibly bogus sf struct. * symfile.c (symbol_file_add): Call init_entry_point_info() and find_sym_fns() for remapped symbol files, in case of any changes since the last mapping.
* Thu May 14 17:09:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)Roland Pesch1992-05-153-12/+26
| | | | | | | | * gdb.texinfo: slight expansion of new text on reading info files * gdbinv-s.m4.in: correct and expand info on cross-debugging H8/300 from DOS. * ChangeLog: guess...
* Changes to support GDB running on DOS using GO32 and H8 supportSteve Chamberlain1992-05-134-1/+17
| | | | | | | | | | | | | | | | | | | | | | | * defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h", allowing hosts with different text and binary file formats to work. * coffread.c (read_coff_symtab): changed calling convention and operation - now it opens its own file with FOPEN_RB rather than duping and fdopening the provided handle. * dbxread.c, cplus-dem.c: #include mangling. * exec.c: If O_BINARY isn't defined, set it to 0, call openp for binary files oring in the right bit. * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals. * remote-hms.c: cleanup to use the new remote serial stuff * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host independent remote terminal I/O. * remote.c: if DONT_USE_REMOTE is defined, then don't use it. * source.c (openp): fix off by one problem removing / - can now open a source file in the root directory with DOS. * values.c (value_as_pointer): remove bogus address bits from long. (unpack_long): unpack into unsigned long/short if pointer. sun4.mh: use the ser-termios stuff go32.mh: use the ser-go32 stuff
* Changes to support GDB running on DOS using GO32 and H8 supportSteve Chamberlain1992-05-1312-404/+860
| | | | | | | | | | | | | | | | | | | | | * defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h", allowing hosts with different text and binary file formats to work. * coffread.c (read_coff_symtab): changed calling convention and operation - now it opens its own file with FOPEN_RB rather than duping and fdopening the provided handle. * dbxread.c, cplus-dem.c: #include mangling. * exec.c: If O_BINARY isn't defined, set it to 0, call openp for binary files oring in the right bit. * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals. * remote-hms.c: cleanup to use the new remote serial stuff * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host independent remote terminal I/O. * remote.c: if DONT_USE_REMOTE is defined, then don't use it. * source.c (openp): fix off by one problem removing / - can now open a source file in the root directory with DOS. * values.c (value_as_pointer): remove bogus address bits from long. (unpack_long): unpack into unsigned long/short if pointer.
* * infrun.c (child_attach): Don't allow gdb to attach to itself.Stu Grossman1992-05-122-9/+12
| | | | | | | It gets permanently stuck in many OSes. * breakpoint.c, infcmd.c, infrun.c, utils.c: Change many printfs to printf_filtered. * breakpoint.c: Improve help text for info breakpoints.
* * infrun.c (child_attach): Don't allow gdb to attach to itself.Stu Grossman1992-05-121-1/+3
| | | | | | It gets permanently stuck in many OSes. * breakpoint.c, infcmd.c, infrun.c: Change many printfs to printf_filtered. * breakpoint.c: Improve help text for info breakpoints.
* * breakpoint.c, infcmd.c: Change many printfs to printf_filtered.Stu Grossman1992-05-121-2/+2
| | | | * breakpoint.c: Improve help text for info breakpoints.
* * breakpoint.c: Change many printfs to printf_filtered. ImproveStu Grossman1992-05-121-2/+24
| | | | help text for info breakpoints.
* `info user' => `show user'. Noticed by David Taylor.John Gilmore1992-05-122-3/+7
|
* * README: Add pointer to internals doc, and describe readingJohn Gilmore1992-05-121-3/+8
| | | | | | | | | | | info files. * utils.c (print_sys_errmsg): Use stderr. Reported by Pierre Willard. * symtab.c (output_source_filename): Remove old glop for wrapping lines, use wrap_here. Reported by Pierre Willard (pierre@la.tce.com). * Makefile.in: version.c should depend on Makefile, not Makefile.in. * munch: Add sort -u to avoid duplications. * symtab.c (lookup_symbol): Improve Stu's fix of 22 April. Improved fix by hahn@sunshine.labs.tek.com (Doug Hahn).
* Say how to read the `info' files.John Gilmore1992-05-122-0/+8
|
* * cplus-dem.c (demangle_signature): Recognize misplaced '_' toFred Fish1992-05-112-1/+17
| | | | | | avoid infinite loops while demangling bogus mangled names. * valprint.c (type_print_base): Minor fix for GNU style guide conformance.
* * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore.Fred Fish1992-05-101-1/+1
|
* * Makefile.in (VERSION): Bump to 4.5.3Fred Fish1992-05-104-678/+1252
| | | | | | | | | | | | | * Makefile.in (DEMANGLE_OPTS): Remove obsolete -Dnounderscore * Makefile.in (demangle): New target to create standalone demangler with same code and options as internal demangler. * cplus-dem.c: Massive restructuring, rewriting, cleanups, etc to support ARM style and Lucid style demangling, improve maintainability, fix several demangling bugs. More changes to follow. * defs.h (strstr): Add ANSI compatible prototype. * valprint.c (type_print_1): Demangle using ansi option. * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore.
* * xcoffexec.c (vmap_exec): Don't assume .text and .data are theStu Grossman1992-05-092-12/+22
| | | | first two sections.
* * mipsread.c (parse_procedure): Return rather than usingPer Bothner1992-05-081-0/+5
| | | | uninitialized variable 'b'.
* * Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c,Stu Grossman1992-05-086-12/+17
| | | | | | 29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c: Remove -I29k-share, -Ivx-share from Makefile.in. Make #includes relative to each source file.
* propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on recursionsK. Richard Pixley1992-05-082-5/+36
|
* * am29k-pinsn.c: Use new opcode table in "opcode/a29k.h".Stu Grossman1992-05-075-369/+592
| | | | | | | | | | | | | | | | | | | * am29k-tdep.c: Update to latest code from AMD. (get_saved_register) don't crap out if no frame. * remote-udi.c: Set/clear inferior_pid as appropriate. (udi_open) call target_preopen, don't close fd 0!!!, clean up error handling. Fixup end-of-debugging messages. (udi_fetch_registers) clean up big time, mainly don't multiply register_valid indices by 4, and use proper Offset when reading gr96-gr127. (udi_store_registers) general cleanup. (fetch_register) cleanup, simplify. (regnum_to_srnum) INT_REGNUM->INTE_REGNUM. * tm-29k.h: Upgrade to latest code from AMD. * 29k-share/udi/udip2soc.c: Get rid of useless errmsg_m macro. (UDIConnect) Clean up error processing (like, don't do exit() if execlp fails), make code restartable, make more attractive. (UDIStop) Use SIGINT instead of SIGUSR1, as isstip won't stop otherwise.
* * tm-irix3.h: Re-define CPLUS_MARKER to '.'.Per Bothner1992-05-064-5/+16
| | | | | * xm-rs6000.h, tm-rs6000.h: Move re-definition of CPLUS_MARKER from former to latter.
* * cplus-dem.c (do_args): Handle void args the same as others.Fred Fish1992-05-063-5/+25
| | | | | | | | | | | * objfiles.c (free_objfile): Only try to unmap files when reusable objfiles are supported. * valprint.c (type_print_varspec_suffix): Add parameter that specifies if C++ demangling included function arguments. Use it to suppress printing extra pair of ()'s. * valprint.c (type_print_1): Fix problem with printing demangled C++ function types where demangled type includes the function args.
* formatting improvements (already in progressive)Roland Pesch1992-05-061-10/+12
|
* Fix typo in M4 macro name (prevented TeX formatting).Roland Pesch1992-05-051-1/+1
|
* gm4 -> m4K. Richard Pixley1992-05-052-1/+5
|
OpenPOWER on IntegriCloud