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
Fred Fish
952131da03
Replace MINUS_G with CFLAGS.
1992-04-22 21:44:58 +00:00
Fred Fish
9ea9f1ec6a
Finish MINUS_G eradication.
1992-04-22 21:44:32 +00:00
Stu Grossman
d6c20dc563
Add config target for 29k/UDI.
1992-04-22 21:02:22 +00:00
Stu Grossman
d7df9c3ca4
Add lotsa files for 29k UDI debugger interface support.
1992-04-22 20:40:53 +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
Fred Fish
1867b3be84
Back out of TYPE_FLAG_FUND_TYPE change, solve the problem in valprint.c by
...
just printing the type name from the type if it is not otherwise handled.
Implement new handling of the ".syms" file for reusable symbol files.
1992-04-18 02:30:28 +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
Stu Grossman
8616205a75
* remote-vx.c, vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
...
vx-share/xdr_rdb.h: Update for new remote protocol under VxWorks
5.0.2.
1992-04-14 21:34:01 +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
Fred Fish
5435f92798
New configuration file for ncr 3000.
1992-04-11 05:40:44 +00:00
John Gilmore
77b46d1331
* gdb.texinfo: Update for GDB-4.5. Move `Formatting
...
Documentation' ahead of `Installing GDB' to match README.
Update shared library doc, -readnow and -mapped, and directory
structure (add glob and mmalloc). Update configure doc.
1992-04-11 00:54:44 +00:00
Stu Grossman
5dabd1a5eb
alldeps.mak and depend once again!
1992-04-10 23:29:21 +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
6f55e88d99
One more time...
1992-04-10 22:04:09 +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
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