aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
1992-06-24 * nm.c (valueof macro): Add missing parentheses.Per Bothner2-20/+31
(Their lack screwed up numeric_forward().)
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-24Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain4-240/+317
* app.c (process_escape): new function to handle escapes the right way, (do_scrub_next_char): use new function * cond.c (s_ifdef): do ifdef/ifndef right * read.c (s_fill): make the , expressions optional like the doc says * config/tc-h8300.[ch]: better warnings
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 * configure.in: Use mh-posix for Linux (free Unix clone).Per Bothner2-0/+8
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 * sysdep-norm.h (alloca): Protect against previous definition asFred Fish2-0/+7
a macro with arguments.
1992-06-24 * libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.Fred Fish3-2/+9
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return type match actual return type. * elf_print_symbol (section_name): Make CONST.
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 Linux hook.Per Bothner1-0/+1