Ian Lance Taylor
0024027986
* rs6000-pinsn.c: Use the new disassembler in the opcodes
...
directory. Old code was discarded, since the new opcode table has
a different format.
1994-01-22 00:16:18 +00:00
Fred Fish
a2608ea10e
* Makefile.in (realclean): Remove info files per make-stds.texi.
1994-01-21 22:31:50 +00:00
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
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
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
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
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
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
b76dcd4b68
* Makefile.in: Add mostlyclean target.
1994-01-16 17:47:47 +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
f29351d98b
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
1994-01-15 20:14:43 +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
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
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
Jim Kingdon
44a09a68f2
* utils.c (request_quit): Re-establish signal handler regardless
...
of USG.
* config/mips/xm-irix4.h: Define HAVE_TERMIOS.
1994-01-15 03:43:01 +00:00
Jim Kingdon
9850662034
* i960-tdep.c: Include target.h.
1994-01-15 02:56:47 +00:00
Stan Shebs
658821b9fa
Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* lynx-nat.c (sys/wait.h): Don't use absolute pathname.
1994-01-15 01:15:55 +00:00
Jim Kingdon
4e8bc56fb5
* Makefile.in (ALLPARAM): Add config/nm-lynx.h.
1994-01-14 19:19:56 +00:00
Ian Lance Taylor
aeb145f80b
* remote-mips.c (mips_request, mips_wait): Correct prototypes.
1994-01-14 16:52:22 +00:00
Jim Kingdon
d253eb7aa0
* config/i386/xm-linux.h: Define HAVE_TERMIOS.
1994-01-14 16:41:35 +00:00
Peter Schauer
52b3045e8e
* config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment.
1994-01-14 09:22:44 +00:00
Jim Kingdon
d0acb092fd
* remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960
...
is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN.
1994-01-13 23:06:03 +00:00
Jim Kingdon
63dcc38026
Add search to target vector (#if 0'd until after 4.12):
...
* target.h (to_search, target_search): Add.
* gdbcore.h, core.c (generic_search): Add.
* remote.c (remote_search): Add.
* a29k-tdep.c (init_frame_info): Use target_search to find traceback
tag.
1994-01-13 18:44:06 +00:00
Jim Kingdon
d6596eee9f
* printcmd.c (print_address_symbolic): If set print fast-symbolic-addr
...
is on, call find_pc_function rather than relying just on the minimal
symbols (probably only matters for symbol readers which don't put
statics in the minimal symbols, but changing this strikes me as
not conservative enough).
Initialize name_location in all cases.
If no symbol and no msymbol, don't print anything symbolic.
1994-01-13 17:41:40 +00:00
Jim Kingdon
ae682b8061
* a29k-tdep.c (push_dummy_frame): Add comment about saving lr0.
1994-01-13 15:38:00 +00:00
John Gilmore
314e6bf3c1
* printcmd.c (print_address_symbolic): Make it search the
...
symtabs for variables as well as functions. Add `set print
fast-symbolic-addr' and default it to fast (the old way).
Print line numbers for data items as well as functions.
* symtab.c (find_addr_symbol): Return the symtab and the symbol
address, if a symbol is found (take two more args pointing to
where to store these results).
* symtab.h (find_addr_symbol): Add prototype.
1994-01-13 05:04:40 +00:00
Jim Kingdon
470dfa0ca0
* objfiles.h: Fix comments to reflect the fact that the phrase
...
"top of stack" always refers to where the pushing and popping takes
place, regardless of whether it is at the highest or lowest address.
1994-01-13 00:34:18 +00:00