Commit graph

  • d203e17273 Converted from Fred's original README; no changes in substance. Roland Pesch 1992-04-07 23:35:43 +00:00
  • e05ba37d1f * m68k-tdep.c, tm-sun3.h: #ifdef around get_longjmp_target(). Change def of SAVED_PC_AFTER_CALL to call routine to see if we are in a system call, and provide better backtrace if so. Stu Grossman 1992-04-07 23:09:50 +00:00
  • da2f87448e mh-a68bsd is the Apollo Series 400 host file, to be used when running under the BSD emulation environment ($SYSTYPE=bsd4.3). Sean Eric Fagan 1992-04-07 22:24:46 +00:00
  • 86582e8d6c The Apollo compiler doesn't like assigning variables to enum's. So, add a new enum to the class, with a value of 0. Sean Eric Fagan 1992-04-07 22:20:00 +00:00
  • 3876b4c55d ChangeLog entries describing my changes. Sean Eric Fagan 1992-04-07 22:18:44 +00:00
  • 343fb08da8 Change a series of #if/#elif to #if/#else/#if.../#endif. The apollo compiler lies about being ANSI conformant. Sean Eric Fagan 1992-04-07 22:18:18 +00:00
  • da7aaffbae The apollo make does not like lines which end in a backslash, but do not have anything following (it tries to interpret the next line as a command; for this file, the next line was merely more rules). Sean Eric Fagan 1992-04-07 22:16:41 +00:00
  • 68cd7865a6 Support for Apollo Series 400 machines, under the BSD environment. Sean Eric Fagan 1992-04-07 22:11:30 +00:00
  • 3ab074bcaa Add rs6k.h Stu Grossman 1992-04-07 20:53:43 +00:00
  • 1f415ae722 * Makefile.in (HFILES): Add xcoffsolib.h. Stu Grossman 1992-04-07 20:48:19 +00:00
  • 2741887bb0 rs6000-pinsn.c!!! Not .h!!! Stu Grossman 1992-04-07 20:46:02 +00:00
  • 14832b2e6a * rs6000-pinsn.c: #include "opcode/rs6k.h" Stu Grossman 1992-04-07 20:45:16 +00:00
  • aa505f07bd * rs6k.h: Move from ../../gdb/rs6k-opcode.h. Stu Grossman 1992-04-07 20:39:31 +00:00
  • c994feb68e * rs6k-opcode.h: Move to ../include/opcode/rs6k.h. Stu Grossman 1992-04-07 20:38:30 +00:00
  • 96c19d0f6d * mipsread.c (read_mips_symtab, read_the_mips_symtab, mipscoff_symfile_read): Convert to BFD to do file I/O. Stu Grossman 1992-04-07 17:23:36 +00:00
  • c1bde6653a * symfile.c: #include <ctype.h> to get proper def if isspace(). Stu Grossman 1992-04-07 16:47:48 +00:00
  • 628c6d3b78 * i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET. Stu Grossman 1992-04-07 15:50:00 +00:00
  • 92f73b4228 Added the file. Sean Eric Fagan 1992-04-07 10:04:26 +00:00
  • 270a2e5383 version->4.4.87 Stu Grossman 1992-04-07 06:25:46 +00:00
  • 391ca579f1 * mipsread.c: Create a .gdbinfo pseudo-symbol for each function also when parsing embedded stabs. Stu Grossman 1992-04-07 06:21:33 +00:00
  • 27c28d61ce * configure.in: sco is an os, not a vendor! Stu Grossman 1992-04-07 05:57:36 +00:00
  • f73b6c4867 Get rid of the other half of the ugly kludge as well... Fred Fish 1992-04-07 03:54:54 +00:00
  • aafba48f94 Get rid of include of <stdlib.h>, which is not guaranteed to be present even when __STDC__ is defined. This also causes the ugly malloc/realloc/etc kludge to go away. Fred Fish 1992-04-07 03:53:12 +00:00
  • ad142b8e1f * mipsread.c: Create a .gdbinfo pseudo-symbol for each function also when parsing embedded stabs. Per Bothner 1992-04-07 00:29:36 +00:00
  • e5578a31ee * mipsread.c: Fix many invocations of complain. Use enum type_code where appropriate. Stu Grossman 1992-04-07 00:17:33 +00:00
  • 41bd448eaa * mipsread.c: Fix many invocations of complain. Stu Grossman 1992-04-06 23:43:04 +00:00
  • cc9bc574ec Updates to text on "info proc". Roland Pesch 1992-04-06 23:40:23 +00:00
  • 995e7f86f3 * xm-vaxult.h: Add decl for strdup(). Stu Grossman 1992-04-06 23:37:23 +00:00
  • 6f2a109c2c * detach.c (mmalloc_detach): Arg should be PTR, not void *. Fixes complaints from non __STDC__ systems. Stu Grossman 1992-04-06 23:35:26 +00:00
  • 95d5ceb921 0) Update descriptions of symbol-file, file, add-symbol-file cmds for use of *options* "-readnow" and "-mapped". Roland Pesch 1992-04-06 23:29:36 +00:00
  • ce9260ae3e * Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h for xm-vax.h. Stu Grossman 1992-04-06 22:26:30 +00:00
  • dd7368a7cf * configure: Quote $( better. Keep various shells happy. Stu Grossman 1992-04-06 21:35:22 +00:00
  • bf2261244a *** empty log message *** Stu Grossman 1992-04-06 18:40:40 +00:00
  • 9d1fe8a410 New lexer. Steve Chamberlain 1992-04-05 01:47:16 +00:00
  • b2de19e3c6 * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to process_one_symbol. Stu Grossman 1992-04-04 01:43:01 +00:00
  • 556f3d9029 * munch: Must pre-pend "_" to "initialize" for SYSV style nm. * tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h: Merge in more patches for rs6000 from Metin Ozisik. * utils.c: Fix typo in comment. Per Bothner 1992-04-03 20:25:57 +00:00
  • 677ff94729 Cast macro args to unsigned to avoid complaints from compiler and lint about integer overflow during left shift of 16 bits. Fred Fish 1992-04-03 19:33:14 +00:00
  • d65eee73d4 Fix bug with gdb resending SIGSTOP to an attached process that was forcibly stopped during attach, thus stopping it again. Fred Fish 1992-04-03 19:29:29 +00:00
  • 4d0d3491e3 version = 4.4.86 Stu Grossman 1992-04-03 18:48:33 +00:00
  • 239e7ee90f * Makefile.in (SFILES_MAINDIR): add mipsread.c Stu Grossman 1992-04-03 09:39:11 +00:00
  • 2bdc4094ab Add sun4os5 (Solaris) config files. John Gilmore 1992-04-03 04:47:16 +00:00
  • ede23f3b2f Sort the names, since the file renaming. John Gilmore 1992-04-03 04:46:38 +00:00
  • 291dcdc65c New sym files John Gilmore 1992-04-03 04:32:41 +00:00
  • e10a30523e * Makefile.in (OBS): Compile mipsread.c for all targets now. (VERSION): Bump to 4.4.85. * mipsread.c: Update for new include files. Lint. * tm-irix3.h, tm-mips.h: Use new include files for ECOFF symtab. * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}: Don't need to bring in mipsread.o specially any more. John Gilmore 1992-04-03 04:30:55 +00:00
  • 29acf1753a Don't need to bring in mipsread.o specially any more. John Gilmore 1992-04-03 04:27:03 +00:00
  • 9e1cd294b5 Date: Thu, 2 Apr 92 15:48:13 -0800 From: wu@mips.com (Alex Wu) Message-Id: <9204022348.AA20058@goofy.mips.com> To: gnu@cygnus.com Subject: sym.h & symconst.h John Gilmore 1992-04-03 04:01:35 +00:00
  • 4ad1963ee0 * mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real routine (for Irix-4.x). Make many funcs static and void. * mips-tdep.c (mips-frame-chain): Clean up, simplify. * (init_extra_frame_info): Don't trash cached value of frame pointer register. This fixes backtracing through routines that use alloca(). Generally clean up declarations of functions, and use typedefs and macros to reference data structures as appropriate. * tm-irix3.h, tm-mips.h (EXTRA_FRAME_INFO): use proper type for proc_desc element. Stu Grossman 1992-04-03 03:55:42 +00:00
  • 79a6ce4fa6 * Makefile.in: Now that we have sym.h and symconst.h, compile coff-msym.c on all systems. * coff-msym.c: Update include files and comments; add weakext bit. John Gilmore 1992-04-03 01:47:27 +00:00
  • 5c1c5e6745 Fix bug in values.c unpacking signed characters on hosts where the default character type is unsigned. Add some cases to the tables in procfs.c for constants defined in newer SVR4 systems and reorder the tests for ioctl support of resetting the inherit-on-fork flag to favor the latest method using PIOCRESET. Fred Fish 1992-04-02 18:00:10 +00:00
  • 03c93c664d * buildsym.c (read_struct_type): Avoid coredump when C++ abbreviated type name is messed up. Reported by Joe Buck. FIXME, we need to determine whether GDB or GCC needs to be smarter to correctly locate this type name. p*927 circumvention, needs real fix when Tiemann's back. John Gilmore 1992-04-02 11:56:14 +00:00
  • ac88ca205c Lint. * symfile.c (add_symbol_file_command): Initialize mapped/readnow. John Gilmore 1992-04-02 10:35:19 +00:00
  • adf5061ceb * archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c, section.c, srec.c, syms.c, coff-h8300.c: Lint. John Gilmore 1992-04-02 07:26:31 +00:00
  • 9640d88754 Add kludge to work around broken <stdlib.h> in gcc installation on Suns. Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc. Fred Fish 1992-04-01 19:49:00 +00:00
  • cc221e76d6 Many changes to procfs.c, mostly to expand the "info proc" command and to fix a couple of small bugs. Changes to other files mostly to fix minor things pointed out by the SGI compiler. See ChangeLog for complete details. Fred Fish 1992-04-01 19:46:14 +00:00
  • 6b80138803 Changes in procfs.c to fix bug with inferior's siginfo struct getting needlessly stomped. Changes in elfread.c and solib.c to fix DWARF processing, broken by other recent changes. Fred Fish 1992-04-01 03:09:02 +00:00
  • 3bec9cddbe * mipsread.c (parse_procedure): PDR.isym should get pointer to function name, not .gdbinfo. symbol. Stu Grossman 1992-04-01 01:50:30 +00:00
  • 7e7ba5e2c4 Keep sun4os5 config files now that Sun says it's OK. John Gilmore 1992-04-01 01:08:06 +00:00
  • e360572cf2 (breakpoint_1): Fix prototype, this time for sure! John Gilmore 1992-04-01 01:07:16 +00:00
  • 5e8fdb82d9 * Makefile.in: version->4.4.8 Stu Grossman 1992-03-31 20:00:06 +00:00
  • fad3fc945a * procfs.c (open_proc_file): Disable inherit-on-fork flag so that commands in .cshrc/.profile won't get traced. Stu Grossman 1992-03-31 19:03:28 +00:00
  • 3b0b92207c * elfread.c (elf_symtab_read): Use xmalloc, not bfd_xmalloc. * exec.c (build_section_table): Don't abort if no sections. * sparc-tdep.c (single_step): Lint. * utils.c (mrealloc): Handle realloc (0, size) case here. John Gilmore 1992-03-31 16:16:41 +00:00
  • 079b2abe97 add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if [ -d ... $(MAKE)" lines. K. Richard Pixley 1992-03-31 06:35:16 +00:00
  • 5620a251c8 gdb.tar.Z: all-texinfo target is now .stmp-texinfo. Stu Grossman 1992-03-31 06:31:05 +00:00
  • f8b4aa8ec3 * Makefile.in (alldeps.mak): Config files are now *.m[ht] as opposed to m[ht]-*! Stu Grossman 1992-03-31 05:23:15 +00:00
  • 510a21946f Add mh-aix Stu Grossman 1992-03-31 04:51:02 +00:00
  • 95e19a8afe Add sysv4.h Stu Grossman 1992-03-31 04:49:27 +00:00
  • a11565c970 Add irix4.h Stu Grossman 1992-03-31 04:46:53 +00:00
  • 9ef1e2da7c Keep PORTING Stu Grossman 1992-03-31 04:44:32 +00:00
  • 9d4c62df07 * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs. Stu Grossman 1992-03-31 02:36:24 +00:00
  • d1bb1d4170 * mipsread.c (parse_symbol, parse_procedure): Re-do the way that .gdbinfo. symbols are created. Move creation from parse_procedure to parse_symbol, where it is fairly easy to grow the symtab. This also fixes a symtab trashing bug on all mips-based systems. * (got_numargs, lookup_numargs, free_numargs): Delete. Not needed anymore. * tm-mips.h, tm-iris3.h, mips-tdep.c, mipsread.c: Re-do struct mips_extra_func_info, and all the PROC_xxx macros that look at it. Stu Grossman 1992-03-31 01:21:01 +00:00
  • d26b50b794 c-exp.y: Add missing return type to yyparse() prototype. Per Bothner 1992-03-30 22:19:14 +00:00
  • be772100b5 Lint John Gilmore 1992-03-29 23:26:47 +00:00
  • 3414e4eb38 New host and target. John Gilmore 1992-03-29 23:22:35 +00:00
  • c8950965c9 * Makefile.in (VERSION): Roll to 4.4.7. (HFILES): Add call-cmds.h. * call-cmds.h: New header for command fns called by other files. * breakpoint.c (watchpoints_info): Remove, same as breakpoints_info. (breakpoint_1): Remove unused type arg. Change callers. John Gilmore 1992-03-29 23:18:31 +00:00
  • 84ffdec2cb Create and use macros for iterating on symtabs, psymtabs, msymbols. John Gilmore 1992-03-29 23:17:36 +00:00
  • f9e3b3ccc2 * target.c (nomemory): Now that higher levels examine errno, give EIO. * tm-sparc.h: Don't #include <sun4/reg.h>. * sparc-tdep.c (sparc_frame_chain, frame_saved_pc): Remove dependency on <sun4/reg.h>. Start to handle cross-byte-order. * language.h: Avoid forward enum declaration. * configure.in, tm-sun4os5.h, xm-sun4os5.h, config/sun4os5.mh, config/sun4os5.mt: New host and target. * defs.h (errno): #include <errno.h> rather than assuming int. From Pierre Willard. John Gilmore 1992-03-29 23:14:34 +00:00
  • 1eeba68641 Merged in latest RS6000 diffs from Metin G. Ozisik. Per Bothner 1992-03-29 22:33:35 +00:00
  • be78a1301f * config/sparc-elf.mt, hosts/sysv4.h: New config files. John Gilmore 1992-03-29 18:46:10 +00:00
  • c86190dd2a * bout.c, coff-a29k.c, coff-i960.c: Lint. * configure.in: Add new host and target configs. * elf.c (bfd_prstatus, bfd_fpregset): Avoid typename of register structs, which vary; just use member name. (elf_object_p, elf_core_file_p): Lint, fix comments. * config/sparc-elf.mt, hosts/sysv4.h: New config files. John Gilmore 1992-03-29 18:45:43 +00:00
  • d4acec2c22 Fix to use a single disposable copy of section header table and program header table entries. Fred Fish 1992-03-28 21:10:05 +00:00
  • bf349b77fa Add OBJF_SYMS flag and use it to decide whether or not we have already tried to read symbols from a file, for mapped objfiles. This fixes a memory leak (actually a constant memory growth) due to reading symbol files with no debug info and thus generating no psymtabs or symtabs. Most typically happened with shared libraries. Fred Fish 1992-03-28 21:06:23 +00:00
  • c2e4669f8c Misc cleanups from code review. John Gilmore 1992-03-27 23:56:15 +00:00
  • 46f88c1138 More cleanups for gprof, especially with the '386 target. Sean Eric Fagan 1992-03-27 22:11:14 +00:00
  • a95888ed71 Added support for building on/for an embedded 386 using encapsulated coff. Sean Eric Fagan 1992-03-27 22:10:04 +00:00
  • 9a14a29d8a Put in stuff necessary for gprof to be built, cleaned up, etc. Sean Eric Fagan 1992-03-27 22:08:47 +00:00
  • 01fb5bca1c Document requirements for calling mmcheck to install corruption checking hooks and set up to enforce the requirements. However, we still allow unconditional installation until some complications are resolved. Fred Fish 1992-03-27 01:11:08 +00:00
  • 3624c87592 Mostly changes to dbxread.c to preserve stringtab's on a per-objfile basis, for use in expanding psymtabs to full symtabs. See ChangeLog for other details. Fred Fish 1992-03-27 01:04:14 +00:00
  • 17904eeb4d Set MINIMIZE to 0 for a real release. John Gilmore 1992-03-27 01:00:58 +00:00
  • 9efdc2feaa * rs6000-pinsn.c: Make dis-assembly output more like other targets: Don't print instruction in hex before the assembly; use print_address to print out jump destinations. Per Bothner 1992-03-26 21:22:50 +00:00
  • 04f27ddc6d * c-exp.y, gdbtypes.h: Add builtin_type_signed_char. * cplus-dem.c: Support "Sc" meaning "signed char". Per Bothner 1992-03-26 08:33:43 +00:00
  • 88f36033ee * configure.in: fix iris/iris3. Stu Grossman 1992-03-25 23:22:47 +00:00
  • 5c71cf23f9 * command.c, main.c (various places): Use ctype.h macros (such as isupper(x)), instead of hard-wiring in ASCII-isms (such as (x >= 'A' && x <= 'Z')). (There are still more of these in other files.) * main.c (defined_command): Lower-case the user's new command before entering it. Needed because command lookup is case-insensitive (and also lower-cases). (Based on Metin's earlier patch.) Per Bothner 1992-03-25 23:07:16 +00:00
  • c6b5156357 * history.c (stifle_history): Negative arg treated as zero. John Gilmore 1992-03-25 18:47:09 +00:00
  • 88578a2a10 re-add -rm K. Richard Pixley 1992-03-25 18:34:46 +00:00
  • 787bc4fe9f aix and irix4 support. K. Richard Pixley 1992-03-25 07:52:24 +00:00
  • e855b0f8a8 add stamp-rcs to all K. Richard Pixley 1992-03-25 07:51:57 +00:00
  • b4e2a59bef remove gas from rs6000 build, use aix host fragment K. Richard Pixley 1992-03-25 07:51:05 +00:00
  • 0e693d0b0e pass site_option to recursions K. Richard Pixley 1992-03-25 07:49:53 +00:00
  • 713db40a91 INSTALL_PROG -> INSTALL K. Richard Pixley 1992-03-25 07:46:51 +00:00
  • 00b6671ff2 added standard targets, fixed install directories K. Richard Pixley 1992-03-25 07:41:41 +00:00