aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1992-07-04Relocate symbols using an array of section_offsets, rather than aJohn Gilmore10-55/+500
single `addr' or `offset'. This makes Solaris-2 support work, and permits better VxWorks (and maybe xcoff) support later. See ChangeLog.
1992-07-04Tidy innerblock_complaint and blockvector_complaint.John Gilmore1-3/+6
1992-07-04* main.c (main): Read the $HOME/.gdbinit file before processingJohn Gilmore2-43/+50
the argv arguments (e.g. reading symbol files or core files). This allows global parameters to be set, which will apply during the symbol reading. The ./.gdbinit is still read after argv processing. * symtab.c (list_symbols): `i variables' shouldn't show enum values.
1992-07-04Regen after bfd/syms.c change: BSF_FILE.John Gilmore1-2/+7
1992-07-04* syms.h: Define BSF_FILE, update BSF_SECTION_SYM desc.John Gilmore1-0/+9
* elf.c: Remove unconditional debug printf's. (elf_write_object_contents, elf_slurp_symbol_table): Handle BSF_SECTION_SYM <=> STT_SECTION, BSF_FILE <=> STT_FILE. (elf_slurp_symbol_table): Hand out symbols in forward, not reverse order. Simplify duplicate code.
1992-07-04more docs on srcdir in makefiles, patch accepted by rmsDavid D. Zuhn1-3/+55
1992-07-04 * elf.c: Remove "(void)" casts from function calls where theFred Fish2-2/+7
return value is ignored, in accordance with GNU coding standards.
1992-07-04 * breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,Fred Fish35-205/+208
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
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-07-02,Steve Chamberlain1-0/+6
1992-07-02Aliasing bug fixesSteve Chamberlain2-105/+117
1992-07-01restore some old code to punt symbols which are BSF_LOCAL (needed for Solaris,Mark Eichin1-2/+0
should be correct for anything else.)
1992-07-01Make sparcfrw/sparcfrwcompat/sparclitefrw/sparclitefrwcompat validJim Wilson1-0/+16
configurations for gcc.
1992-06-30 * hppa.c: Apply John's standard fix to avoid "empty translationFred Fish2-1/+9
unit" warnings from some ANSI-C compilers.
1992-06-30Go ahead and make the TODO file part of the distribution, so we have aFred Fish1-0/+1
recognized place to note things which are not yet implemented.
1992-06-30 * mmalloc.h (struct mdesc): Add FIXME comments to point out theFred Fish2-6/+22
need to save some data on a per-process basis for mapped regions that are shared. * attach.c (reuse): Update the morecore field for reused mapped regions to be correct for the current process.
1992-06-30Small clarification in description of Jxx FOO expansion for 680x0.Roland Pesch1-1/+2
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-30Update to gcc 2.2.2. New basic machine type we32k. Hppa split into hppa1.0Jim Wilson1-7/+28
and hppa1.1. (hppa is no longer valid.)
1992-06-29 * mmtrace.c: Lint.Fred Fish2-0/+176
1992-06-29 * obstack.h: Convert bcopy() use to memcpy(), which is moreFred Fish1-0/+11
portable, more standard, and can take advantage of gcc's builtin functions for increased performance.
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-28 * h8300.h: Finish filling in all the holes in the opcode table,Fred Fish1-105/+124
so that the Lucid C compiler can digest this as well...
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-27Use tabs to indent comments, so they line up.John Gilmore1-1/+1
1992-06-27* i386.h: Add setc, setnc, addr16, data16, repz, repnz aliases.John Gilmore2-0/+855
Fix opcodes on various sizes of fild/fist instructions (16bit=no suffix, 32bit="l" suffix, 64bit="ll" suffix). Fixes suggested by Minh Tran-Le.
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-26Install into the right place for crossSteve Chamberlain1-3/+7
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* configure.in: Make bsd based systems use sysdep-obsd.h.Stu Grossman1-0/+4
1992-06-25Declare free() for hpux.Stu Grossman1-0/+3
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-25Lint. Remove excess whitespace.John Gilmore1-0/+4
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* hosts/solaris2.h: Configure same as sysv4.John Gilmore2-0/+9
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-25keep CYGNUSK. Richard Pixley1-0/+1