Ian Lance Taylor
e8f8e093fd
cvs core dumped and didn't check this in last time.
...
* configure.in (mipos-*-riscos*): New host and target; use riscos.
1993-07-02 21:27:13 +00:00
Steve Chamberlain
7e721ed49d
* config/h8500/tm-h8500.h: Define new macros.
1993-07-02 21:27:09 +00:00
Steve Chamberlain
a0ab5f90d1
* config/alpha/xm-alpha.h: Add MAKEVA_END.
1993-07-02 21:26:05 +00:00
Steve Chamberlain
85e07872b6
New target macros for getting at the pc, sp and fp.
...
* infcmd.c (read_pc, write_pc): Modify to use new macros.
(read_sp, write_sp, read_fp, write_fp): New functions.
* blockframe.c (reinit_frame_cache, get_prev_frame_info): Use new functions.
* breakpoint.c (bpstat_alloc): ditto.
* infrun.c (wait_for_inferior): ditto.
* stack.c (print_frame_info): ditto.
* valops (call_function_by_hand): ditto.
* corelow.c (core_open): ditto.
* h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): New functions.
* inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
1993-07-02 21:25:04 +00:00
Ian Lance Taylor
d8a80e6ddc
* configure.in (mipos-*-riscos*): New host and target; use riscos.
...
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
vmparam.h, include machparam.h.
(KERNEL_U_ADDR): Define to be BSD43_UADDR.
1993-07-02 20:54:02 +00:00
Jim Kingdon
c0bca41c47
* c-exp.y (yylex): Give error if unmatched single quote.
1993-07-02 20:04:02 +00:00
Jim Kingdon
c649a7c231
* configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
1993-07-02 19:18:14 +00:00
Jim Kingdon
a44cce7647
new for delta 68k
1993-07-02 19:01:48 +00:00
Jim Kingdon
38970bb5dd
new files for Motorola delta 68k
1993-07-02 18:49:14 +00:00
Jim Kingdon
75fa3e0fd2
* Remove unused STACK_END_ADDR in the following files (in other
...
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
tm-hp300hpux.h, tm-isi.h.
1993-07-02 18:48:44 +00:00
Jim Kingdon
56f413cd8f
* gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
...
rather than actually putting it through cpp twice.
1993-07-02 18:26:55 +00:00
Jim Kingdon
79f3218c2a
* gdb.t06/signals.exp: Add xfails unixware and rs6000.
1993-07-02 18:11:23 +00:00
Ian Lance Taylor
eae166985b
* config/mips-gdb.exp (gdb_exit): Removed close statement which is
...
no longer needed.
1993-07-02 17:49:32 +00:00
Jim Kingdon
b4ace9d36f
* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
1993-07-02 17:00:33 +00:00
Jim Kingdon
38e1dd5415
* gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
...
C++ features prints as "struct", make it a pass, not an xfail.
1993-07-02 14:13:09 +00:00
Jim Kingdon
b2bebdb0f1
* gdbtypes.h (struct type): Add field tag_name.
...
* gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
Use it.
* {coff,dwarf,mips,stabs}read.c: Set it.
1993-07-02 02:57:06 +00:00
Jim Kingdon
3fe11d4734
* ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
...
not an initializer, to copy the structure.
1993-07-02 02:50:43 +00:00
Jim Kingdon
e5307300ce
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
...
config/mips/xm-riscos.h: Include <sys/types.h>.
1993-07-02 02:48:59 +00:00
Jim Kingdon
b55cc8a268
* gdb.t06/twice.exp: Don't care about the file name GDB prints.
1993-07-02 01:37:50 +00:00
Jim Kingdon
1f72a94a6a
* xm-sysv4.h: Undefine HAVE_TERMIO.
1993-07-01 22:04:17 +00:00
Roland Pesch
b78d91ff99
* refcard.tex (\hoffset): correct longstanding error to match
...
intended offset; avoids cutting off edge on some printers
1993-07-01 21:59:16 +00:00
Jim Kingdon
3762d62487
* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
...
we can still process "modern" core files.
1993-07-01 21:07:02 +00:00
Jim Kingdon
0abbc7715f
miscellaneous fixes to make RISC/os work; see ChangeLog's
1993-07-01 21:00:15 +00:00
Jim Kingdon
a77a5278a4
* ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
...
print c_line.
(_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
is defined; don't care what it is defined to.
1993-07-01 18:22:02 +00:00
Jim Kingdon
95f2d25323
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
1993-07-01 01:10:22 +00:00
Jim Kingdon
907a9cabb8
* stabs.texinfo (Parameters): Say that order of stabs is significant.
1993-06-30 23:28:24 +00:00
Jim Kingdon
e02c07a5ef
* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
1993-06-30 23:05:47 +00:00
Jim Kingdon
c2e247c4ff
* inftarg.c: Remove unused include of terminal.h.
...
* signals.h: Don't undefine signals anymore.
* main.c: Use job_control from serial.h.
* fork-child.c (fork_inferior): Use gdb_setpgid.
* serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
* utils.c (quit): Use current_target->to_terminal_ours to figure
out whether we care about lack of job control, rather than __GO32__.
* utils.c: Include serial.h not terminal.h
(quit): Use job_control not TIOCGPGRP.
* terminal.h: Don't undefine TIOCGPGRP.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
* utils.c (quit): Use it.
* serial.h: Add SERIAL_UN_FDOPEN.
* utils.c (quit): Use it.
* ser-unix.c: Add process group to ttystate.
[HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
* inflow.c: Include serial.h not terminal.h.
Use serial.h stuff to replace most of the maze of #ifdef's.
* inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
* serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
* ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
SERIAL_SET_PROCESS_GROUP.
* inflow.c: Use them.
* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
Define HAVE_TERMIOS.
* Various: Remove all use of TIOC*_BROKEN.
1993-06-30 22:20:53 +00:00
Peter Schauer
eed6de01f2
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
1993-06-30 19:23:35 +00:00
Peter Schauer
76a1bd4cc0
* symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
...
a function to avoid printing of function arguments in wrong order
due to sorting.
* symfile.c (compare_symbols): Remove code for sorting arguments
as blocks containing arguments are no longer sorted.
* symtab.c (lookup_block_symbol): Update comment accordingly.
1993-06-29 20:18:26 +00:00
Jim Kingdon
a4374df58d
bugfix
1993-06-29 18:53:40 +00:00
Jim Kingdon
64b097786a
* config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
...
(REG_STRUCT_HAS_ADDR): Add comment.
1993-06-29 18:27:56 +00:00
Jim Kingdon
366f286982
* gdb.t16/printcmds.exp: Add printf tests.
1993-06-29 17:51:19 +00:00
Jim Kingdon
38c41e9209
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
1993-06-29 17:13:28 +00:00
Jim Kingdon
025abdfbd3
* symtab.h: Add comments about line numbers.
1993-06-29 16:55:29 +00:00
Jim Kingdon
a8c2562115
* infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
...
to check whether there is line number information.
1993-06-29 16:54:23 +00:00
David D. Zuhn
fe76016acb
fix docstring so that it compiles
1993-06-29 16:02:41 +00:00
David D. Zuhn
77641260c5
fix include file ordering problem (bfd.h vs. symfile.h)
1993-06-29 15:30:57 +00:00
Jim Kingdon
fd09c96316
* dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
...
don't expect it, change it to LOC_STATIC so at least we don't coredump.
* c-typeprint.c (c_type_print_base): Don't error() on invalid type.
1993-06-29 15:25:27 +00:00
Jim Kingdon
d63aae7f32
* symtab.h (struct symtab, line_charpos): Fix comment.
...
* source.c (identify_source_line): Fix off by one bug with line.
1993-06-29 14:47:17 +00:00
Jim Kingdon
b4e899792d
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
1993-06-29 14:24:36 +00:00
Jim Kingdon
f9dd88b41e
* config/pa/xm-pa.h: New file.
...
* config/pa/xm-hppa{b,h}.h: Include it.
1993-06-28 22:35:18 +00:00
Jim Kingdon
c702007b17
x
1993-06-28 22:34:29 +00:00
Jim Kingdon
53fc6c46e9
config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
1993-06-28 19:18:56 +00:00
Jim Kingdon
6b9561a423
* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
1993-06-28 17:38:30 +00:00
Jim Kingdon
44443a9b09
* gdb.stabs/wierd.exp: Add xfail for rs6000.
1993-06-28 15:15:23 +00:00
Jim Kingdon
f492b6c11b
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
...
{BEGIN,END}_COMMON for common block instead of STAB.
1993-06-28 15:03:27 +00:00
Jim Kingdon
884e8cd43e
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
...
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1993-06-28 14:34:46 +00:00
Peter Schauer
9325d5afa3
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
...
get the expected next to inheritance3.
1993-06-28 14:23:11 +00:00
Rob Savoye
6214895281
Works again.
1993-06-28 01:43:34 +00:00