Fred Fish [Wed, 24 Jun 1992 04:56:01 +0000 (04:56 +0000)]
* libbfd.h, libbfd-in.h (bfd_seek): Make prototype match definition.
* reloc.c (bfd_default_reloc_type_lookup): Make cast on return
type match actual return type.
* elf_print_symbol (section_name): Make CONST.
Fred Fish [Wed, 24 Jun 1992 04:49:48 +0000 (04:49 +0000)]
* Makefile.in (VERSION): Bump to 4.5.6.
* coffread.c (coff_end_symtab): Cast 2nd arg of complain() to
correct type.
* defs.h (NORETURN): Define away for Lucid compiler.
* remote.c (remote_timer, remote_interrupt): Signal handlers
take one int arg.
* ser-termios.c (serial_write, serial_close): Return whatever
value the write/close call returns, rather than falling off end.
* inferior.h (PTRACE_ARG3_TYPE): Third arg to ptrace is int on
more systems than it is "char *". Define PTRACE_ARG3_TYPE to
default to int.
* infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c,
inferior.h (call_ptrace): Use PTRACE_ARG3_TYPE to declare type
of third arg.
* a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c,
m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c,
pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c,
symm-xdep.c, ultra3-xdep.c: Use PTRACE_ARG3_TYPE to cast ptrace
argument 3.
* sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers,
store_inferior_registers): Supply missing fourth argument to
ptrace().
Roland Pesch [Wed, 24 Jun 1992 01:17:24 +0000 (01:17 +0000)]
Minor cleanup for better smallbook formatting w/default FSF style.
Roland Pesch [Wed, 24 Jun 1992 00:15:44 +0000 (00:15 +0000)]
(1) removed three-part table of config name components from Installing
appendix (too hard to maintain, esp w/recent versions of config.sub).
Also corrected xref to this section accordingly.
(2) updated sample output from config.sub to match latest variation of
that script
(3) minor editing to gnu contrib text on set/show remotedebug
Fred Fish [Tue, 23 Jun 1992 20:33:39 +0000 (20:33 +0000)]
Fix patch fragment for ncr3000.mh to find the file in the config dir.
Fred Fish [Tue, 23 Jun 1992 20:18:21 +0000 (20:18 +0000)]
Add patch to Makefile.in to default the demangling style to ARM/Lucid instead
of gcc style.
Remove the mipsread.c patch fragment that added #include <strings.h>. It
is unnecessary, and causes compile failures on NCR/SVR4.
Roland Pesch [Tue, 23 Jun 1992 18:38:57 +0000 (18:38 +0000)]
Minor edits to new GNU material on special commands for AMD29K register
stack limit.
Per Bothner [Tue, 23 Jun 1992 06:50:30 +0000 (06:50 +0000)]
Add Linux hook.
Per Bothner [Tue, 23 Jun 1992 06:47:53 +0000 (06:47 +0000)]
New file for Linux.
Per Bothner [Tue, 23 Jun 1992 06:26:00 +0000 (06:26 +0000)]
Add tm-linux.h and xm-linux.h.
Per Bothner [Tue, 23 Jun 1992 06:24:22 +0000 (06:24 +0000)]
Add linux.mh and linux.mt.
Stu Grossman [Tue, 23 Jun 1992 06:21:14 +0000 (06:21 +0000)]
Call setsid() when establishing new controlling terminal.
Per Bothner [Tue, 23 Jun 1992 06:20:09 +0000 (06:20 +0000)]
Add i386linux.h.
Stu Grossman [Tue, 23 Jun 1992 05:27:14 +0000 (05:27 +0000)]
Per, guess what you forgot to do...
Hint: Add i386linux.c to bfd/.Sanitize...
Stu Grossman [Tue, 23 Jun 1992 05:05:15 +0000 (05:05 +0000)]
Fixup patch for .Sanitize to not remove cadillac.c.
Stu Grossman [Tue, 23 Jun 1992 05:03:32 +0000 (05:03 +0000)]
Oops, retract last patch... Belongs in cadillac-patches.
Stu Grossman [Tue, 23 Jun 1992 05:00:37 +0000 (05:00 +0000)]
Fixup patch for ncr3000.h -> config/ncr3000.h
Stu Grossman [Tue, 23 Jun 1992 04:51:32 +0000 (04:51 +0000)]
Add patch for .Sanitize file.
Stu Grossman [Tue, 23 Jun 1992 04:43:33 +0000 (04:43 +0000)]
Create new patch file to convert normal (mundane) GDB into SUPER-ENERGIZE GDB!
Stu Grossman [Tue, 23 Jun 1992 04:31:56 +0000 (04:31 +0000)]
* Centralize all Cadillac interface defs into defs.h.
* Use prototypes for all interface routines (fix bugs found as a result of
doing so).
* Make full_filename more robust in the face of null dirname/filenames.
* Get pty at startup instead of at child creation time. Put GDB descriptors
0, 1 and 2 on it so that we can see the output of shell commands.
* Get rid of prompt(), use print_prompt() instead. Fixes loads of stupid
prompting problems.
Fred Fish [Tue, 23 Jun 1992 03:33:47 +0000 (03:33 +0000)]
* command.c (add_abbrev_prefix_cmd): Fix misspelling in comment.
* dwarfread.c (enum_type): Fix misspelling in comment.
* valprint.c (val_print_fields, cplus_val_print): Minor
adjustment to printing of C++ class structures to more closely
match format for printing C structures, with and without setting
pretty print.
Steve Chamberlain [Tue, 23 Jun 1992 01:34:25 +0000 (01:34 +0000)]
Add install-newlib
Steve Chamberlain [Tue, 23 Jun 1992 01:32:47 +0000 (01:32 +0000)]
* configure: fix various problems with propogating
makefile_target_frag in subdirs.
* configure.in: config libgcc if its there
Per Bothner [Tue, 23 Jun 1992 01:05:47 +0000 (01:05 +0000)]
* i386linux.c, hosts/i386linux.h, config/i386-linux.mt:
New files, for Linux (a free Unix clone for 386 machines).
* Makefile.in, configure.in, targets.c: Update accordingly.
Per Bothner [Tue, 23 Jun 1992 00:25:11 +0000 (00:25 +0000)]
* infrun.c (wait_for_inferior): Don't test for SIGEMT
(which is not a Posix signal) if it isn't defined.
* tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in:
New port to Linux (a free Unix clone for 386 machines).
Per Bothner [Tue, 23 Jun 1992 00:23:22 +0000 (00:23 +0000)]
New port to Linux (a free Unix clone for 386 machines).
Steve Chamberlain [Mon, 22 Jun 1992 16:07:35 +0000 (16:07 +0000)]
Lint Updates
Steve Chamberlain [Mon, 22 Jun 1992 16:07:05 +0000 (16:07 +0000)]
Lint stuff which didn't make it last time
Steve Chamberlain [Mon, 22 Jun 1992 15:42:38 +0000 (15:42 +0000)]
Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and
correct calling of howto special functions and fixes from Raeburn
for gas<>bfdness
* archures.c: nuke bfd_reloc_code_type
* bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint
* coffcode.h (styp_to_sec_flags): STYP_INFO is marked as
SEC_NEVER_LOAD, various other bfdgas newness
* reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup
* targets.c: change jump table vector to above
John Gilmore [Sun, 21 Jun 1992 03:09:18 +0000 (03:09 +0000)]
(find_source_lines): Handle large st_size fields.
John Gilmore [Sun, 21 Jun 1992 02:20:30 +0000 (02:20 +0000)]
COFF changes for dealing better with EPI 29K C compiler output.
* coffread.c (record_minimal_symbol): Pass the minsym type to it.
Callers changed.
(coff_end_symtab): Sort blocks if needed. Complain if misordered.
(read_coff_symtab): Move patch_opaque_types call from
coff_symfile_read. Restrict it to symtabs from this objfile.
(process_coff_symbol: C_TPDEF): Don't put ordinary foward
references on opaque type chain; just let coff_lookup_type handle 'em.
(decode_type): Complain about tagndx values on
non-struct/union/enum types, which the EPI compiler tends to produce.
* symtab.c (list_symbols): Make minimal symbol variable-finding work.
* tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order
dependency.
* elfread.c (elf_symfile_read): Update bfd_elf_find_section
usage to match new prototype. Include libbfd.h to get prototype.
John Gilmore [Sun, 21 Jun 1992 01:56:05 +0000 (01:56 +0000)]
Typo.
John Gilmore [Sat, 20 Jun 1992 23:32:18 +0000 (23:32 +0000)]
* gdb.texinfo: document `set remotedebug' and `set rstack_high_address'.
Fred Fish [Sat, 20 Jun 1992 23:30:33 +0000 (23:30 +0000)]
* infcmd.c (jump_command): Use cleanups to avoid memory leaks.
* stack.c (return_command): Use cleanups to avoid memory leaks.
John Gilmore [Sat, 20 Jun 1992 03:42:14 +0000 (03:42 +0000)]
* remote-adapt.c, remote-eb.c, remote-mm.c: Lint. Fix
INT_REGNUM to INTE_REGNUM.
* tm-29k.h (SDB_REG_TO_REGNUM): Add for EPI 29K C compiler.
John Gilmore [Sat, 20 Jun 1992 02:04:20 +0000 (02:04 +0000)]
* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION so
its prototype will be included in libbfd.h. Change result type
to struct * (rather than equivalent typedef) so it can be used in
the prototype, where they typedef won't be known.
* libbfd.h: Updated version.
Stu Grossman [Sat, 20 Jun 1992 01:00:46 +0000 (01:00 +0000)]
HPPA BS
Stu Grossman [Fri, 19 Jun 1992 22:50:08 +0000 (22:50 +0000)]
* sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
Stu Grossman [Fri, 19 Jun 1992 22:48:09 +0000 (22:48 +0000)]
HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:47:19 +0000 (22:47 +0000)]
* bfd.h: HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:43:49 +0000 (22:43 +0000)]
* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c,
hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h,
tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:39:44 +0000 (22:39 +0000)]
* Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern
declarations of malloc/realloc/free that are inserted by some
versions of yacc.
* m2-exp.y: Prevent conflicts with TRUE and FALSE tokens by
#undeffing them.
* xm-rs6000.h: Declare malloc/realloc/free appropriately. Yet
another decl of strdup (this really ought to come from libiberty.h!).
Stu Grossman [Fri, 19 Jun 1992 22:25:45 +0000 (22:25 +0000)]
HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:24:13 +0000 (22:24 +0000)]
* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,
targets.c: HPPA merge.
Stu Grossman [Fri, 19 Jun 1992 22:20:16 +0000 (22:20 +0000)]
* config.sub: HPPA merge.
John Gilmore [Fri, 19 Jun 1992 21:09:54 +0000 (21:09 +0000)]
* remote.c (getpkt): Error if input exceeds buffer size.
(_initialize_remote): `set remotedebug' enables packet trace.
* dbxread.c (process_one_symbol:N_FUN): GCC now produces relative
N_SLINE's, etc, just like Sun cc on Solaris2.
* am29k-tdep.c (read_register_stack, write_register_stack):
Change RSTACK_HIGH_ADDR to rstack_high_address, a user-settable
variable. Add `set' and `show' commands for it.
* doc/gdb.texinfo: Document it.
* eval.c: Avoid residue-by-zero when evaluating without side effects.
(Bug and fix found by Pierre Willard.)
* sparc-tdep.c: Clean up slightly for Solaris2.
John Gilmore [Fri, 19 Jun 1992 19:54:41 +0000 (19:54 +0000)]
Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
* config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
Mon Jun 15 13:50:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
* configure.in: use mh-sysv4 on solaris2
John Gilmore [Fri, 19 Jun 1992 19:22:36 +0000 (19:22 +0000)]
* configure.in: Separate Solaris2 from SYSV4 on SPARC.
* config/solaris2.mh: Kludge around Sun compiler bug.
Fred Fish [Fri, 19 Jun 1992 02:43:22 +0000 (02:43 +0000)]
* valprint.c (type_print_1): Plug memory leak. Print all
C++ syms as demangled, not just functions.
* buildsym.c (read_range_type): When we find a signed char
type, do a lookup of signed char, not plain char. Plain char's
still get looked up as plain char's elsewhere.
Roland Pesch [Thu, 18 Jun 1992 20:03:38 +0000 (20:03 +0000)]
1) Better fix for section "Readline Killing Commands": delete entire
first paragraph. It looks like it's left over from previous
nomenclature; term "cutting" introduced there is not used in rest of
document. ("killing" is used instead, as in the section title and in
the following paragraph.)
2) More consistent use of @key for things to type in; in a few cases
not having it actually produced wrong doc on paper---notably "M--"
comes out as "M" followed by emdash, if in the plain Roman body
text...
Roland Pesch [Thu, 18 Jun 1992 19:04:16 +0000 (19:04 +0000)]
Delete dangling "There is a" at end of first paragraph under "Readline
Killing Commands". None of our saved versions has the rest of this sentence,
whatever it may have been...
Steve Chamberlain [Thu, 18 Jun 1992 16:42:46 +0000 (16:42 +0000)]
* h8300hms.em, h8300hms.sc-sh: do the right thing for -r
* ldexp.c: lint
* ldlang.c(open_output): set the target arch and machine as soon
as we can. (lang_size_sections): use new macros for setting vma
* ldwrite.c: lint
Stu Grossman [Thu, 18 Jun 1992 00:10:11 +0000 (00:10 +0000)]
* xm-rs6000.h: Fix decls for malloc, realloc, and free.
Stu Grossman [Wed, 17 Jun 1992 23:57:40 +0000 (23:57 +0000)]
* tm-rs6000.h: Remove #include of inferior.h. Fixes many
compilation errors.
Stu Grossman [Wed, 17 Jun 1992 23:56:30 +0000 (23:56 +0000)]
* xm-rs6000.h: Add decl for strdup().
Stu Grossman [Wed, 17 Jun 1992 23:44:37 +0000 (23:44 +0000)]
* xm-rs6000.h: Remove #include of inferior.h. Fixes many
compilation errors.
Stu Grossman [Wed, 17 Jun 1992 21:53:28 +0000 (21:53 +0000)]
* breakpoint.c (enable_command, disable_command): Without args,
should only affect normal breakpoints and watchpoints.
Stu Grossman [Wed, 17 Jun 1992 21:05:49 +0000 (21:05 +0000)]
* libaout.h (aout_backend_data): Change defs of two bitfields to
be unsigned chars instead to get around rs6000 compiler problem.
Fred Fish [Wed, 17 Jun 1992 20:58:46 +0000 (20:58 +0000)]
* elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
Correct misconception that there can be only one symbol table.
Only call elf_slurp_symbol_table on the full symbol table, not
the dynamic one which is only a subset of the full one.
(The bfd library was slurping in the first ELF symbol table it
found and then ignoring any others. For dynamically linked
executables, this happened to be the dynamic symbol table, which
is a subset of the full symbol table and only contains the
symbols that need to be used in dynamic linking.)
Stu Grossman [Wed, 17 Jun 1992 20:24:32 +0000 (20:24 +0000)]
* m68k-pinsn.c (print_insn_arg): Make register be const.
Stu Grossman [Wed, 17 Jun 1992 20:15:03 +0000 (20:15 +0000)]
* xcoffexec.c: Remove ' from comment.
* xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts
with decls of malloc in c-exp.tab.c (as produced by yacc).
There's got to be a better way to do this...
Ken Raeburn [Wed, 17 Jun 1992 20:06:33 +0000 (20:06 +0000)]
Don't align sections in I960 coff files.
(I know there's a GDB freeze on, but this only affects writing i960
coff files, and Steve needs it ASAP.)
Fred Fish [Wed, 17 Jun 1992 18:14:22 +0000 (18:14 +0000)]
* partial-stab.h: Convert single rindex use to strrchr.
* mipsread.c, dbxread.c: Remove troublesome inclusion of non-
standard <strings.h> file, now that the only single use of
rindex in the gdb source files is gone.
Fred Fish [Wed, 17 Jun 1992 05:23:00 +0000 (05:23 +0000)]
* mipsread.c: Undo ill effects from including <strings.h>,
which #defines index to be strchr. Unfortunately, index is
a member of a symbol table structure that can't be changed.
* mipsread.c: tm-mips.h includes coff/symconst.h and coff/sym.h,
remove redundant #include's.
K. Richard Pixley [Wed, 17 Jun 1992 04:31:33 +0000 (04:31 +0000)]
gratuitous white space changes merged from other prep releases
Stu Grossman [Wed, 17 Jun 1992 01:37:46 +0000 (01:37 +0000)]
Keep mh-solaris
Stu Grossman [Wed, 17 Jun 1992 00:27:12 +0000 (00:27 +0000)]
Add move-if-change to DEVO_SUPPORT_FILES.
Stu Grossman [Tue, 16 Jun 1992 23:15:05 +0000 (23:15 +0000)]
Add demangle.h to HFILES.
Stu Grossman [Tue, 16 Jun 1992 23:14:01 +0000 (23:14 +0000)]
Unscrew this file... (Been up too long I think...)
Stu Grossman [Tue, 16 Jun 1992 22:53:09 +0000 (22:53 +0000)]
More cleanup in gdb packaging...
Stu Grossman [Tue, 16 Jun 1992 22:47:40 +0000 (22:47 +0000)]
Keep sun4sol2.m{th}.
Stu Grossman [Tue, 16 Jun 1992 22:46:45 +0000 (22:46 +0000)]
Keep tm-sun4sol2.h and xm-sun4sol2.h.
Stu Grossman [Tue, 16 Jun 1992 22:39:37 +0000 (22:39 +0000)]
More 29k crap to remove!
Stu Grossman [Tue, 16 Jun 1992 22:37:12 +0000 (22:37 +0000)]
One mo time...
Stu Grossman [Tue, 16 Jun 1992 22:36:08 +0000 (22:36 +0000)]
Fixup install.all target so that install-texinfo can be removed properly by GDB
packaging procedures.
Stu Grossman [Tue, 16 Jun 1992 21:58:53 +0000 (21:58 +0000)]
Remove 29k/UDI stuff for now. For the time being, the original Makefile is
called Makefile.in-29k-UDI.
Stu Grossman [Tue, 16 Jun 1992 21:56:24 +0000 (21:56 +0000)]
Save Makefile with 29k stuff for later.
Stu Grossman [Tue, 16 Jun 1992 21:49:08 +0000 (21:49 +0000)]
Save scripts.
Stu Grossman [Tue, 16 Jun 1992 21:45:01 +0000 (21:45 +0000)]
Remove 29k/UDI for now.
Stu Grossman [Tue, 16 Jun 1992 21:17:43 +0000 (21:17 +0000)]
* mipsread.c: #include <strings.h> for rindex().
K. Richard Pixley [Tue, 16 Jun 1992 17:44:51 +0000 (17:44 +0000)]
typo
Steve Chamberlain [Tue, 16 Jun 1992 17:12:59 +0000 (17:12 +0000)]
hitachi bug gix
Steve Chamberlain [Tue, 16 Jun 1992 17:12:51 +0000 (17:12 +0000)]
Bug fixes for Hitachi
Fred Fish [Tue, 16 Jun 1992 16:03:54 +0000 (16:03 +0000)]
* xcoffexec.c (map_vmap): Turn comment into a real C comment.
Ken Raeburn [Tue, 16 Jun 1992 13:35:55 +0000 (13:35 +0000)]
Changes reflecting recent changes in BFD library sources.
Ken Raeburn [Tue, 16 Jun 1992 12:05:52 +0000 (12:05 +0000)]
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
Ken Raeburn [Tue, 16 Jun 1992 12:04:03 +0000 (12:04 +0000)]
[time to file a PR on cvs...]
Various changes to get linker working again for a.out:
* don't set/adjust section file positions or vmas more than once
* use correct page size and segment size when calculating them
* deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing. See ChangeLog for details.
Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
Ken Raeburn [Tue, 16 Jun 1992 11:34:07 +0000 (11:34 +0000)]
Various changes to get linker working again for a.out:
* don't set/adjust section file positions or vmas more than once
* use correct page size and segment size when calculating them
* deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing. See ChangeLog for details.
Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
Stu Grossman [Tue, 16 Jun 1992 01:43:35 +0000 (01:43 +0000)]
* dbxread.c (process_one_symbol), partial-stab.h: Ignore
extraneous SO stabs from busted C++ compilers.
Fred Fish [Mon, 15 Jun 1992 19:32:53 +0000 (19:32 +0000)]
* config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
Fred Fish [Mon, 15 Jun 1992 19:29:02 +0000 (19:29 +0000)]
* config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
* config/mh-ncr3000 (RANLIB): Use RANLIB=true.
Fred Fish [Mon, 15 Jun 1992 19:27:49 +0000 (19:27 +0000)]
* config/ncr3000.mh (INSTALL, RANLIB): Don't use /usr/ucb/install,
it's broken on ncr 3000's. Use simple "true" for RANLIB.
Fred Fish [Mon, 15 Jun 1992 19:25:13 +0000 (19:25 +0000)]
* Makefile.in (VERSION): Bump to 4.5.5.
* symtab.c (decode_line_1): Until C++ support stabilizes, when
C++ lookups fail, print possibly helpful hint about completion.
* cplus-dem.c (demangle_signature): Fix ARM style demangling
for static data members.
* dbxread.c (dbx_psymtab_to_symtab_1): Fix prototype.
* config/ncr3000.mh (INSTALL): Don't use /usr/ucb/install,
it's broken on ncr3000's.
Michael Tiemann [Mon, 15 Jun 1992 15:49:30 +0000 (15:49 +0000)]
Accept m680?0 for wrs as vxworks68. Also deleted an unreachable path to wrs.
Fred Fish [Mon, 15 Jun 1992 14:26:57 +0000 (14:26 +0000)]
* dwarfread.c (decode_modified_type): Change type of first arg.
Change 'modifier' to char from unsigned char. Cast single use
that needs to be unsigned char.
* symtab.h (SYMBOL_BASEREG_VALID): Explain disabling.
* utils.c (strdup_demangled): Add function.
* defs.h (strdup_demangled): Add prototype.
* stack.c (return_command): Demangle C++ function names for query.
* infcmd.c (jump_command): Demangle C++ function names for query.
* cplus-dem.c (consume_count): New function and prototype.
* cplus-dem.c (demangle_class, gnu_special, demangle_func_type,
do_type): Replace conversion code with consume_count().
* cplus-dem.c (gnu_special): Fix demangled of static members.
* source.c (list_command): Print demangled function names
when appropriate. Fix supplied by Peter Schauer.
John Gilmore [Mon, 15 Jun 1992 08:47:56 +0000 (08:47 +0000)]
* buildsym.c (define_symbol): Nameless types are now on several
platforms; generalize them and un-ifdef them to make Solaris 2
work.
John Gilmore [Mon, 15 Jun 1992 08:42:09 +0000 (08:42 +0000)]
* infcmd.c: Fix typo (reported by Rob Savoye).
* xm-sun4sol2.h (gregset_t): Thinko in register set definition.
* symtab.h: Disable SYMBOL_BASEREG_VALID until it works.
* dbxread.c (dbx_psymtab_to_symtab_1): Renamed from
psymtab_to_symtab_1. Use current psymtab's sym_offset and symbol_size,
rather than the one for the first file in the dependency chain.
John Gilmore [Mon, 15 Jun 1992 08:37:50 +0000 (08:37 +0000)]
* readline.c: Make new SIGNALS_* macros to parameterize the
ugly changes in signal blocking macro. Use them throughout,
reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
significantly. Make all such places use POSIX if available,
to avoid losing with poor `sigsetmask' emulation from libiberty.
Stu Grossman [Sun, 14 Jun 1992 22:21:18 +0000 (22:21 +0000)]
* readline.c (insert_some_chars): Return void.
John Gilmore [Sun, 14 Jun 1992 18:10:10 +0000 (18:10 +0000)]
* dbxread.c (end_psymtab): Only reset texthigh if it's not already
set. Don't reset our own texthigh, or dependency-only pst's, in
scanning all the rest of the psymtabs.
(process_one_symbol): Fix comments around N_OBJ, N_OPT, N_UNDF.
* buildsym.h (N_UNDF): Improve comments.
(N_LSYM, etc): Skip types without names (":T(0,3)=sfoob...").