aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-07-03* dbxread.c (process_one_symbol): Ignore N_MAIN, N_ENDM for Solaris.John Gilmore5-51/+98
* partial-stab.h: Ignore N_ENDM. * elfread.c (elf_symtab_read): Ignore symbols that don't have a CODE or DATA section attachment. This eliminates a lot of random values from shared libraries, which screw up the ordinary symbols in the address ranges they happen to overlap. * buildsym.c (define_symbol): Eliminate special tests for function types; move into "function" cases in switch statement. (define_symbol: 'f', 'F', 'P'): Process all parameter types in case they define new type numbers. But ignore them (FIXME). ('k', 'B'): Ignore const and volatile if we see them (FIXME). (read_sun_builtin_type): Add commentary.
1992-06-30Make cross compilation work better.John Gilmore3-33/+18
* tm-mips.h (GDB_TARGET_IS_MIPS): Define for mips-xdep.c. (READ_MIPS_FORMAT, COFF_FORMAT): Remove, unused now. * mips-xdep.c: Remove most include files (unused, caused errs). (fetch_core_registers): Use right parameters in dummy fn.
1992-06-30* buildsym.c (scan_file_globals): Beware the null file.John Gilmore7-65/+102
Fix from Jim Williams. * stack.c (return_command): Evaluate expression *before* popping off the stack frames! Fix inspired by Jim Williams. (up_silently_command, down_silently_command): No sel frame is error. * defs.h (memcpy, memset): Conditionalize decls on #ifndef MEM_FNS_DECLARED, since DECstation differs. (alloca): Break out the STDC and non-STDC alloca cases, to make it work on old preprocessors as well as "picky ANSI" ones. * xm-mips.h (memcpy, memset): Declare, and set MEM_FNS_DECLARED. * mips-tdep.c (heuristic_proc_start): Zero arg produces zero. * utils.c (fputs_demangled): Rename SLOP since DECstation system header files define it!
1992-06-30Allow BREAKPOINT to be overridden by -D (for Adobe).John Gilmore2-1/+9
1992-06-29 * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,Fred Fish44-373/+837
symtab.h, tm-i386v4.h, valprint.c, values.c: Lint. * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c, findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c, putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c: Replace bcopy() use with memcpy(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c, ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h, target.c, values.c: Replace bzero() use with memset(), which is more standard and can take advantage of gcc's builtin functions for increased performance. * i386-tdep.c, main.c, valprint.c: Replace bcmp() use with memcmp(), which is more standard and can take advantage of gcc's builtin functions for increased performance.
1992-06-28 * remote.c (remote_wait): Fix cast on signal() call.Fred Fish2-5/+10
* defs.h (alloca): More diddling with alloca. Have to ensure that it has a prototype, so that if alloca is defined as a macro that takes an arg, the definition is seen as a use of a macro that takes an arg, to satisfy picky ANSI preprocessors.
1992-06-27Update Cadillac patch kit.Fred Fish1-151/+190
1992-06-27 * sparc-pinsn.c: Use <string.h> rather than "string.h", forFred Fish4-4/+12
consistency with all other gdb files. * cadillac.c: Use <string.h> rather than <strings.h>. * cadillac.c (kernel_dispatch): Convert rindex usage to strrchr. * Makefile.in (MAKE): Remove definition for consistency with other Makefile.in files and to fix problem with recursive makes.
1992-06-27(1) corrections to command-line completion materialRoland Pesch1-22/+49
(more text on quotes still needed) (2) warning re problems in coff
1992-06-27Avoid PT_WDUSER because it crashes H-PUX.John Gilmore2-0/+11
1992-06-26 * source.c (print_source_lines): for DOS interoperability; don'tSteve Chamberlain1-0/+5
print CR (013) as ^M.
1992-06-26Default dir_so_symnum to -10 to avoid even the slightest possibility ofStu Grossman1-2/+2
screwage. This is a continuation of the redundant SO record fixup for the Lucid C++ compiler.
1992-06-26Fixup PRSVADDR problem as per Johns suggestions.Stu Grossman2-1/+4
1992-06-25* dbxread.c (dbx_symfile_init): Move more code under hp9000s800Stu Grossman4-3/+9
conditional. * hppabsd-core.c: Don't include "param.h", include <sys/param.h> instead. * remote.c (remote_wait): Cast signal to void * to avoid warning from busted HP compiler.
1992-06-25Catch up Cygnus-logo version of GDB refcard with last few changes toRoland Pesch1-3/+67
FSF version: - threecol.tex now embedded, not separate file - folding guides - "gdb --help" recommended rather than "gdb -help"
1992-06-25* partial-stab.h (N_SO): Rearrange code a little so that all SOStu Grossman2-10/+13
stabs cause end_psymtab to be called.
1992-06-25* buildsym.c (read_sun_builtin_type): Handle new FCS Sun CCStu Grossman2-0/+12
compiler feature of putting 'c' into basic type descriptors for all forms of char.
1992-06-25* procfs.c (child_resume): Work around Solaris (on Sparc) lossageStu Grossman2-1/+16
where there is no place for nPC in prrun struct.
1992-06-25 * mipsread.c: Pass NULL name pointer to init_type, not 0.Fred Fish6-18/+41
* gdbtypes.c (init_type): Use copy of typename on type_obstack. * dwarfread.c (enum_type): Save enum names on type_obstack. * dwarfread.c (struct_type): Save member name on type_obstack. * symtab.c (_initialize_symtab): Fix misspelling. * regex.c (store_jump, insert_jump): Return void.
1992-06-25* defs.h (PARAMS): Move to ../include/ansidecl.h.John Gilmore2-13/+7
(alloca): Declare return type on SPARC, since Sun doesn't. (*_BYTE_ORDER): Improve comment: *must* be defined.
1992-06-25* tm-hppa.h: New file, architectural definition of HP PA.John Gilmore20-1241/+729
* tm-hppabsd.h, tm-hppahpux.h: Shrink to deltas from tm-hppa.h. * am29k-pinsn.c, am29k-tdep.c, copying.awk, copying.c, hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, remote-udi.c, ser-go32.c, xcoffsolib.c: Remove <stdio.h> which is already in "defs.h". * hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, xcoffsolib.c, xcoffsolib.h, xm-go32.h, xm-hppabsd.h, xm-hppahpux.h: Copyrights.
1992-06-25* printcmd.c (output_command): Thinko.John Gilmore2-17/+53
(x_command): Only set remembered size/format if cmd succeeds.
1992-06-24Fix typo (place where GDB name was not given as _GDBN__).Roland Pesch1-1/+1
1992-06-24Added doc for command-line completion, incl new FNF support for quoted stringsRoland Pesch1-24/+130
w/C++ overloaded fns.
1992-06-24* dbxread.c (read_ofile_symtab): Remove N_CATCH special case,John Gilmore2-11/+7
since it is no longer used and burns time for every symbol read. (process_one_symbol): Treat N_CATCH like default (complain).
1992-06-24* partial-stab.h (case N_TEXT): Fix fencepost error whenStu Grossman2-1/+7
detecting start of new symbol info after reading symtab for a module with a zero length TEXT segment. (Note that this fixes the BNR problem with printing vxWorksVersion. That ought to make Ken happy).
1992-06-24 * valprint.c (val_print_fields): Call fprint_symbol to getFred Fish2-3/+5
automatic C++ demangling for mangled field names.
1992-06-24 * cadillac.c (kernel_dispatch): Make return type void.Fred Fish2-2/+5
* cadillac.c (iosig): Signal handlers take one int arg.
1992-06-24 * Makefile.in (VERSION): Bump to 4.5.6.Fred Fish32-193/+366
* coffread.c (coff_end_symtab): Cast 2nd arg of complain() to correct type. * defs.h (NORETURN): Define away for Lucid compiler. * remote.c (remote_timer, remote_interrupt): Signal handlers take one int arg. * ser-termios.c (serial_write, serial_close): Return whatever value the write/close call returns, rather than falling off end. * inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on more systems than it is "char *". Define PTRACE_ARG3_TYPE to default to int. * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c, inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type of third arg. * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c, m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c, pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c, symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace argument 3. * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers, store_inferior_registers): Supply missing fourth argument to ptrace().
1992-06-24Minor cleanup for better smallbook formatting w/default FSF style.Roland Pesch1-2/+2
1992-06-24(1) removed three-part table of config name components from InstallingRoland Pesch1-101/+14
appendix (too hard to maintain, esp w/recent versions of config.sub). Also corrected xref to this section accordingly. (2) updated sample output from config.sub to match latest variation of that script (3) minor editing to gnu contrib text on set/show remotedebug
1992-06-23Fix patch fragment for ncr3000.mh to find the file in the config dir.Fred Fish1-1/+1
1992-06-23Add patch to Makefile.in to default the demangling style to ARM/Lucid insteadFred Fish1-16/+26
of gcc style. Remove the mipsread.c patch fragment that added #include <strings.h>. It is unnecessary, and causes compile failures on NCR/SVR4.
1992-06-23Minor edits to new GNU material on special commands for AMD29K registerRoland Pesch1-10/+15
stack limit.
1992-06-23Add tm-linux.h and xm-linux.h.Per Bothner1-0/+2
1992-06-23Add linux.mh and linux.mt.Per Bothner1-0/+2
1992-06-23Call setsid() when establishing new controlling terminal.Stu Grossman1-0/+1
1992-06-23Fixup patch for .Sanitize to not remove cadillac.c.Stu Grossman1-6/+16
1992-06-23Oops, retract last patch... Belongs in cadillac-patches.Stu Grossman1-1/+0
1992-06-23Fixup patch for ncr3000.h -> config/ncr3000.hStu Grossman1-0/+1
1992-06-23Add patch for .Sanitize file.Stu Grossman1-0/+16
1992-06-23Create new patch file to convert normal (mundane) GDB into SUPER-ENERGIZE GDB!Stu Grossman1-0/+946
1992-06-23* Centralize all Cadillac interface defs into defs.h.Stu Grossman1-27/+40
* Use prototypes for all interface routines (fix bugs found as a result of doing so). * Make full_filename more robust in the face of null dirname/filenames. * Get pty at startup instead of at child creation time. Put GDB descriptors 0, 1 and 2 on it so that we can see the output of shell commands. * Get rid of prompt(), use print_prompt() instead. Fixes loads of stupid prompting problems.
1992-06-23 * command.c (add_abbrev_prefix_cmd): Fix misspelling in comment.Fred Fish4-9/+25
* dwarfread.c (enum_type): Fix misspelling in comment. * valprint.c (val_print_fields, cplus_val_print): Minor adjustment to printing of C++ class structures to more closely match format for printing C structures, with and without setting pretty print.
1992-06-23 * infrun.c (wait_for_inferior): Don't test for SIGEMTPer Bothner5-38/+100
(which is not a Posix signal) if it isn't defined. * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in: New port to Linux (a free Unix clone for 386 machines).
1992-06-23New port to Linux (a free Unix clone for 386 machines).Per Bothner2-0/+11
1992-06-21(find_source_lines): Handle large st_size fields.John Gilmore2-39/+54
1992-06-21COFF changes for dealing better with EPI 29K C compiler output.John Gilmore5-181/+493
* coffread.c (record_minimal_symbol): Pass the minsym type to it. Callers changed. (coff_end_symtab): Sort blocks if needed. Complain if misordered. (read_coff_symtab): Move patch_opaque_types call from coff_symfile_read. Restrict it to symtabs from this objfile. (process_coff_symbol: C_TPDEF): Don't put ordinary foward references on opaque type chain; just let coff_lookup_type handle 'em. (decode_type): Complain about tagndx values on non-struct/union/enum types, which the EPI compiler tends to produce. * symtab.c (list_symbols): Make minimal symbol variable-finding work. * tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order dependency. * elfread.c (elf_symfile_read): Update bfd_elf_find_section usage to match new prototype. Include libbfd.h to get prototype.
1992-06-21Typo.John Gilmore1-1/+1
1992-06-20* gdb.texinfo: document `set remotedebug' and `set rstack_high_address'.John Gilmore2-0/+31