David MacKenzie [Thu, 29 Apr 1993 18:17:10 +0000 (18:17 +0000)]
Fix up usage summaries and examples. Document a few missing options.
David MacKenzie [Thu, 29 Apr 1993 18:15:53 +0000 (18:15 +0000)]
More fixes to usage messages.
David MacKenzie [Thu, 29 Apr 1993 18:15:00 +0000 (18:15 +0000)]
Document missing options. Use -- instead of + for long options.
Jim Kingdon [Thu, 29 Apr 1993 17:19:11 +0000 (17:19 +0000)]
* stabsread.c (define_symbol): If unrecognized constant type,
complain() not error().
Jim Kingdon [Thu, 29 Apr 1993 16:52:33 +0000 (16:52 +0000)]
* config.sub: Use sysv3.2 not sysv32 for canonical OS
for System V release 3.2.
Ken Raeburn [Thu, 29 Apr 1993 16:48:04 +0000 (16:48 +0000)]
handle hppa osf configuration
Jim Kingdon [Thu, 29 Apr 1993 16:38:20 +0000 (16:38 +0000)]
* gdb.texinfo (Environment): Mention pitfall with .cshrc.
Ken Raeburn [Thu, 29 Apr 1993 16:10:34 +0000 (16:10 +0000)]
keep hp300hpux and hppa-elf files
Fred Fish [Thu, 29 Apr 1993 16:09:33 +0000 (16:09 +0000)]
* infptrace.c: Add missing close paren to test for
FIVE_ARG_PTRACE defined.
Ken Raeburn [Thu, 29 Apr 1993 16:08:39 +0000 (16:08 +0000)]
hp300hpux changes
Ken Raeburn [Thu, 29 Apr 1993 16:07:00 +0000 (16:07 +0000)]
BSF_FUNCTION update
Ken Raeburn [Thu, 29 Apr 1993 15:59:58 +0000 (15:59 +0000)]
hppaosf target support
Ken Raeburn [Thu, 29 Apr 1993 15:48:49 +0000 (15:48 +0000)]
fixed up to use elf32-target.h
Ken Raeburn [Thu, 29 Apr 1993 15:48:35 +0000 (15:48 +0000)]
hppa support, initial linker support
Ken Raeburn [Thu, 29 Apr 1993 15:38:41 +0000 (15:38 +0000)]
new reloc enum types
Ken Raeburn [Thu, 29 Apr 1993 15:36:54 +0000 (15:36 +0000)]
copyright; gas changes
Fred Fish [Thu, 29 Apr 1993 07:07:39 +0000 (07:07 +0000)]
* defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
when compiling with gcc, but disable it for now. See comment.
* defs.h (LONGEST): Define as either "long" or "long long"
based on CC_HAS_LONG_LONG.
* defs.h (longest_to_int): Use CC_HAS_LONG_LONG to control
how longest_to_int is defined.
* c-valprint.c (c_val_print): Call print_longest.
* expprint.c (dump_expression): Use PRINTF_HAS_LONG_LONG
instead of LONG_LONG.
* {printcmd.c, gdbtypes.h} (LONG_LONG): Replace usages with
CC_HAS_LONG_LONG.
* printcmd.c (print_scalar_formatted): Call print_longest
and let it figure out what to do for PRINTF_HAS_LONG_LONG.
* typeprint.c (print_type_scalar): Call print_longest and let
it figure out what to do for PRINTF_HAS_LONG_LONG.
* valprint.c (val_print_type_code_int): Call print_longest
and let it figure out what to do for PRINTF_HAS_LONG_LONG.
* stabsread.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
* value.h (struct value): Replace usage of LONG_LONG with
CC_HAS_LONG_LONG.
* value.h (print_longest): Add prototype.
* values.c (LONG_LONG): Replace usages with CC_HAS_LONG_LONG.
* values.c (unpack_double): Collapse code that was unnecessarily
dependent on CC_HAS_LONG_LONG. Use LONGEST instead of direct types.
* values.c (value_from_longest): Remove dependency on
CC_HAS_LONG_LONG and just use LONGEST.
* solib.c (solib_map_sections): Use bfd_get_filename
to access filename field.
* solib.c (clear_solib): Save filename and free it later, after
bfd_close, since bfd_close may reference it. Use bfd_get_filename
to access the field.
* config/convex/xm-convex.h (LONG_LONG): Replace with
CC_HAS_LONG_LONG. Add define for PRINTF_HAS_LONG_LONG.
* doc/gdbint.texinfo (LONG_LONG): Replace with CC_HAS_LONG_LONG.
Add PRINTF_HAS_LONG_LONG references.
David MacKenzie [Thu, 29 Apr 1993 06:55:21 +0000 (06:55 +0000)]
Add hyphens in usage messages.
David MacKenzie [Thu, 29 Apr 1993 06:45:39 +0000 (06:45 +0000)]
Clean up usage messages and option parsers.
Add program name to some error messages.
David MacKenzie [Thu, 29 Apr 1993 05:52:59 +0000 (05:52 +0000)]
Fix use of @dots and strip usage message.
David MacKenzie [Thu, 29 Apr 1993 05:49:07 +0000 (05:49 +0000)]
Fix an unclear sentence.
David MacKenzie [Thu, 29 Apr 1993 03:45:24 +0000 (03:45 +0000)]
Clean up English and Texinfo usage.
David MacKenzie [Thu, 29 Apr 1993 03:39:02 +0000 (03:39 +0000)]
Clean up English and Texinfo usage.
Jim Kingdon [Wed, 28 Apr 1993 23:34:24 +0000 (23:34 +0000)]
* inflow.c (kill_command), infcmd.c (attach_command),
remote.c (remote_interrupt_twice): In messages for the user, call it
"the program" or "the program being debugged" not "the inferior".
K. Richard Pixley [Wed, 28 Apr 1993 23:18:10 +0000 (23:18 +0000)]
add just-check target so that tests can be run without a noop build
pass.
Ken Raeburn [Wed, 28 Apr 1993 23:12:04 +0000 (23:12 +0000)]
include ctype.h, and some special-purpose regs for 29050
Ken Raeburn [Wed, 28 Apr 1993 23:04:12 +0000 (23:04 +0000)]
changes for hp300hpux -- won't be enabled until bfd work is done
Ken Raeburn [Wed, 28 Apr 1993 22:56:31 +0000 (22:56 +0000)]
checkpoint hp300hpux code from HP; needs cleanup before using
Ken Raeburn [Wed, 28 Apr 1993 22:55:25 +0000 (22:55 +0000)]
checkpoint hppa-elf code from Utah (Sanitize out until it's cleaned up & working)
Ken Raeburn [Wed, 28 Apr 1993 22:52:50 +0000 (22:52 +0000)]
add new field for subformat (for hp300 work)
Ken Raeburn [Wed, 28 Apr 1993 22:49:48 +0000 (22:49 +0000)]
allow overrides of armap defaults
Jim Kingdon [Wed, 28 Apr 1993 21:20:40 +0000 (21:20 +0000)]
* hp300ux-nat.c: Cast second arg to supply_register calls.
(_initialize_kernel_u_addr, getpagesize): New functions.
(store_inferior_register_1): Change arg name from value to val.
(fetch_core_registers): Make arg core_reg_size unsigned.
Pass 5 args to ptrace.
* config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
Remove KERNEL_U_ADDR stuff.
* infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
* config/m68k/hp300hpux.m{t,h}:
Move exec.o from NATDEPFILES to TDEPFILES
* config/m68k/hp300hpux.mt: Mention GAS requirement. Remove
hp-include stuff. Add m68k-tdep.o to TDEPFILES.
Ian Lance Taylor [Wed, 28 Apr 1993 20:44:05 +0000 (20:44 +0000)]
* config/obj-ecoff.c (obj_symbol_new_hook): Make up a .file if one
hasn't been seen yet.
(add_ecoff_symbol): Don't refer to cur_file_ptr if it is NULL.
Peter Schauer [Wed, 28 Apr 1993 20:36:48 +0000 (20:36 +0000)]
* ch-exp.y (yylex): Don't STREQ with simplename if it is NULL.
K. Richard Pixley [Wed, 28 Apr 1993 20:32:09 +0000 (20:32 +0000)]
Add CFALGS = -g to all subdir Makefile.in's.
Jim Kingdon [Wed, 28 Apr 1993 19:17:50 +0000 (19:17 +0000)]
* config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE.
Roland Pesch [Wed, 28 Apr 1993 18:48:20 +0000 (18:48 +0000)]
changes
Roland Pesch [Wed, 28 Apr 1993 18:44:58 +0000 (18:44 +0000)]
Changes thanks to Jim Kingdon's vigilance:
* doc/gdb.texinfo: make node "Shell Commands" unconditional;
describe `set demangle-style arm' (not cfront);
mention can type `q' to discard output, when gdb pages
Peter Schauer [Wed, 28 Apr 1993 18:41:59 +0000 (18:41 +0000)]
* valops.c (search_struct_field): Fix gdb core dump with incomplete
stabs info.
Jim Kingdon [Wed, 28 Apr 1993 17:48:00 +0000 (17:48 +0000)]
* remote.c: Change timeout to 2.
(remote_open): Use unpush_target not remote_close.
(remote_resume): If siggnal != 0, give warning not error().
(remote_wait, remote_interrupt, remote_interrupt_twice):
If we get two interrupts, let the user get out if they want.
(remote_{kill,mourn}): New functions.
i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
Ian Lance Taylor [Wed, 28 Apr 1993 16:29:35 +0000 (16:29 +0000)]
* config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl.
Jim Kingdon [Wed, 28 Apr 1993 15:33:20 +0000 (15:33 +0000)]
* Remote targets (mourn): Call unpush_target.
Jim Kingdon [Wed, 28 Apr 1993 13:51:26 +0000 (13:51 +0000)]
* config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
Jim Kingdon [Wed, 28 Apr 1993 13:42:43 +0000 (13:42 +0000)]
* config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
that ansidecl.h assumes ANSI on AIX.
Jim Kingdon [Tue, 27 Apr 1993 23:00:39 +0000 (23:00 +0000)]
* gdbint.texinfo (new node Debugging GDB, elsewhere):
Move a bunch of information from ../README.
(Getting Started): New node.
Jim Kingdon [Tue, 27 Apr 1993 22:59:03 +0000 (22:59 +0000)]
* README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
(Known bugs): Remove AIX bugs, revise SPARC struct bug description.
Peter Schauer [Tue, 27 Apr 1993 20:46:25 +0000 (20:46 +0000)]
* expprint.c (print_subexp): Fix bug with OP_SCOPE operator output.
Jim Kingdon [Tue, 27 Apr 1993 17:27:24 +0000 (17:27 +0000)]
* remote-vx.c (net_connect): Allow numeric IP address for host.
Ian Lance Taylor [Tue, 27 Apr 1993 17:01:28 +0000 (17:01 +0000)]
Build sun4 cross i386-go32.
Steve Chamberlain [Tue, 27 Apr 1993 02:20:07 +0000 (02:20 +0000)]
Support for the SH
Steve Chamberlain [Tue, 27 Apr 1993 01:48:05 +0000 (01:48 +0000)]
Support for SH.
Steve Chamberlain [Tue, 27 Apr 1993 01:39:38 +0000 (01:39 +0000)]
Support for the SH.
Steve Chamberlain [Tue, 27 Apr 1993 01:37:02 +0000 (01:37 +0000)]
sh.em, sh.sh, sh.sc-sh: New files supporting Hitachi SH.
Steve Chamberlain [Tue, 27 Apr 1993 01:32:09 +0000 (01:32 +0000)]
Support for Hitachi SH
Steve Chamberlain [Tue, 27 Apr 1993 01:19:25 +0000 (01:19 +0000)]
SH support
Steve Chamberlain [Tue, 27 Apr 1993 01:17:32 +0000 (01:17 +0000)]
Support for Hitachi SH
Steve Chamberlain [Tue, 27 Apr 1993 01:16:49 +0000 (01:16 +0000)]
SH support.
Steve Chamberlain [Tue, 27 Apr 1993 01:05:06 +0000 (01:05 +0000)]
Support for SH
Steve Chamberlain [Tue, 27 Apr 1993 01:02:38 +0000 (01:02 +0000)]
New stuff for SH.
Jim Kingdon [Mon, 26 Apr 1993 21:03:35 +0000 (21:03 +0000)]
* trad-core.c (trad_unix_core_file_p): Check the file size.
Ian Lance Taylor [Mon, 26 Apr 1993 19:59:24 +0000 (19:59 +0000)]
* gprof.h: Undefine hz.
Ian Lance Taylor [Mon, 26 Apr 1993 19:38:30 +0000 (19:38 +0000)]
* gprof.h: Include ansidecl.h before sysdep.h.
Ian Lance Taylor [Mon, 26 Apr 1993 19:29:58 +0000 (19:29 +0000)]
* expr.c (operand): Fix unary plus operator (previously was the
same as '~' operator!).
Ian Lance Taylor [Mon, 26 Apr 1993 18:27:40 +0000 (18:27 +0000)]
* sco-core.c (sco_core_vec): Add initializers for new target
fields.
Ian Lance Taylor [Mon, 26 Apr 1993 17:03:51 +0000 (17:03 +0000)]
Canonicalize rs6000-ibm-aix3.2 to rs6000-ibm-aix.
Jim Kingdon [Mon, 26 Apr 1993 16:44:03 +0000 (16:44 +0000)]
* rs6000-tdep.c (branch_dest): Deal with stepping through system call.
Ian Lance Taylor [Mon, 26 Apr 1993 15:52:47 +0000 (15:52 +0000)]
Updated dates.
Jim Kingdon [Mon, 26 Apr 1993 14:20:57 +0000 (14:20 +0000)]
* symtab.h, xcoffread.c: Revise linetable sorting comments.
Peter Schauer [Sun, 25 Apr 1993 09:33:49 +0000 (09:33 +0000)]
* valops.c (value_cast): A cast might also change the object
representation in C++.
* dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
to get the proper read_symtab function when called from mipsread.c.
* mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
for dummy psymtabs, inhibit processing of dummy psymtabs.
Jim Kingdon [Sun, 25 Apr 1993 04:49:34 +0000 (04:49 +0000)]
* Changes from (or inspired by) AMD:
* remote-udi.c (udi_attach): Assignments to Space and Offset were
switched, fix it.
(udi_wait): Make error message (UDIGetStdout) match error.
(udi_wait): Handle UDIStdinNeeded.
* command.c [CANT_FORK]: Use system().
* utils.c (prompt_for_continue): Allow quit with 'q'.
Jim Kingdon [Sun, 25 Apr 1993 04:47:10 +0000 (04:47 +0000)]
* a29k.h: Define _LIT.
Jim Kingdon [Sun, 25 Apr 1993 04:45:31 +0000 (04:45 +0000)]
* coffcode.h [_LIT]: Recognize .lit section.
Jim Kingdon [Sun, 25 Apr 1993 03:02:32 +0000 (03:02 +0000)]
* solib.c (solib_add): Don't call special_symbol_handling if there
were errors in symbol_add_stub. Also set so->from_tty before
calling symbol_add_stub.
Steve Chamberlain [Sat, 24 Apr 1993 02:10:09 +0000 (02:10 +0000)]
Support for the alpha
K. Richard Pixley [Sat, 24 Apr 1993 01:16:18 +0000 (01:16 +0000)]
switch from configuration from subdirs to configdirs
David D. Zuhn [Sat, 24 Apr 1993 01:08:35 +0000 (01:08 +0000)]
default is the tree supports X11
Roland Pesch [Sat, 24 Apr 1993 00:29:01 +0000 (00:29 +0000)]
gdbinv-s.texi, gdb.texinfo: include Hitachi SH target
gdb.texinfo: advance manual revision dates to present
gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi:
stop using silly Roman numerals in @set variable names
Stu Grossman [Sat, 24 Apr 1993 00:00:41 +0000 (00:00 +0000)]
* Merge in HPPA/BSD changes from Utah.
* hppa.c: Use this for both HPUX & BSD.
* targets.c: Enable hppa_vec for both HPUX & BSD.
* config/hppabsd.mt: TDEFINES => TDEFAULTS.
* hosts/hppabsd.h: #define HOST_HPPABSD.
Stu Grossman [Fri, 23 Apr 1993 23:43:18 +0000 (23:43 +0000)]
* Merge in HPPA/BSD patches from Utah:
* defs.h: Add const to 2nd arg of psignal prototype.
* hppah-tdep.c: Renamed to hppa-tdep.c 'cuz it's common code with
BSD now.
* hppab-core.c: Deleted. No longer useful.
* hppab-nat.c: #include more files. Use PT_WUREGS, not
PT_WRITE_U.
* hppab-tdep.c: Deleted. Supplanted by hppa-tdep.c.
* config/pa/hppabsd.mh (NATDEPFILES): Remove hppab-core.o.
* config/pa/hppabsd.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
* config/pa/hppahpux.mt (TDEPFILES): hppab-tdep.o => hppa-tdep.o
* config/pa/xm-hppab.h: #define SET_STACK_LIMIT_HUGE.
Stu Grossman [Fri, 23 Apr 1993 18:01:02 +0000 (18:01 +0000)]
* Fix two bugs found by deja-gnu. One is the incorrect reporting
of the PC being in a stack dummy when looking at a core file
without symbols. The other is the incorrect passing of char
arguments during expression evaluation (ie: p foo('a','b') would
mess up the passing of it's args because it wasn't coercing the
char's to ints).
* hppah-tdep.c: Rename global functions to have consistent hppa_
prefix. Make more functions static. Drop hp_ prefix from static
functions. (hppa_push_arguments): Call value_arg_coerce to cast
char to int args if necessary. (hppa_fix_call_dummy): Create
this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
* inferior.h (PC_IN_CALL_DUMMY): Check for frame_address being
valid (ie: != 0) before doing comparison against PC.
* valops.c (call_function_by_hand): Adjust call to FIX_CALL_DUMMY
to reflect new arguments.
* config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS): Use new hppa_
prefix for func name. (FIX_CALL_DUMMY): Move code into
hppah-tdep.c.
* testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c: Add calls
to malloc() so that we can test GDB eval of dynamically created
arrays (like char strings in `print "foo"').
Jim Kingdon [Fri, 23 Apr 1993 16:27:10 +0000 (16:27 +0000)]
more on Parameters
Jim Kingdon [Fri, 23 Apr 1993 15:12:25 +0000 (15:12 +0000)]
Doc fixes to previous doc fixes.
Jim Kingdon [Fri, 23 Apr 1993 14:51:06 +0000 (14:51 +0000)]
* stabs.texinfo (Parameters): Keep trying to get this right.
Jim Kingdon [Fri, 23 Apr 1993 14:51:03 +0000 (14:51 +0000)]
* stabs.texinfo (Parameters): Keep trying to get this right.
Peter Schauer [Fri, 23 Apr 1993 08:42:03 +0000 (08:42 +0000)]
* printcmd.c (print_address_symbolic): Search symtabs as well as the
minimal symbols for a nearby symbol.
John Gilmore [Fri, 23 Apr 1993 02:46:00 +0000 (02:46 +0000)]
Comment changes around minimal symbol recording.
K. Richard Pixley [Thu, 22 Apr 1993 23:38:30 +0000 (23:38 +0000)]
document FRAME_SAVED_PC and FRAME_CHAIN.
K. Richard Pixley [Thu, 22 Apr 1993 23:34:57 +0000 (23:34 +0000)]
comment changes only
K. Richard Pixley [Thu, 22 Apr 1993 23:32:33 +0000 (23:32 +0000)]
* mips-tdep.c (heuristic_fence_post): new static variable.
(heuristic_proc_start): use heuristic_fence_post, print better
warnings, but only if not stop_soon_quietly.
(_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
Jim Kingdon [Thu, 22 Apr 1993 22:27:25 +0000 (22:27 +0000)]
Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
* symtab.h: Fix LOC_REF_ARG comment.
Wed Apr 22 20:21:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
and Jim Kingdon (kingdon@cygnus.com)
* stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
LOC_REGPARM symbol.
* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
symfile.c (compare_symbols): Don't check first character; STRCMP
does that.
* stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
structures that are passed by address in a register.
* symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
* findvar.c (read_var_value),
printcmd.c (address_info, print_frame_args),
stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
* symtab.c (lookup_block_symbol): Deal with it.
Jim Kingdon [Thu, 22 Apr 1993 20:42:37 +0000 (20:42 +0000)]
* objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
Add objfile field.
* objfiles.c (find_pc_section): Return a struct obj_section *.
* sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
* symfile.c (syms_from_objfile) [IBM6000_TARGET]:
Don't use obj_section hack.
* xcoffexec (vmap_symtab): Relocate obj_sections.
* printcmd.c (containing_function_bounds): Use find_pc_section.
Fred Fish [Thu, 22 Apr 1993 18:31:36 +0000 (18:31 +0000)]
Save the README file for gdb snapshots here for now. Make note in
the .Sanitize file that snapshots.readme is explicitly not kept by
default.
Jim Kingdon [Thu, 22 Apr 1993 16:12:31 +0000 (16:12 +0000)]
* symtab.h: Clean up SYMBOL_VALUE comments.
Ian Lance Taylor [Thu, 22 Apr 1993 15:33:31 +0000 (15:33 +0000)]
* gdb.t07/watchpoint.exp: Removed a29k expected failure which now
works.
Ken Raeburn [Thu, 22 Apr 1993 06:59:58 +0000 (06:59 +0000)]
makefile.in change
Ken Raeburn [Thu, 22 Apr 1993 06:57:37 +0000 (06:57 +0000)]
add rule for building snapshot of gas+ld+binutils
Ken Raeburn [Thu, 22 Apr 1993 06:42:47 +0000 (06:42 +0000)]
keep new utility scripts
Ken Raeburn [Thu, 22 Apr 1993 06:42:06 +0000 (06:42 +0000)]
keep new test cases
Ken Raeburn [Thu, 22 Apr 1993 06:39:49 +0000 (06:39 +0000)]
keep change log
Ken Raeburn [Thu, 22 Apr 1993 06:39:01 +0000 (06:39 +0000)]
version.c is gone