Commit graph

1039 commits

Author SHA1 Message Date
Per Bothner
095db7ce45 Changes from metin@ibmpa.awdpa.ibm.com (Metin G. Ozisik).
* buildsym.c  (#ifdef RS6000_TARGET):  Don't create unnecessary
	symbols for nameless types.  And, handle `R' (register parameter
	type) for AIX.  (an extension to existing stabstring grammar).
	* rs6000-xdep.c:  Fix typo (= should have been ==).
1992-04-09 07:57:10 +00:00
Stu Grossman
5661980309 * xm-i386mach.h: add decls for errno and strdup(). 1992-04-08 05:37:32 +00:00
Stu Grossman
ff1e35cb62 * xm-i386mach.h: add decl for errno. 1992-04-08 01:14:17 +00:00
Per Bothner
6fba3d7c95 * breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
1992-04-07 23:37:16 +00:00
Stu Grossman
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.
1992-04-07 23:09:50 +00:00
Stu Grossman
1f415ae722 * Makefile.in (HFILES): Add xcoffsolib.h. 1992-04-07 20:48:19 +00:00
Stu Grossman
2741887bb0 rs6000-pinsn.c!!! Not .h!!! 1992-04-07 20:46:02 +00:00
Stu Grossman
14832b2e6a * rs6000-pinsn.c: #include "opcode/rs6k.h" 1992-04-07 20:45:16 +00:00
Stu Grossman
c994feb68e * rs6k-opcode.h: Move to ../include/opcode/rs6k.h. 1992-04-07 20:38:30 +00:00
Stu Grossman
96c19d0f6d * mipsread.c (read_mips_symtab, read_the_mips_symtab,
mipscoff_symfile_read):  Convert to BFD to do file I/O.
1992-04-07 17:23:36 +00:00
Stu Grossman
c1bde6653a * symfile.c: #include <ctype.h> to get proper def if isspace(). 1992-04-07 16:47:48 +00:00
Stu Grossman
628c6d3b78 * i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET. 1992-04-07 15:50:00 +00:00
Stu Grossman
270a2e5383 version->4.4.87 1992-04-07 06:25:46 +00:00
Stu Grossman
391ca579f1 * mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
1992-04-07 06:21:33 +00:00
Per Bothner
ad142b8e1f * mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
1992-04-07 00:29:36 +00:00
Stu Grossman
e5578a31ee * mipsread.c: Fix many invocations of complain. Use enum
type_code where appropriate.
1992-04-07 00:17:33 +00:00
Stu Grossman
41bd448eaa * mipsread.c: Fix many invocations of complain. 1992-04-06 23:43:04 +00:00
Roland Pesch
cc9bc574ec Updates to text on "info proc". 1992-04-06 23:40:23 +00:00
Stu Grossman
995e7f86f3 * xm-vaxult.h: Add decl for strdup(). 1992-04-06 23:37:23 +00:00
Roland Pesch
95d5ceb921 0) Update descriptions of symbol-file, file, add-symbol-file cmds for use
of *options* "-readnow" and "-mapped".

1) Change title/subtitle to come closer to text used by FSF when they
printed this thing (but still avoid silliness of having word "manual" in
the title).

2) First few minor corrections from most recent Chassell pass.
1992-04-06 23:29:36 +00:00
Stu Grossman
ce9260ae3e * Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
for xm-vax.h.
1992-04-06 22:26:30 +00:00
Stu Grossman
bf2261244a *** empty log message *** 1992-04-06 18:40:40 +00:00
Stu Grossman
b2de19e3c6 * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
1992-04-04 01:43:01 +00:00
Per Bothner
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.
1992-04-03 20:25:57 +00:00
Fred Fish
d65eee73d4 Fix bug with gdb resending SIGSTOP to an attached process that was forcibly
stopped during attach, thus stopping it again.
1992-04-03 19:29:29 +00:00
Stu Grossman
4d0d3491e3 version = 4.4.86 1992-04-03 18:48:33 +00:00
Stu Grossman
239e7ee90f * Makefile.in (SFILES_MAINDIR): add mipsread.c 1992-04-03 09:39:11 +00:00
John Gilmore
2bdc4094ab Add sun4os5 (Solaris) config files. 1992-04-03 04:47:16 +00:00
John Gilmore
ede23f3b2f Sort the names, since the file renaming. 1992-04-03 04:46:38 +00:00
John Gilmore
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.
1992-04-03 04:30:55 +00:00
John Gilmore
29acf1753a Don't need to bring in mipsread.o specially any more. 1992-04-03 04:27:03 +00:00
Stu Grossman
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.
1992-04-03 03:55:42 +00:00
Fred Fish
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.
1992-04-02 18:00:10 +00:00
John Gilmore
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.
1992-04-02 11:56:14 +00:00
John Gilmore
ac88ca205c Lint.
* symfile.c (add_symbol_file_command):  Initialize mapped/readnow.
1992-04-02 10:35:19 +00:00
Fred Fish
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.
1992-04-01 19:46:14 +00:00
Fred Fish
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.
1992-04-01 03:09:02 +00:00
Stu Grossman
3bec9cddbe * mipsread.c (parse_procedure): PDR.isym should get pointer to
function name, not .gdbinfo. symbol.
1992-04-01 01:50:30 +00:00
John Gilmore
7e7ba5e2c4 Keep sun4os5 config files now that Sun says it's OK. 1992-04-01 01:08:06 +00:00
John Gilmore
e360572cf2 (breakpoint_1): Fix prototype, this time for sure! 1992-04-01 01:07:16 +00:00
Stu Grossman
5e8fdb82d9 * Makefile.in: version->4.4.8 1992-03-31 20:00:06 +00:00
Stu Grossman
fad3fc945a * procfs.c (open_proc_file): Disable inherit-on-fork flag so that
commands in .cshrc/.profile won't get traced.
1992-03-31 19:03:28 +00:00
John Gilmore
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.
1992-03-31 16:16:41 +00:00
Stu Grossman
f8b4aa8ec3 * Makefile.in (alldeps.mak): Config files are now *.m[ht] as
opposed to m[ht]-*!
1992-03-31 05:23:15 +00:00
Stu Grossman
9d4c62df07 * config/irix4.mh: Don't use coredep.o. It doesn't work with procfs. 1992-03-31 02:36:24 +00:00
Stu Grossman
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.
1992-03-31 01:21:01 +00:00
Per Bothner
d26b50b794 c-exp.y: Add missing return type to yyparse() prototype. 1992-03-30 22:19:14 +00:00
John Gilmore
be772100b5 Lint 1992-03-29 23:26:47 +00:00
John Gilmore
3414e4eb38 New host and target. 1992-03-29 23:22:35 +00:00
John Gilmore
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.
1992-03-29 23:18:31 +00:00