Commit Graph

480 Commits

Author SHA1 Message Date
Stu Grossman 9e91f617eb * Makefile.in (make-proto-gdb-1): 1st cut at packaging
29k-share/* subdirs...
1992-04-24 21:41:53 +00:00
Stu Grossman 54847287d9 * remote-udi.c (udi_insert/remove_breakpoint): Completely
rewrite, only leave out the bugs.
1992-04-24 21:39:01 +00:00
Stu Grossman 0857b46a9c * Makefile.in: Add 29k/UDI support. Improve depend.
* .Sanitize, alldeps.mak, configure.in, depend:  Add 29k/UDI support.
1992-04-24 15:01:45 +00:00
Stu Grossman 07df483123 * am29k-tdep.c: Update to use new calling conventions, and misc
symbol elements.
1992-04-24 14:52:26 +00:00
Stu Grossman 72b1aa3096 * m68k-pinsn.c (print_insn_arg): Make branch offsets be signed. 1992-04-24 14:45:53 +00:00
Stu Grossman 66a8a9b4d2 * tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice
breakpoint instructions that leave PC pointing at the right place.
1992-04-24 06:32:59 +00:00
Fred Fish c8094777b6 Call warning() to print warnings, which deals properly with leading and
trailing newlines, as well as presenting a consistent prefix for warnings
(IE "warning: ").
1992-04-24 01:45:47 +00:00
Stu Grossman 35a258406b * symtab.c (lookup_symbol): Need to check if msymbol->name is
NULL, as ALL_MSYMBOLS will never return a NULL msymbol pointer.
This prevents a crash when trying to lookup the value of a
non-existent symbol.
1992-04-22 17:01:22 +00:00
Fred Fish 4ace50a510 Remove now obsolete signame.c and signame.h; functionality is handled by
libiberty/strsignal.c.  Widespread changes to use libiberty/strerror.c
functions for errno manipulations and libiberty/strsignal.c for signo
(signals) manipulations.
1992-04-22 16:46:47 +00:00
K. Richard Pixley 6e6bf7f2ca Makefile.in: rework CFLAGS so that they can be set from the command
line to make.  CFLAGS -> INTERNAL_CFLAGS.  USER_CFLAGS -> CFLAGS.
Remove MINUS_G.  Default CFLAGS to -g.  Pass CFLAGS on recusions.
1992-04-21 19:43:05 +00:00
John Gilmore b0c8c72688 * sun3-xdep.c (fetch_core_registers): Lint.
* tm-sun3.h:  Prototype lint.
* value.h:  Typo.
1992-04-17 06:58:05 +00:00
Fred Fish 2d6d969c61 Fix to dwarfread.c to target pointer and target long sizes, fixes for
mapped symbol file handling, and a couple of other misc small fixes.
1992-04-17 02:59:43 +00:00
Per Bothner d453b386ac * rs6000-pinsn.c: New version from IBM (Metin).
* m2-exp.y:  Re-write string initializers ("<>" => {'<', '>'})
	to avoid warnings from some compilers.
1992-04-17 01:35:42 +00:00
Fred Fish 4a11eef2eb Add TYPE_FLAG_FUND_TYPE bit to the flags member of the type structure,
and use it to decide when to print the actual type name rather than
trying to invent the name of a fundamental type.  This clears up the
confusion between int/long when they are the same sizes, removes one
obstacle to multi-language support (previously valprint.c thought
everything was a C type), and allows gdb to support distinctions between
explicitly and implicitly signed types when the compiler supports such
distinction in the debug output (as does every ANSI compiler I tested
except for gcc).
1992-04-15 05:42:00 +00:00
Fred Fish 13b5a7ff3e Extensive changes to replace swapin() function with target_to_host()
and fix all usages to be independent of host/target integer size
mismatches.  However, cross debugging will still not work until the
sign extension issue is resolved either by fixing the bfd library
or implementing sign extension in the gdb code.
1992-04-14 04:09:00 +00:00
John Gilmore 3bc8241050 Revised -mapped description. 1992-04-13 23:08:01 +00:00
John Gilmore 817bc7b82a * mipsread.c (parse_partial_symbols): Complain when sh->index is
too high or when skipping `forwards' moves us backwards.
	(parse_type):  Print mis-guessed tag name in complaint.
	(parse_external):  Eliminate cur_stab and obscure top_stack clobbers.
	(parse_procedure):  Do not attempt to create symbols; just fill in
	the SYMBOL_VALUE field of a .gdbinfo. symbol if we can find one.
	(psymtab_to_symtab_1):  Split up `stabs' from `native ecoff' code
	for clarity.  Set top_stack before calling parse_external.  In
	stabs, sort symbols before calling parse_procedure.
	* mipsread.c:  Lint.
	* symmisc.c (std_in, std_out, std_err):  Add vars to access std
	FILE *'s when debugging GDB (e.g. as args to dump_symtab).
	* Makefile.in:  Remove stage* targets.  Avoid echo on recursive
	makes.  Eliminate doc/Makefile from tar.Z file if doc/Makefile.in
	exists.
	* mipsread.c:  Cleanup.  Add more complaints for unhandled cases.
	Remove new symbol types and such to ../include/coff/symconst.h.
	(parse_symbol):  Simplify code for parsing struct/enum/unions.
	(parse_type):  Handle `long long' types.
	(upgrade_type):  Handle `const' qualifier.
	(parse_partial_symbols):  fix indentation, clean a bit.
1992-04-12 06:40:04 +00:00
John Gilmore 44d835be29 Set devo VERSION to 4.5.1 to avoid confuzzion with the released version. 1992-04-11 10:51:31 +00:00
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.
1992-04-11 06:52:54 +00:00
Fred Fish 95967e7379 Add swapin() function, and SWAPIN macro that calls it, to do byte swapping
copies using appropriate bfd routines.
1992-04-11 06:27:53 +00:00
Fred Fish 6e706950c3 Recognize new ncr3000 config. 1992-04-11 05:42:48 +00:00
Stu Grossman b69ce5ab27 * Makefile.in: Update version to 4.5.
* WHATS.NEW:  The obvious.
1992-04-10 23:02:06 +00:00
Stu Grossman ece3256543 * depend: Generate new depend file for this release. 1992-04-10 21:50:32 +00:00
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.
1992-04-10 15:33:31 +00:00
Per Bothner 9b6f92dbfd buildsym.c: Fix parameter mis-match.
Check in ChangeLog (forgotten last night).
1992-04-09 20:36:20 +00:00
Stu Grossman 7fe388adce * Makefile.in: version=4.4.88, add xm-vax.h to HFILES. 1992-04-09 19:11:18 +00:00
John Gilmore 9e53d9dce6 Minor changes for Solaris. 1992-04-09 09:30:45 +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 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
Stu Grossman 995e7f86f3 * xm-vaxult.h: Add decl for strdup(). 1992-04-06 23:37:23 +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 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 239e7ee90f * Makefile.in (SFILES_MAINDIR): add mipsread.c 1992-04-03 09:39:11 +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
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