John Gilmore
554d1be43d
* xcoffread.c (NO_TYPEDEFS): Fix typo in commented-out #define.
* sparc-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_gregset): New functions for SVR4 /proc support.
35 years ago
Fred Fish
95967e7379
Add swapin() function, and SWAPIN macro that calls it, to do byte swapping
copies using appropriate bfd routines.
35 years ago
Fred Fish
6e706950c3
Recognize new ncr3000 config.
35 years ago
Stu Grossman
b69ce5ab27
* Makefile.in: Update version to 4.5.
* WHATS.NEW: The obvious.
35 years ago
Stu Grossman
ece3256543
* depend: Generate new depend file for this release.
35 years ago
Stu Grossman
601836ef90
* Makefile.in (depend): Fix dependancy generation so that it does
not include gcc 'fixincluded' files, which are usually in a system
specific location.
35 years ago
Per Bothner
9b6f92dbfd
buildsym.c: Fix parameter mis-match.
Check in ChangeLog (forgotten last night).
35 years ago
Stu Grossman
7fe388adce
* Makefile.in: version=4.4.88, add xm-vax.h to HFILES.
35 years ago
John Gilmore
9e53d9dce6
Minor changes for Solaris.
35 years ago
Stu Grossman
5661980309
* xm-i386mach.h: add decls for errno and strdup().
35 years ago
Stu Grossman
ff1e35cb62
* xm-i386mach.h: add decl for errno.
35 years ago
Per Bothner
6fba3d7c95
* breakpoint.c (breakpoint_1): Add (int) casts for enums
used in array index context (otherwise, some compilers barf).
35 years ago
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.
35 years ago
Stu Grossman
1f415ae722
* Makefile.in (HFILES): Add xcoffsolib.h.
35 years ago
Stu Grossman
2741887bb0
rs6000-pinsn.c!!! Not .h!!!
35 years ago
Stu Grossman
14832b2e6a
* rs6000-pinsn.c: #include "opcode/rs6k.h"
35 years ago
Stu Grossman
c994feb68e
* rs6k-opcode.h: Move to ../include/opcode/rs6k.h.
35 years ago
Stu Grossman
96c19d0f6d
* mipsread.c (read_mips_symtab, read_the_mips_symtab,
mipscoff_symfile_read): Convert to BFD to do file I/O.
35 years ago
Stu Grossman
c1bde6653a
* symfile.c: #include <ctype.h> to get proper def if isspace().
35 years ago
Stu Grossman
628c6d3b78
* i386-tdep.c (get_longjmp_target): #ifdef GET_LONGJMP_TARGET.
35 years ago
Stu Grossman
391ca579f1
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
35 years ago
Per Bothner
ad142b8e1f
* mipsread.c: Create a .gdbinfo pseudo-symbol for each
function also when parsing embedded stabs.
35 years ago
Stu Grossman
e5578a31ee
* mipsread.c: Fix many invocations of complain. Use enum
type_code where appropriate.
35 years ago
Stu Grossman
41bd448eaa
* mipsread.c: Fix many invocations of complain.
35 years ago
Stu Grossman
995e7f86f3
* xm-vaxult.h: Add decl for strdup().
35 years ago
Stu Grossman
ce9260ae3e
* Makefile.in: Add dependancies for xm-vaxbsd.h and xm-vaxult.h
for xm-vax.h.
35 years ago
Stu Grossman
b2de19e3c6
* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
35 years ago
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.
35 years ago
Fred Fish
d65eee73d4
Fix bug with gdb resending SIGSTOP to an attached process that was forcibly
stopped during attach, thus stopping it again.
35 years ago
Stu Grossman
239e7ee90f
* Makefile.in (SFILES_MAINDIR): add mipsread.c
35 years ago
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.
35 years ago
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.
35 years ago
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.
35 years ago
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.
35 years ago
John Gilmore
ac88ca205c
Lint.
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
35 years ago
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.
35 years ago
Stu Grossman
3bec9cddbe
* mipsread.c (parse_procedure): PDR.isym should get pointer to
function name, not .gdbinfo. symbol.
35 years ago
John Gilmore
e360572cf2
(breakpoint_1): Fix prototype, this time for sure!
35 years ago
Stu Grossman
5e8fdb82d9
* Makefile.in: version->4.4.8
35 years ago
Stu Grossman
fad3fc945a
* procfs.c (open_proc_file): Disable inherit-on-fork flag so that
commands in .cshrc/.profile won't get traced.
35 years ago
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.
35 years ago
Stu Grossman
f8b4aa8ec3
* Makefile.in (alldeps.mak): Config files are now *.m[ht] as
opposed to m[ht]-*!
35 years ago
Stu Grossman
9d4c62df07
* config/irix4.mh: Don't use coredep.o. It doesn't work with procfs.
35 years ago
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.
35 years ago
Per Bothner
d26b50b794
c-exp.y: Add missing return type to yyparse() prototype.
35 years ago
John Gilmore
be772100b5
Lint
35 years ago
Per Bothner
1eeba68641
Merged in latest RS6000 diffs from Metin G. Ozisik.
35 years ago
Fred Fish
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.
35 years ago
John Gilmore
c2e4669f8c
Misc cleanups from code review.
35 years ago
Fred Fish
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.
35 years ago