Jim Kingdon [Fri, 30 Jul 1993 19:50:29 +0000 (19:50 +0000)]
* c-exp.y (yylex): Detect C++ nested types.
David Edelsohn [Fri, 30 Jul 1993 19:12:33 +0000 (19:12 +0000)]
* sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.
* remote-sim.h: New file.
* remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
* config/sparc/sp64.mt: New file.
* config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
David Edelsohn [Fri, 30 Jul 1993 18:57:41 +0000 (18:57 +0000)]
remote-sim.h: New file.
remote-sp64sim.h (sim_*): External fns. (simif_*): Internal fns.
sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.
David Edelsohn [Fri, 30 Jul 1993 18:50:42 +0000 (18:50 +0000)]
New file remote-sim.h.
David Edelsohn [Fri, 30 Jul 1993 18:40:05 +0000 (18:40 +0000)]
sp64.mt: New file.
tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
Steve Chamberlain [Fri, 30 Jul 1993 18:17:38 +0000 (18:17 +0000)]
d
Make sure ansidecl.h is included where needed.
Steve Chamberlain [Fri, 30 Jul 1993 17:46:09 +0000 (17:46 +0000)]
Deleted.
Fred Fish [Fri, 30 Jul 1993 17:18:23 +0000 (17:18 +0000)]
Add ptx.mh to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 17:16:48 +0000 (17:16 +0000)]
* Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
Fred Fish [Fri, 30 Jul 1993 17:11:51 +0000 (17:11 +0000)]
Add dfe and include to Things-to-lose list.
Jim Kingdon [Fri, 30 Jul 1993 17:01:26 +0000 (17:01 +0000)]
From J. Law:
* infcmd.c (read_pc): Remove PA specific code.
* tm-hppa.h (TARGET_READ_PC): Define.
* hppa-tdep.c (target_read_pc): New function.
Fred Fish [Fri, 30 Jul 1993 16:46:19 +0000 (16:46 +0000)]
Add .Sanitize to Things-to-lose list.
Jim Kingdon [Fri, 30 Jul 1993 15:52:26 +0000 (15:52 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
* hppa-tdep.c (frame_chain_valid): Check that our function has the
same address as _start, not that it must be the same symbol.
Jim Kingdon [Fri, 30 Jul 1993 15:31:26 +0000 (15:31 +0000)]
* symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
Fred Fish [Fri, 30 Jul 1993 14:51:17 +0000 (14:51 +0000)]
* NEWS: Add note that DEC alpha support is host only, not native.
Fred Fish [Fri, 30 Jul 1993 14:42:31 +0000 (14:42 +0000)]
* README: Emphasize that C++ support works best with GNU C++ and
stabs debugging format.
* delta68-nat.c: Add missing FSF copyright.
Jim Kingdon [Fri, 30 Jul 1993 14:17:41 +0000 (14:17 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
Jim Kingdon [Fri, 30 Jul 1993 14:14:02 +0000 (14:14 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
Fred Fish [Fri, 30 Jul 1993 07:41:20 +0000 (07:41 +0000)]
Add test1.c to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:39:05 +0000 (07:39 +0000)]
Add remote-inflow-sparc.c and server.h to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:36:56 +0000 (07:36 +0000)]
Add a4rc.sed, config, cyglogo.eps, and cygref.tex to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:34:12 +0000 (07:34 +0000)]
Add monitor.mt and tm-monitor.h to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:25:31 +0000 (07:25 +0000)]
Add delta68.mh, delta68.mt, nm-delta68.h, tm-delta68.h, xm-delta68.h to
Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:23:29 +0000 (07:23 +0000)]
* Makefile.in (ALLDEPFILES): Add delta68-nat.c
* Makefile.in (delta68-nat.o): Add dependency.
Fred Fish [Fri, 30 Jul 1993 07:20:31 +0000 (07:20 +0000)]
Add delta68-nat.c to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:10:33 +0000 (07:10 +0000)]
Add esix.h to Things-to-lose list.
Jim Kingdon [Fri, 30 Jul 1993 05:34:24 +0000 (05:34 +0000)]
* value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
was adequate in gdb 3.5 but not now.
* valops.c (typecmp): An array in t2 matches a pointer in t1.
* valops.c (typecmp): When comparing type1& to type2, compare
type1 and type2 as leniently as if we were comparing type1 to
type2.
Ian Lance Taylor [Fri, 30 Jul 1993 05:22:12 +0000 (05:22 +0000)]
* write.c: Don't use short int in a prototype.
Ian Lance Taylor [Fri, 30 Jul 1993 05:06:58 +0000 (05:06 +0000)]
* expr.c (operand): Make return value simply depend on contents of
returned expression.
David D. Zuhn [Fri, 30 Jul 1993 03:22:30 +0000 (03:22 +0000)]
remove some sun3 function decls
Jim Kingdon [Fri, 30 Jul 1993 01:42:09 +0000 (01:42 +0000)]
* cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
* values.c (vb_match): New function, which finds the virtual
base class pointer even if the types are nameless.
(baseclass_{addr,offset}): Use it.
David D. Zuhn [Fri, 30 Jul 1993 01:40:25 +0000 (01:40 +0000)]
fix ANSI decl conflicts
Jim Kingdon [Fri, 30 Jul 1993 01:37:49 +0000 (01:37 +0000)]
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
Roland Pesch [Thu, 29 Jul 1993 22:11:55 +0000 (22:11 +0000)]
* remote.texi: (MIPS Remote) make docn for set/show timeout,
retransmit-timeout follow same conventions as for other set/show params
Fred Fish [Thu, 29 Jul 1993 21:53:15 +0000 (21:53 +0000)]
Add alpha directory.
Fred Fish [Thu, 29 Jul 1993 21:52:51 +0000 (21:52 +0000)]
Fix alpha-osf.mh -> alpha-osf1.mh
Jim Kingdon [Thu, 29 Jul 1993 21:42:31 +0000 (21:42 +0000)]
* hppa-tdep.c: Make "maintenance print unwind" command from old
"unwind" command.
Jim Kingdon [Thu, 29 Jul 1993 20:23:09 +0000 (20:23 +0000)]
* remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the
pre-serial.h remote.c, but which is no longer used.
Fred Fish [Thu, 29 Jul 1993 20:02:21 +0000 (20:02 +0000)]
* Makefile.in (NONSRC): Need 29k-share/README, not
29k-share/udi/README.
Jim Kingdon [Thu, 29 Jul 1993 19:19:30 +0000 (19:19 +0000)]
* paread.c (pa_symfile_init): If error reading string table, don't
use errno in cases where it hasn't been set.
Jim Kingdon [Thu, 29 Jul 1993 19:02:08 +0000 (19:02 +0000)]
* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
Jim Kingdon [Thu, 29 Jul 1993 18:41:26 +0000 (18:41 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command. Now we use unwind info by default if we can find it.
Fred Fish [Thu, 29 Jul 1993 18:30:06 +0000 (18:30 +0000)]
Add remote.texi, remove gdbinv-s.texi.
Jim Kingdon [Thu, 29 Jul 1993 18:21:10 +0000 (18:21 +0000)]
* gdbint.texinfo: Update statement about `some ancient Unix
systems, like Ultrix 4.0' to Ultrix 4.2.
Jim Kingdon [Thu, 29 Jul 1993 18:11:33 +0000 (18:11 +0000)]
* remote-monitor.c (_initialize_monitor): Comment out use of
connect_command, since connect_command itself is commented out.
* remote-monitor.c (generic_open): Parse arguments the same way
as remote.c.
Jim Kingdon [Thu, 29 Jul 1993 17:14:38 +0000 (17:14 +0000)]
* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
Roland Pesch [Thu, 29 Jul 1993 00:53:58 +0000 (00:53 +0000)]
* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
* Makefile.in: depend on remote.texi rather than gdbinv-s.texi
* remote.texi: (Server) New node on gdbserver. (Remote Serial,
ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP.
* remote.texi: new name for former gdbinv-s.texi
* gdb.texinfo: use remote.texi rather than gdbinv-s.texi
Jim Kingdon [Wed, 28 Jul 1993 23:33:57 +0000 (23:33 +0000)]
* config/mips/xm-mips.h: Define HAVE_TERMIOS.
Jim Kingdon [Wed, 28 Jul 1993 18:50:11 +0000 (18:50 +0000)]
* dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
__gnu_compiled* symbols into the minimal symbols.
David D. Zuhn [Wed, 28 Jul 1993 17:59:45 +0000 (17:59 +0000)]
another small sco tweak
Ian Lance Taylor [Wed, 28 Jul 1993 15:36:45 +0000 (15:36 +0000)]
* config/tc-m68k.c (m68k_ip): If we have a normal constant when we
expect a bignum, turn it into a bignum. Output extra zeroes
before a short bignum, rather than after.
Ian Lance Taylor [Wed, 28 Jul 1993 15:29:26 +0000 (15:29 +0000)]
* gdbinv-s.texi: Documented timeout and retransmit-timeout
variables for MIPS remote debugging protocol.
Ian Lance Taylor [Wed, 28 Jul 1993 15:28:53 +0000 (15:28 +0000)]
* remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and
mips_retransmit_wait, respectively.
Peter Schauer [Wed, 28 Jul 1993 11:00:53 +0000 (11:00 +0000)]
* symmisc.c (dump_msymbols): Handle new mst_file_* types.
Jim Kingdon [Wed, 28 Jul 1993 07:51:01 +0000 (07:51 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc. This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.
* config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
Jim Kingdon [Wed, 28 Jul 1993 06:45:35 +0000 (06:45 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc. This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.
Jim Kingdon [Wed, 28 Jul 1993 02:43:27 +0000 (02:43 +0000)]
* remote-udi.c: Remove old comment about download not implemented.
Jim Kingdon [Wed, 28 Jul 1993 01:11:32 +0000 (01:11 +0000)]
* stack.c (print_frame_info): Revise comment about `pathological'
case (there was a wrong FIXME about text labels; also asm() can
trigger this as well as versions of ar which truncate .o names).
Jim Kingdon [Wed, 28 Jul 1993 00:22:08 +0000 (00:22 +0000)]
* buildsym.c (start_subfile): If a .c file includes a .C file, set
the language of both of them to C++.
Jim Kingdon [Tue, 27 Jul 1993 22:37:51 +0000 (22:37 +0000)]
* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
<memory.h>.
Include <malloc.h> rather than declaring malloc functions ourself.
* ser-unix.c (set_tty_state): Don't ignore errors setting process
group.
* inflow.c (terminal_inferior): If attach_flag set, ignore errors
from set_tty_state.
Ken Raeburn [Tue, 27 Jul 1993 19:58:39 +0000 (19:58 +0000)]
symbols.c: Use DEBUG_SYMS instead of DEBUG.
Fred Fish [Tue, 27 Jul 1993 19:56:00 +0000 (19:56 +0000)]
* nlm{32,64}-gen.c (JUMP_TABLE_PREFIX): Delete.
* nlm{32,64}-gen.c (JUMP_TABLE_INIT): New macro that works with
older cpp's, that don't do additional replacement on the JUMP_TABLE
macro's argument.
* nlm-target.h (JUMP_TABLE_INIT): Use new macro in place of
JUMP_TABLE macro.
Peter Schauer [Tue, 27 Jul 1993 19:40:57 +0000 (19:40 +0000)]
* breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
breakpoints.
Fix gdb core dumps after `file newfile' commands.
* symtab.h, symfile.c (clear_symtab_users): New routine which
unconditionally clears symtab users. clear_symtab_users_once
commented out as it was a noop anyway.
* objfiles.c (free_objfile): Don't call clear_symtab_users_once.
* objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
xcoffexec.c (exec_close): Call clear_symtab_users if necessary.
* symfile.c (syms_from_objfile): Install cleanups for errors during
symbol reading.
* coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
Lint cleanup code, call do_cleanups explicitly.
* symfile.c (symbol_file_add): Call new_symfile_objfile and
reinit_frame_cache _after_ the new symbols are read in.
Jason Merrill [Tue, 27 Jul 1993 19:40:12 +0000 (19:40 +0000)]
Added a $ to Jim's mod
Jim Kingdon [Tue, 27 Jul 1993 19:01:11 +0000 (19:01 +0000)]
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.
Ian Lance Taylor [Tue, 27 Jul 1993 18:36:19 +0000 (18:36 +0000)]
mips_optimize is also affected by -g.
Jim Kingdon [Tue, 27 Jul 1993 18:06:23 +0000 (18:06 +0000)]
* Makefile.in (install-dirs): Deal with a prefix like /gnu;
its parent is '/' not ''.
Jim Kingdon [Tue, 27 Jul 1993 17:49:52 +0000 (17:49 +0000)]
* Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog.
Jim Kingdon [Tue, 27 Jul 1993 17:43:09 +0000 (17:43 +0000)]
* fork-child.c (fork_inferior): Only quote exec file if needed.
* mipsread.c (parse_symbol): Remove 21 Jul 93 change with
stTypedef inside an stBlock.
Ian Lance Taylor [Tue, 27 Jul 1993 15:55:35 +0000 (15:55 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.
Ian Lance Taylor [Tue, 27 Jul 1993 15:47:11 +0000 (15:47 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.
Peter Schauer [Tue, 27 Jul 1993 08:59:44 +0000 (08:59 +0000)]
* mipsread.c (parse_type): Do not set tag name for compiler
generated fake tag names.
K. Richard Pixley [Tue, 27 Jul 1993 01:05:23 +0000 (01:05 +0000)]
* Makefile.in (clean): if testsuite does not exist, then skip it.
K. Richard Pixley [Tue, 27 Jul 1993 00:36:08 +0000 (00:36 +0000)]
add exec.o to m88k TDEPFILES.
Jim Kingdon [Mon, 26 Jul 1993 22:53:02 +0000 (22:53 +0000)]
Yet another trad-core variant:
* config/esix.mh, hosts/esix.h: New files.
* configure.hosts: Use them.
Jim Kingdon [Mon, 26 Jul 1993 22:46:42 +0000 (22:46 +0000)]
new for esix
Jim Kingdon [Mon, 26 Jul 1993 22:16:09 +0000 (22:16 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command. Now we use unwind info by default if we can find it.
* config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
to tm-sparc.h so they are shared between Solaris and SunOS4.
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.
Jim Kingdon [Mon, 26 Jul 1993 20:41:50 +0000 (20:41 +0000)]
* config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
for floating point registers.
Jim Kingdon [Mon, 26 Jul 1993 20:36:43 +0000 (20:36 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Jim Kingdon [Mon, 26 Jul 1993 20:33:35 +0000 (20:33 +0000)]
* mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
symbols as mst_file_text.
Ian Lance Taylor [Mon, 26 Jul 1993 20:24:26 +0000 (20:24 +0000)]
* reloc.c (bfd_perform_relocation): Handle the case of
complain_overflow_bitfield, rightshift > bitpos, and a negative
number.
Jim Kingdon [Mon, 26 Jul 1993 20:14:41 +0000 (20:14 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Jim Kingdon [Mon, 26 Jul 1993 20:04:02 +0000 (20:04 +0000)]
* stabsread.c (rs6000_builtin_type): Make logical types be
TYPE_CODE_BOOL.
Ken Raeburn [Mon, 26 Jul 1993 19:46:09 +0000 (19:46 +0000)]
renaming elf emulparams files to work with current emulation handling code
Ken Raeburn [Mon, 26 Jul 1993 19:37:05 +0000 (19:37 +0000)]
Lots o' elf changes
Ken Raeburn [Mon, 26 Jul 1993 19:27:56 +0000 (19:27 +0000)]
Reimplement segment writing.
(elf_write_phdrs): Use precomputed e_phoff rather than making assumptions.
(elf_build_phdrs): Disabled, for now.
(assign_file_position_for_section): Don't change file offset for SHT_NOBITS.
(assign_file_positions_for_symtab_and_strtabs): New function.
(struct seg_info): New type.
(map_program_segments): New function.
(assign_file_positions_except_relocs): For executables, leave section headers
&c for last, and properly align all sections with flag SHF_ALLOC set.
(prep_headers): No longer abort when EXEC_P is set.
(write_shdrs_and_ehdr): Deleted all code relating to program segments.
(various): Deleted some unused code, and debugging "malloc(0)" calls.
(write_relocs): Cache value of last symbol looked up, to save
time if the symbol is referred to repeatedly.
(elf_fake_sections): Check only SEC_RELOC flag, not number of relocs.
(assign_section_numbers): Likewise.
Jim Kingdon [Mon, 26 Jul 1993 19:19:39 +0000 (19:19 +0000)]
* hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
Ken Raeburn [Mon, 26 Jul 1993 18:46:37 +0000 (18:46 +0000)]
(elfXX_bed): Initialize maxpagesize from ELF_MAXPAGESIZE.
(ELF_MAXPAGESIZE): Default to 1.
Ken Raeburn [Mon, 26 Jul 1993 18:44:03 +0000 (18:44 +0000)]
* libelf.h (struct elf_backend_data): New field, maxpagesize.
(struct elf_obj_tdata): New field, phdr.
Ken Raeburn [Mon, 26 Jul 1993 18:42:09 +0000 (18:42 +0000)]
(bfd_perform_relocation): Handle 64-bit relocs.
Jim Kingdon [Mon, 26 Jul 1993 18:23:59 +0000 (18:23 +0000)]
* stabsread.c (rs6000_builtin_type): Make `logical' be TYPE_CODE_BOOL.
Jim Kingdon [Mon, 26 Jul 1993 18:14:20 +0000 (18:14 +0000)]
* stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix.
Ken Raeburn [Mon, 26 Jul 1993 18:09:05 +0000 (18:09 +0000)]
solaris 2 changes
Ken Raeburn [Mon, 26 Jul 1993 18:08:43 +0000 (18:08 +0000)]
Pass emulation name without ".sh".
Ian Lance Taylor [Mon, 26 Jul 1993 16:11:38 +0000 (16:11 +0000)]
* configure.in: Don't look in ${srcdir} for ${target_makefile_frag};
the top level script has already adjusted for it.
Steve Chamberlain [Mon, 26 Jul 1993 15:11:38 +0000 (15:11 +0000)]
* srec.c (srec_write_symbols): Get CR LF in the right order.
Jim Kingdon [Mon, 26 Jul 1993 07:17:30 +0000 (07:17 +0000)]
* hosts/vaxbsd.h: Include std-host.h. Don't include <machine/param.h>.
Jim Kingdon [Mon, 26 Jul 1993 05:26:55 +0000 (05:26 +0000)]
* breakpoint.{c,h} (struct breakpoint): Replace symtab field with
source_file field.
David D. Zuhn [Sun, 25 Jul 1993 20:59:42 +0000 (20:59 +0000)]
update for latest datasheet revs
Brendan Kehoe [Sat, 24 Jul 1993 02:47:55 +0000 (02:47 +0000)]
undo previous change