Jim Kingdon
6545c6a085
* dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh
...
if N_SO_ADDRESS_MAYBE_MISSING is defined.
* config/sparc/tm-sun4sol2.h: Define it.
1994-01-21 17:53:57 +00:00
Jim Kingdon
cd5ee29439
Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
...
* printcmd.c (print_address_symbolic): Unconditionally use msymbol
if we did not find a symbol.
1994-01-21 17:43:32 +00:00
Jeff Law
40df7e2729
* infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
...
is not defined.
* hppab-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
(child_xfer_memory): Likewise.
* hppah-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
* config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
* config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
* config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
* config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define.
(CHILD_XFER_MEMORY): Define.
(PT_*): Define so that generic infptrace.c code can be used.
1994-01-21 16:23:36 +00:00
Jeff Law
918fea3e3c
* infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY
...
is not defined.
* hppab-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
(child_xfer_memory): Likewise.
* hppah-nat.c (call_ptrace): Delete redundant function.
(kill_inferior, attach, detach, child_resume): Likewise.
* config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o.
* config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o.
* config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define.
* config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): Define.
(CHILD_XFER_MEMORY): Define.
(PT_*): Define so that generic infptrace.c code can be used.
1994-01-21 16:22:51 +00:00
Jim Kingdon
1b880e74fb
* xcoffread.c (xcoff_symfile_read): Make second parameter a
...
struct section_offsets *, not a (nonexistent) struct section_offset *.
1994-01-21 14:44:29 +00:00
Jim Kingdon
6657a0c7ea
* xcoffread.c (read_xcoff_symtab): Make main_aux just a union
...
internal_xcoff_symtab, not an array of one of them. Change lots of
"main_aux" to "&main_aux" and so on.
1994-01-21 14:38:58 +00:00
Jim Kingdon
27ad511f84
* coffread.c, xcoffread.c: Include <coff/internal.h>
...
before "symfile.h".
1994-01-21 14:26:20 +00:00
Jim Kingdon
dbb0fae2de
* coffread.c (coff_getfilename): Make it not static.
1994-01-21 00:34:07 +00:00
Jim Kingdon
d4a0983ab0
* xcoffread.c (read_xcoff_symtab): complain() not abort().
...
* xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
a completely gratuitous difference between xcoffread.c and coffread.c).
1994-01-20 22:38:03 +00:00
Jim Kingdon
d7e7e85159
* infrun.c (wait_for_inferior): Don't set frame for
...
step_resume_breakpoint for IN_SIGTRAMP cases.
* infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
breakpoint.c (bpstat_what): Move step_resume from its own field of
the struct bpstat_what into the main_action. Make it override
other breakpoints. This is a conservative change in the sense
that before the step resume breakpoint was a breakpoint.c
breakpoint, hitting the step resume breakpoint overrode even
calling bpstat_stop_status.
1994-01-19 21:14:40 +00:00
Peter Schauer
a3435c0e23
* gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
...
versions prior to 1.13.5.
1994-01-19 20:46:28 +00:00
Peter Schauer
f1de67d323
* infrun.c (normal_stop): Set stop_pc after popping the dummy frame
...
in case execution was stopped in the called function.
* stack.c (print_frame_info, frame_info): If backtracing through
a call dummy, handle the starting source line number on a line
boundary like backtracing through sigtramp.
* sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
for call dummy frame right. Remove old test for dummy frame,
it has been unused at least since gdb-3.5.
* sparc-tdep.c (sparc_push_dummy_frame): Set return address register
of the dummy frame.
1994-01-19 20:45:30 +00:00
David MacKenzie
59502c19ad
* stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT.
1994-01-19 14:43:04 +00:00
Jim Kingdon
77918505b5
* gdb.t00/default.exp (show prompt): In FAIL case, only match if
...
the prompt is at the start of a line.
1994-01-19 01:14:11 +00:00
Jim Kingdon
c6e0f918e2
* infcmd.c (signal_command): Accept 0 as legitimate signal number.
1994-01-18 21:20:28 +00:00
Jim Kingdon
db4340a625
* infrun.c (signals_info), target.c (target_signal_from_name):
...
Use ugly casts to avoid enumvar < enumvar or enumvar++.
1994-01-18 19:13:38 +00:00
Jim Kingdon
d881dd869f
* ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
...
* inflow.c (terminal_ours_1): When discussing how to deal with the
tty state, make note of query() as well as readline.
1994-01-18 04:29:34 +00:00
Jim Kingdon
4d4f2d50c8
* infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
...
signals for which stop and print are cleared by default.
1994-01-18 04:14:34 +00:00
Jeff Law
46ee83a0b8
* gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
...
Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
in the copr tests now.
* gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
copr in the fpu_misc tests anymore. fpu_misc tests are no longer
expected to fail.
1994-01-18 04:08:30 +00:00
Jeff Law
c7f3b703a3
* config/pa/tm-hppa.h (unwind_table_entry): Use one of the
...
reserved fields to hold a stub unwind entry type. Fix typo.
(stub_unwind_entry): New structure for raw stub unwind entries.
(stub_unwind_types): The types of stubs we may encounter.
(UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
* hppa-tdep.c (rp_saved): Use additional information provided
by linker stub unwind descriptors.
(frameless_function_invocation): Likewise.
(frame_chain_valid): Likewise.
* paread.c (compare_unwind_entries): New function for sorting
unwind table entries.
(read_unwind_info): Rewrite to remove dependency on host endianness.
Read in data from the $UNWIND_END$ subspace which contains linker
stub unwind descriptors. Merge that data into the basic unwind
table.
1994-01-18 04:04:36 +00:00
Jeff Law
5c38fcee3f
* hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions.
1994-01-18 04:02:06 +00:00
Jim Kingdon
af8b790667
* xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
...
from either the symbol name or the auxent.
* coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
no longer static.
1994-01-18 03:42:30 +00:00
Jim Kingdon
80edc7cb3c
Write ChangeLog entries for Rob changes.
...
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.
In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
1994-01-18 03:29:53 +00:00
Rob Savoye
002cc99ff6
Apply patches from gdb 4.12 testing.
1994-01-17 23:28:29 +00:00
Rob Savoye
0ab6de2336
Add patches from gdb 4.12 testing.
1994-01-17 23:27:07 +00:00
Fred Fish
0e7da49c55
* Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h.
1994-01-17 21:36:29 +00:00
Peter Schauer
b90811f914
* README: Update notes for alpha port.
1994-01-17 17:18:18 +00:00
Jim Kingdon
24a11a7998
* i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
...
for operation fault, constraint fault, and type fault.
1994-01-17 16:18:17 +00:00
Jim Kingdon
623d738026
* Makefile.in (init.c): Add comment explaining formatting conventions.
1994-01-17 00:58:29 +00:00
Jim Kingdon
a39f77396e
* c-exp.y (parse_number): Assign to temporary between the right
...
shifts, to work around a bug in the SCO compiler.
1994-01-17 00:23:49 +00:00
Jim Kingdon
0791922161
* Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
...
Add various files which were added to GDB recently.
1994-01-16 22:45:13 +00:00
Jim Kingdon
91cc45dacc
* xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not
...
within_function.
1994-01-16 20:09:59 +00:00
Jim Kingdon
8f85a4357a
* stabs.texinfo: Re-do stuff about C_BSTAT and move from XCOFF
...
Differences node to Statics node.
(Statics): Discuss XCOFF use of V symbol descriptor.
1994-01-16 18:30:32 +00:00
Jim Kingdon
b76dcd4b68
* Makefile.in: Add mostlyclean target.
1994-01-16 17:47:47 +00:00
Jim Kingdon
023b639454
* Makefile.in: Remove refcard.dvi and GDBvn.texi in realclean,
...
not clean.
1994-01-16 17:45:32 +00:00
Jim Kingdon
d7a5ff3c82
* Version 4.11.4.
1994-01-16 03:43:22 +00:00
Per Bothner
8b564df836
* main.c (show_commands): Make return type of extern
...
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)
1994-01-16 03:35:19 +00:00
Jim Kingdon
ab5f79719c
* minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring
...
const char *, not char *.
1994-01-16 03:23:50 +00:00
Jim Kingdon
fb155ce31a
* symtab.h (struct symbol): Make section short, not unsigned short.
1994-01-16 03:14:21 +00:00
Jim Kingdon
8704184584
* symtab.c (lookup_symbol): Add comment about QUIT here.
1994-01-16 02:39:50 +00:00
Jim Kingdon
bff37c5945
* gdb.t16/printcmds.exp (test_print_strings): Accept
...
"(unsigned char *) " before the string.
1994-01-15 23:00:27 +00:00
Jim Kingdon
f29351d98b
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1994-01-15 20:14:43 +00:00
Jim Kingdon
bb1f42d4f0
* c-exp.y (parse_number): Make it so that integer constants are
...
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1994-01-15 19:51:56 +00:00
Jim Kingdon
a9b32d6192
* c-exp.y (parse_number): Check for overflow regardless of range
...
checking. Fix overflow check to use unsigned LONGEST, not
unsigned int.
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
1994-01-15 17:14:18 +00:00
Jim Kingdon
2069bd10d5
* TODO: Add notes about printing of fancy types and GDB expressions.
1994-01-15 17:03:41 +00:00
Jim Kingdon
96f1fa1542
* TODO: Add notes about printing of fancy types and GDB expressions.
1994-01-15 16:30:04 +00:00
Jim Kingdon
dac317dc3f
* c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC):
...
Print our "()" first, then recurse for the target type.
1994-01-15 15:27:49 +00:00
Jim Kingdon
3dcb86173f
* TODO: Add note about printing of fancy types.
1994-01-15 14:58:41 +00:00
Jim Kingdon
831a39d7c3
* remote-udi.c (udi_create_inferior): Quote empty execfile argument.
1994-01-15 04:28:18 +00:00
Jim Kingdon
4c0b3e57c1
* gdbserver/low-lynx.c: Include <sys/wait.h> not /usr/include/wait.h.
1994-01-15 03:51:40 +00:00