blob: 994e6a3913e0a4f1d0f7df36342829c90eec1d6b [file] [log] [blame]
Fri Dec 31 14:33:49 1993 Jim Kingdon (
* nindy-share/nindy.c: Fix order of arguments to store_unsigned_integer
(second and third arguments were reversed).
(say): Use varargs.
Fri Dec 31 12:13:47 1993 Jim Kingdon (
* remote-mips.c: Add timeout parameter to mips_request and
(callers): pass in mips_receive_wait except mips_initialize (where
we use it to clean up the kludge where we had been changing
mips_receive_wait temporarily) and mips_wait (where we pass in
-1 for no timeout).
Fri Dec 31 14:33:49 1993 Jim Kingdon (
* stack.c (print_block_frame_locals): Also print LOC_BASEREG variables.
Fri Dec 31 06:55:38 1993 Peter Schauer (
* symtab.c (find_methods): Call fprintf_symbol_filtered with DMGL_ANSI.
Thu Dec 30 10:16:54 1993 Jim Kingdon (
* values.c (unpack_long): Fix garbled error message.
* remote-mips.c (mips_error): New function.
* remote-mips.c: Use it instead of error() most places.
* remote-mips.c (mips_receive_packet): New arg throw_error.
(mips_initialize): Use it not catch_errors.
* defs.h: Declare error_pre_print and warning_pre_print here...
* main.c: ...not here.
* breakpoint.c (breakpoint_chain): Make static.
* breakpoint.c, breakpoint.h (frame_in_dummy): New function.
* stack.c (print_frame_info): Use it.
Thu Dec 30 07:41:36 1993 Peter Schauer (
* exec.c (add_to_section_table): Check for SEC_ALLOC instead of
SEC_LOAD to handle .bss segments properly.
Thu Dec 30 10:16:54 1993 Jim Kingdon (
* infrun.c (wait_for_inferior): Enable code which assumes that if
we jump into the prologue from another function, then it was a
subroutine call. #if 0 AT_FUNCTION_START; the above code should
take care of this case.
Wed Dec 29 12:32:08 1993 Jim Kingdon (
* valprint.c (val_print_string): Change chunksize from 200
to 8.
* symfile.c (generic_load): If no arguments, get file name
from get_exec_file.
* c-exp.y: Revert Kung's change. "..." is not a type, and the
change caused "p (...)0" to dump core.
* gdbtypes.c (check_stub_method): Don't pass "..." to
parse_and_eval_type. This should fix the bug which Kung was
trying to fix.
* stabsread.c (define_symbol): If we choose not to combine
two symbols, don't just ignore the second (LOC_REGISTER) one.
* printcmd.c (print_frame_args): If we have a LOC_ARG and a
Tue Dec 28 15:08:00 1993 Fred Fish (
* solib.c (DEBUG_BASE): Remove macro and all references.
* solib.c (debug_base_symbols): Add array of symbols to lookup.
* solib.c (IGNORE_FIRST_LINK_MAP_ENTRY): Add macro.
* solib.c (look_for_base, locate_base): Use debug_base_symbols.
* solib.c (find_solib): Use IGNORE_FIRST_LINK_MAP_ENTRY.
Tue Dec 28 12:06:57 1993 Kung Hsu (
* c-exp.y : fix grammar to parse ellipsis (...)
Mon Dec 27 18:42:14 1993 Kung Hsu (
* stabsread.c (read_type): fix problem when reading static member
of a class. caused by change to allow :: inside template
instantiated name.
Mon Dec 27 11:07:05 1993 Jim Kingdon (
* gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
* m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
Allow pea %fp; move.l %sp, %fp instead of link instruction to
set up the new frame.
* main.c (init_main): Change "set remotedebug" back to var_zinteger
from var_boolean.
* c-exp.y (yylex): Don't try to deal with nested types.
* cp-valprint.c (cplus_print_value): Call check_stub_type on
TYPE_BASECLASS (type, i) before we look at its name.
* dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
from here . . .
* symtab.h: . . . to here.
* dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled.
and __gnu_compiled* from here . . .
* minsyms.c (prim_record_minimal_symbol_and_info): . . . to here.
* minsyms.c (prim_record_minimal_symbol): Call
prim_record_minimal_symbol_and_info rather than duplicating code.
* minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
coffread.c (record_minimal_symbol),
xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
Sun Dec 26 20:44:02 1993 Jeffrey A. Law (
* dbxread.c (process_one_symbol): Handle stabs-in-som just like
(pastab_build_psymtabs): Likewise.
* hppa-tdep.c: Change all comments to reference %r3 or frame
pointer rather than %r4.
(frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the
frame pointer.
* config/pa/tm-hppa.h (FP_REGNUM): Define as %r3.
(FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer.
(CALL_DUMMY): Likewise.
Sun Dec 26 16:59:39 1993 Jim Kingdon (
* exec.c (exec_file_command): If error occurs after we have opened
exec_bfd but before we call push_target, make sure to close exec_bfd.
* infrun.c (wait_for_inferior): Remove confusing and inaccurate
stuff about subroutine calls, return, etc., from comment which
says "We've wandered out of the step range.".
Sun Dec 26 09:18:10 1993 Peter Schauer (
* infrun.c (wait_for_inferior): When checking whether the line has
changed, check the symtab as well.
Sun Dec 26 09:18:10 1993 Jim Kingdon (
* gdbtypes.c (force_to_range_type): Use switch statement.
complain() not warning() if the TYPE_CODE isn't one we know how to
deal with gracefully. Use builtin_type_int not
lookup_fundamental_type (the objfile we passed to
lookup_fundamental_type was sometimes NULL).
* valops.c (call_function_by_hand, push_word), defs.h (push_word),
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
Use REGISTER_SIZE, unsigned LONGEST, and
{store,extract}_unsigned_integer, instead of sizeof
* All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
* hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.
* (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
Add lynx-nat.c.
Sat Dec 25 20:05:41 1993 Jeffrey A. Law (
* hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
of the current frame when "fromleaf" is true. Do not adjust the
frame base of the innermost frame if it is a leaf function.
Sat Dec 25 13:39:21 1993 Jim Kingdon (
* stabsread.c (define_symbol): Only combine a p/r pair into a
Sat Dec 25 09:50:29 1993 Peter Schauer (
* valops.c (value_struct_elt): Check for (value)-1 return from
Sat Dec 25 09:50:29 1993 Jim Kingdon (
* defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
The old way (using #undef in tm.h) was ugly and asking for
trouble, because it makes it possible for some file to use the
wrong definition. Move definition of HOST_CHAR_BIT after definition
* config/alpha/tm-alpha.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT
before defining them.
* mdebugread.c: Change the builtin_type_* in this file to
mdebug_type_* and make them static. Use TYPE_CODE_ERROR for
complex and float decimal.
* printcmd.c (disassemble_command): Call wrap_here between printing
address and printing instruction.
Fri Dec 24 14:23:57 1993 Jim Kingdon (
* stabsread.c (read_type): Don't fall through 'S' case (the case it
was falling though happened to do the right thing ("break;") but that
is hardly a good thing to assume).
Tue Dec 21 13:32:02 1993 Per Bothner (
* ch-exp.y (match_dollar_tokens): Fix off-by-one bug.
* ch-lang.c (chill_is_varying_struct), ch-lang.h: New function.
* ch-lang.c (chill_printstr): Use double quotes, not single quotes.
* ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_BITSTRING.
Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
* ch-valprint.c (chill_val_print): Handle TYPE_CODE_BITSTRING.
For TYPE_CODE_STRING, never print address. Handle VARYING strings.
* gdbtypes.c (force_to_range_type): New.
* gdbtypes.c (create_set_type): Make work, following Chill layout.
* stabsread.c (read_type): Distinguish string and bitstring from
char-array and set.
* valarith.c (value_subscript), valops.c (value_coerce_array):
Handle STRINGs as well as ARRAYs.
* valarith.c (value_bit_index): Fix think. Use new macros.
Fri Dec 17 10:45:32 1993 Kung Hsu (
* symtab (decode_line_1): fix a bug when position char is not
set correctly.
* c-valprint (c_val_print): handle vtbl printing when vtbl is not
set up yet.
Thu Dec 16 16:46:01 1993 Ian Lance Taylor (
* mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
defined, define it as 4.
Thu Dec 16 13:08:01 1993 Jeffrey A. Law (
* config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
* config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.
* config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
Thu Dec 16 09:14:58 1993 Jeff Law (
* hpread.c (read_hp_function_type): Correctly handle
pass-by-value structures > 64bits in size.
(process_one_debug_symbol): Likewise.
Mon Dec 13 20:17:39 1993 Per Bothner (
Implement support for Chill POWERSETs.
* ch-exp.y (operand_2): Implement 'Element IN PowerSet'.
* ch-typeprint.c (chill_type_print_base): Handle POWERSETs.
* ch-valprint.c (chill_val_print): Handle TYPE_CODE_SET.
* eval.c (evaluate_subexp): Implement BINOP_IN.
* expression.h (enum exp_opcode): Added BINOP_IN.
* gdbtypes.c (create_set_type), gdbtypes.h: New function.
* stabsread.c (read_type): If 'S', create a set type.
* valarith.c (value_bit_index, value_in), value.h: New functions,
for indexing in SETs.
Mon Dec 13 06:42:37 1993 Jeffrey A. Law (
* paread.c (pa_symfile_init): Check for the existance of stabs
after DBX_TEXT_SECT has been initialized.
Tue Nov 23 17:29:28 1993 Steve Chamberlain (
* config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
* config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No
extra frame info now.
* config/sh/sh.h (NOP): Define NOP insn.
* config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
* config/z8k/ (TDEPFILES): Add remote-sim.o to list.
* ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
(go32_readchar): Special handling for faster polling. (async
structure): Volatile.
* h8300-tdep.c (print_register_hook): Allocate and use the right
number bytes for the raw register.
* h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue):
deleted. (h8500_register_size, h8500_register_virtual_type, ):
Use new way of counting registers.
* remote-e7000.c (echo_index): deleted. (expect): Better handling
of user interrupts. (expect_prompt): Remove never used log file
support. (want, want_nopc): Add support for H8/300H.
(fetch_regs_from_dump): Treat \r and \n as whitespace.
(e7000_drain): Send an "end" command before waiting for output to
stop. (e7000_wait): Cope with H8/300H, better handling of user
interrupts. (why_stop, expect_n, sub2_from_pc): New function.
* remote-utils.c (gr_load_image): call fflush and QUIT more regularly.
* utils.c (notice_quit): New function for polling for user interrupts.
Fri Dec 10 15:53:56 1993 Per Bothner (
* stabsread.c (read_array_type): Allow negative array bounds,
without interpreting that to mean "adjustable."
* ch-valprint.c (chill_val_print): Handle RANGE types.
* ch-typeprint.c (chill_type_print_base): Handle BOOL.
Handle variant records. Handle RANGE types.
Tue Dec 7 15:41:32 1993 Ian Lance Taylor (
* config/mips/ Use tm-idt.h instead of tm-bigmips.h.
* config/mips/ Use tm-idtl.h instead of tm-mips.h.
* config/mips/tm-idt.h, config/mips/tm-idtl.h: New files; use
different BREAKPOINT value for IDT.
* mipsread.c: Include bfd.h and coff/sym.h.
Mon Dec 6 16:34:10 1993 K. Richard Pixley (
* ser-unix.c (set_tty_state): set the rest of the terminal state
Mon Dec 6 12:01:37 1993 Ian Lance Taylor (
* Recognize mips* for all mips targets.
(mips*el-*-elf*, mips*-*-elf*): New targets; use idt and idtl.
Added Irix 5 support.
* (mips-sgi-irix5*): New host and target. Use irix5
for both.
* config/mips/, config/mips/,
config/mips/xm-irix5.h, config/mips/nm-irix5.h,
config/mips/tm-irix5.h, irix5-nat.c: New files for Irix 5 support.
* mdebugread.c: New file, split out of mipsread.c. Added
elfmdebug_build_psymtabs routine. Added some checks on external
symbols. Changed code to keep ecoff_debug_info and
ecoff_debug_swap structs in the psymtab and in global pointers
rather than retrieving them from the bfd. Also changed to keep
the pending list with the psymtab rather than the objfile (each
psymtab for a single objfile points to the same pending list).
* mipsread.c: Bulk of file moved into mdebugread.c, leaving just
the sym_fns.
* (SFILES): Added mdebugread.c.
(OBS): Added mdebugread.o.
(mdebugread.o): New target.
* symfile.h: Declare mdebug_build_psymtabs and
* elfread.c (struct elfinfo): Added mdebugsect field.
(elf_locate_sections): Remember location of .mdebug section.
(elf_symfile_read): Call elfmdebug_build_psymtabs on .mdebug
* infrun.c (AT_FUNCTION_START): Set to 0 if not already defined.
(wait_for_inferior): Use AT_FUNCTION_START if it is defined to see
if PC is at the start of a function.
* mips-tdep.c (read_next_frame_reg): Use SIGFRAME_REG_SIZE, and
give it a default definition.
(mips_skip_prologue): Skip instructions which initialize $gp
(in_sigtramp): New procedure, moved in from mipsread.c.
* config/mips/tm-mips.h: Declare in_sigtramp.
* serial.h (serial_fdopen): Make parameter const to match
function definition.
Fri Dec 3 14:20:43 1993 Stu Grossman (grossman at
* config/mips/ Enable ser-tcp.o.
Tue Nov 30 15:24:24 1993 Ian Lance Taylor (
* (check): Do not use subdir_do, so that
TARGET_FLAGS_TO_PASS is used correctly.
Mon Nov 29 16:10:38 1993 Stu Grossman (grossman at
* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
Mon Nov 29 15:34:58 1993 Kung Hsu (
* stabsread.c(read_struct_field): Fix the check when getting to
member functions.
Mon Nov 29 16:48:16 1993 Ian Lance Taylor (
gcc -Wall -O lint:
* mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
warning. Unnest comment.
(init_extra_frame_info): Remove unused variable mask.
(MASK): Fully parenthesize.
(mips_push_dummy_frame): Remove unused variable val.
(mips_skip_prologue): Remove unused variables f and b.
Mon Nov 29 12:23:25 1993 Peter Schauer (
* mipsread.c (parse_symbol, parse_partial_symbols): Do not create
(partial) symbols for opaque struct definitions.
Mon Nov 29 11:36:57 1993 Stu Grossman (grossman at
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
to unsigned char to avoid domain warning for some values.
Mon Nov 22 23:42:59 1993 Steve Chamberlain (
* remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
* config/h8300/ Add remote-e7000.
Mon Nov 22 11:03:45 1993 Fred Fish (
Merged changes from (Kevin A. Buettner):
* config/m88k/ (NATDEPFILES): Added corelow.o and
coredep.o to this list.
* m88k-nat.c (m88k_register_u_addr): Avoid error when passed
the number for an M88110 extended register by just returning the
address of r0.
Sat Nov 20 09:20:51 1993 Fred Fish (
* go32-xdep.c (re_comp, re_exec): Remove stubs now that gdb
always uses it's own version of regex.
Fri Nov 19 18:23:19 1993 Kung Hsu (
* valops.c(value_struct_elt_for_reference): enhance search operator in
* symtab.c(decode_line_1): same as above.
Fri Nov 19 15:08:47 1993 Jim Kingdon (
* symtab.c (decode_line_1): Add comment about use of
return_to_top_level directly instead of error. Add comment saying
that the '' should not be needed--that the completer should be fixed.
Fri Nov 19 11:00:33 1993 Kung Hsu (
* symtab.c(decode_line_1): fix the inconsistency of setting
breakpoint with '' or without them. The '' is needed when you
want name completion.
Thu Nov 18 08:25:50 1993 Fred Fish (
* valprint.c (val_print_string): When looking for a null
terminator compare current bufsize to fetchlimit to determine
when to stop, instead of computing buffer+fetchlimit which
may overflow for very large limits (like "unlimited").
Wed Nov 17 18:23:09 1993 Kung Hsu (
* eval.c(evaluate_subexp): to use unified search so type conversion
operator works in calling method.
* valarith.c(value_x_binop, value_x_unop): same as above.
* valops.c(search_struct_method): same as above.
Wed Nov 17 18:47:34 1993 Ian Lance Taylor (
* mipsread.c: Change use of ECOFF information to correspond to
changes in bfd/libecoff.h.
(mipscoff_symfile_offsets): Made static.
Wed Nov 17 09:43:31 1993 Kung Hsu (
* valops.c (typecmp): improve prototype matching when calling
a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
* eval.c(evalute_subexp): fix operator search problem when call
like p x.'operator+'(i).
Tue Nov 16 17:15:03 1993 Stu Grossman (grossman at
* i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
common code into lynx-nat.c.
* lynx-nat.c: New module. Contains portable code for Lynx native
stuff (mostly ptrace related).
* config/i386/ (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
* config/m68k/ (NATDEPFILES): i386ly-nat.o -> lynx-nat.o
* config/nm-lynx.h, config/tm-lynx.h: New files to contain
non-architecture specific native and target defs.
* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all
(arch) portable stuff into ../{tm nm}-lynx.h.
Tue Nov 16 13:33:47 1993 Jim Kingdon (
* symtab.c (gdb_mangle_name): Only assume that the physname is
the entire mangled name if it looks like the mangled name of a
constructor. Needed for testsuite to work with GCC 2.4.5.
* a68v-nat.c: Replace with new version from Troy Rollo. The
version I am replacing appears to be an old copy of sun3-nat.c.
* dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
with loop.
_NO_SRCDIR versions.
(TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
(This is part of a long saga involving me putting srcdir on
everything (perhaps for now-obsolete reasons, I forget), Rich
removing the srcdir from everything, Stu putting it back some
places for Sun make, and me just now getting around to fixing
`make TAGS' again).
Mon Nov 15 12:29:10 1993 Kung Hsu (
* stack.c(print_frame_info): print demangled function name
ansi style.
Mon Nov 15 14:32:29 1993 Steve Chamberlain (
* remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
* remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.
* h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
(sim_load): delete.
* remote-sim.c (gdbsim_load): Use gr_load_image, rather than
* config/sh/ Add remote-e7000
Mon Nov 15 11:38:25 1993 Jim Kingdon (
* config/i386/ Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
* config/i386/xm-linux.h: Don't include xm-i386v.h. Define
Define NEED_POSIX_SETPGID. Include unistd.h.
Mon Nov 15 12:29:10 1993 Kung Hsu (
* symtab.c(gdb_mangle_name): fix the problem with constructor
name mangling.
Mon Nov 15 11:38:25 1993 Jim Kingdon (
* gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
what cleanup_undefined_types does for arrays, except we clear
TYPE_FLAG_TARGET_STUB if we fix up the type.
* stabsread.c (cleanup_undefined_types): Add comments about how
doing arrays here is no longer the clean way to do it.
(read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
* c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
outside switch so it happens for all type codes.
* cp-valprint.c (cp_print_value_fields): Recurse to val_print,
instead of c_val_print, so that check_stub_type gets called.
* gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
TYPE_FLAG_SIGNED. It was inconsistently set, never checked
(except in recursive_dump_type), and is pointless.
Mon Nov 15 00:40:38 1993 Jeffrey A. Law (
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
than the .text section.
Sun Nov 14 00:28:13 1993 Jim Kingdon (
* stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
this (more or less) gracefully, and complain() was never a good
way of dealing with this.
* stabsread.c (read_type): Skip the colon when reading a
cross-reference. Only complain, not error_type, on unrecognized
cross-reference types. error_type, not dump core, if the colon is
Fri Nov 12 16:23:08 1993 Stu Grossman (grossman at
* config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
when doing remote stuff.
Fri Nov 12 16:22:39 1993 Jim Kingdon (
* c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab.
* partial-stab.h: Ignore ':' symbol descriptors. Same case as
Kung's stabsread.c change.
Fri Nov 12 11:18:02 1993 Kung Hsu (
* stabsread.c (patch_block_stabs, define_symbol, read_type): in
g++ template instantiation, nested class can be part of the
params, and '::' can gets into symbol or type names. This is
to fix the problem.
* gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
to struct/union case.
Fri Nov 12 10:39:31 1993 Stu Grossman (grossman at
* coff-solib.c (coff_solib_add): Cast result of alloca().
* m68k-tdep.c (m68k_saved_pc_after_call): Get rid of
GDB_TARGET_IS_SUN3. Use more general SYSCALL_TRAP macro.
* config/m68k/ (NATDEPFILES): Remove exec.o (it's
already in TDEPFILES).
* config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL): Use
* Remove all Sun3 specific stuff.
* (FIX_CALL_DUMMY): Cast arg to bfd_putb32 to unsigned char *.
* config/m68k/tm-m68klynx.h: Define SYSCALL_TRAP as trap #10.
Disable REMOTE_BREAKPOINT mechanism.
* config/m68k/tm-sun3.h: Get rid of GDB_TARGET_IS_SUN3.
* Protect from multiple includion.
* Move Sun3 specific stuff from tm-m68k.h to here.
* Define SYSCALL_TRAP as trap #0.
* Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
* gdbserver/low-lynx.c: Redo all register store/fetch stuff to
make it portable for 386 and 68k.
Fri Nov 12 09:53:26 1993 Jim Kingdon (
* mips-tdep.c (init_extra_frame_info): Check to see whether the
registers mentioned in the proc_desc have been saved. This
generalizes mips_in_lenient_prologue in the sense that we keep
searching until we've found saves for all the registers, not just
look for a "lenient prologue" pattern.
* mips-tdep.c: #if 0 lenient prologue code.
* mips-tdep.c (heuristic_proc_desc): Don't assume a host short
is 16 bits.
Thu Nov 11 19:58:05 1993 Jim Kingdon (
* config/i386/ Comment out corelow.o.
* printcmd.c (address_info): Use filtered, not unfiltered functions.
We should be able to deal with a QUIT here.
Thu Nov 11 15:22:20 1993 Jeffrey A. Law (
* printcmd.c (address_info): Use fprintf_symbol_filtered
to print the symbol name.
* stabsread.c (define_symbol): Handle cfront lossage for
struct/union/enums and typedefs.
* partial-stab.h (case N_BINCL): Update psymtab_language
as appropriate when changing subfiles.
(case N_SOL): Update psymtab_language as appropriate when
changing subfiles. Add typedef for structs, unions, and enums
when processing C++ files.
Thu Nov 11 13:18:47 1993 Jim Kingdon (
* README: Remove information on languages and just cite the (newly
updated) information in doc/gdb.texinfo instead.
* delta68-nat.c: Fix typos (add missing ");" and stuct -> struct).
Wed Nov 10 09:31:10 1993 Jim Kingdon (
* dbxread.c (process_one_symbol, N_RBRAC): Don't clear
within_function just because local_symbols is NULL. It appears
that this bug has existed since the 10 Apr 89 change which started
clearing within_function here.
* config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
* config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h,
tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h:
* dbxread.c: Remove BELIEVE_PCC_PROMOTION define. The code which
used this was moved to stabsread.c a long time ago.
* dstread.c (dst_sym_fns): Update for flavours.
* symfile.c (find_sym_fns): Add kludge for apollo like for rs/6000.
* dstread.c (dst_symfile_offsets): Set objfile->num_sections.
gcc -Wall lint:
* thread.c: Include "gdbcmd.h" and <ctype.h>.
* Update dependency.
* thread.c (thread_command): Remove unused variable p.
* values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
* valprint.c (print_floating): Correctly check sign bit now that
we are using unsigned arithmetic.
* symtab.c (find_pc_line_range): Remove unused variables exact_match,
ind, and l.
Tue Nov 9 17:42:25 1993 Kung Hsu (
* valarith.c (value_x_binop): fix search operator in class bug
* valarith.c (value_x_unop): fix search operator in class bug
Tue Nov 9 19:20:17 1993 Jim Kingdon (
* (init.c): Add udi2go32.o to list of files that we
should not try to search for _initialize_* functions.
* remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
UDIStdoutReady. It accidentally got changed on 24 Oct 93 when
stdout was changed to gdb_stdout. Likewise for UDIGetStdout,
UDIStderrReady, and UDIGetStderr.
Tue Nov 9 12:48:06 1993 Tom Lord (
* remote-hms.c (hms_wait): fixed too many arguments to putc_unfiltered.
Tue Nov 9 12:20:46 1993 Jim Kingdon (
* utils.c (quit): Also call gdb_flush on standard output and error.
* .gdbinit: Remove "source /.gdbinit". It causes a spurious error
if /.gdbinit doesn't exist (and I know of no convention of putting
something in /.gdbinit).
Mon Nov 8 18:17:11 1993 Kung Hsu (
* cp-valprint.c (cp_print_value_fields): change output from <no
value> to <optimized out or zero length>
Mon Nov 08 17:05:30 1993 Jeffrey Wheat (
Change RUNTEST = runtest to test for existance of
a runtest in the source tree first.
Mon Nov 8 10:42:03 1993 Jim Kingdon (
* Remove unused variable GCC. Remove "#CC=cc" line
which doesn't really relate to anything.
* (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
for existence of gcc/Makefile.
* inflow.c (terminal_init_inferior), infptrace.c (child_resume):
Add comments about use of Lynx PIDGET and how we will want to
clean it up.
* stabsread.c: Remove long_kludge_name code (it was already #if 0).
* stabsread.c (read_one_struct_field): Clean up comments to reflect
Kung's change of 5 Nov 93.
* stabsread.c (read_one_struct_field): Don't give up on unknown
visibility character, just shove it in fip->list->visibility.
(read_baseclasses): Don't give up on unknown virtual or visibility
characters, just assume a reasonable default, complain, and keep
(attach_fields_to_type): Complain on unrecognized visibility.
One result of all this is that '9' (VISIBILITY_IGNORE) can be used
in a stab as well as being something which GDB uses internally.
Mon Nov 8 07:57:30 1993 Doug Evans (
* Remove h8300h, we have multilib now.
Mon Nov 8 06:11:24 1993 D. V. Henkel-Wallace (
* Add unixware as a configuration alias for x86
* config/i386/ add i387-tdep.o, exec.o to TDEPFILES
Sun Nov 7 23:49:21 1993 Peter Schauer (
* symtab.c (decode_line_1, decode_line_2): Do not adjust pc by
FUNCTION_START_OFFSET if funfirstline is not set.
Fri Nov 5 17:19:30 1993 Kung Hsu (
* gdbtypes.h : add a field 'ignore_field_bits in cplus_specific,
and macros to handle the bits.
* stabsread.c (read_one_struct_field): add VISIBILITY_IGNORE, and
for field of length 0, set this bit on.
* cp-valprint.c (cp_print_value_fields): for VISIBILITY_IGNORE
field, print <no value>.
Fri Nov 5 14:43:46 1993 Jim Kingdon (
* Version 4.11.2.
Fri Nov 5 09:49:22 1993 Stu Grossman (grossman at
* inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
macro to set process groups.
* infptrace.c (child_resume): Temporarily use Lynx PIDGET to
specify resumption of all threads.
* infrun.c (wait_for_inferior): Fix handling of thread-specific
breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup
PC by the right amount when continuing the thread).
* thread.c (thread_apply_command): Add the `thread apply'
command to apply a given GDB command to a list of threads.
Fri Nov 5 05:58:03 1993 Jim Kingdon (
* (init.c): Don't call sed if filename is empty.
Thu Nov 4 08:27:24 1993 Jim Kingdon (
* dbxread.c (unknown_symchar_complaint): Make message refer to
"symbol descriptor" not "symbol type character" for consistency
with stabs.texinfo terminology.
* stabsread.c (read_struct_fields): Accept either '$' or '.' as
the character which introduces a cpp_abbrev or anonymous type.
* c-lang.c (c_printstr): Print "" to stream (like all the other
output from this function), not gdb_stdout.
* dbxread.c (process_one_symbol): Do relocate 'S' symbols by
the text offset (revert 12 Oct 93 change).
* Make hppa*-*-hiux* use hppahpux,
not non-existent hppahiux.
Wed Nov 3 16:24:09 1993 Kung Hsu (
* values.c (value_fn_field): when physical name not found, do not
error, but return null.
* valops.c (value_struct_elt): when name and args match does not
mean it is the one, some times a typedef class can have the same
member method and args. This probably will not happen with new
version of g++, but it does happen in old g++ and cause gdb error.
Wed Nov 3 09:20:18 1993 Jim Kingdon (
Merge changes for dos x udi:
* (udi2go32.o): add rule to build this file
* 29k-share/udi/udi2go32.c: new file
* config/a29k/ add udi2go32.o
* 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
if __GO32__ is defined. What a hack.
Wed Nov 3 09:20:18 1993 Jim Kingdon (
* remote.c (putpkt, getpkt): Don't call interrupt_query.
* findvar.c (value_of_register): Rename val to reg_val to avoid
name conflict with some (e.g. tm-m68k.h) REGISTER_CONVERT_TO_VIRTUAL.
* main.c: Add variables source_line_number, source_file_name,
source_error, source_error_allocated, and source_pre_error.
(command_line_input): If source_file_name set, increment
source_line_number and set error_pre_print with them.
(source_command): Set source_* and make a cleanup so they get
set back.
Tue Nov 2 16:28:34 1993 Jim Kingdon (
* stack.c (down_silently_command): Add comment about PR 1913.
* breakpoint.c (insert_breakpoints, delete_breakpoint): Call
target_terminal_ours_for_output before attempting output.
* fork-child.c (fork_inferior): Fix comment so that it suggests
"set shell" rather than having "set env SHELL" affect GDB's
Tue Nov 2 15:03:08 1993 Tom Lord (
* utils.c (vfprintf_unfiltered): don't use maybe_filtered
since it involves a fixed size buffer.
Tue Nov 2 13:42:30 1993 Peter Schauer (
* findvar.c (value_of_register, value_from_register),
hppa-tdep.c (pa_print_fp_reg), infcmd.c (do_registers_info),
valops.c (value_assign): Use REGISTER_CONVERT_TO_* only if
REGISTER_CONVERTIBLE is defined, otherwise just copy the content.
Pass desired type to REGISTER_CONVERT_TO_*.
* config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
Pass length of desired type to store/extract_floating.
* config/i386/tm-arm.h, config/i386/tm-i386aix.h,
config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
config/m88k/tm-m88k.h config/rs6000/tm-rs6000.h (REGISTER_CONVERT_*):
Use extract_floating and store_floating with length of desired type.
* config/m68k/tm-news.h (STORE,EXTRACT_RETURN_VALUE): Add type
parameter to REGISTER_CONVERT_*.
* config/a29k/tm-a29k.h, config/convex/tm-convex.h,
config/gould/tm-np1.h, config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/i386/tm-i386v.h,
config/mips/tm-mips.h, config/ns32k/tm-merlin.h,
config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/tahoe/tm-tahoe.h,
config/vax/tm-vax.h, config/z8k/tm-z8k.h (REGISTER_CONVERTIBLE,
versions for which REGISTER_CONVERTIBLE is always false.
* z8k-tdep.c (register_convert_to_virtual, register_convert_to_raw):
Remove, no longer used.
* alpha-tdep.c (alpha_register_convert_to_raw,
alpha_register_convert_to_virtual): New routines to handle
the different raw formats in alpha floating point registers.
* config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE,
Tue Nov 2 12:45:23 1993 Stan Shebs (
* gdbserver/ Recognize *-*-lynxos* instead of
*-*-lynx*, recognize sparc-*-lynxos*.
* gdbserver/ (install, install_only): Add.
* gdbserver/gdbserver.1: New file, man page for gdbserver.
Tue Nov 2 03:01:01 1993 Jeff Law (
* hpread.c: Include <time.h> and <sys/types.h>. Change include
of "libhppa.h" to "som.h".
(BYTES_IN_WORD): Define.
(hppa_sym_fns): "hppa" is 4 characters, not 5.
Mon Nov 1 09:40:21 1993 Jim Kingdon (
* symtab.c, symtab.h, source.c: Change find_line_pc_range to take
a struct symtab_and_line argument, rather than a symtab and a line.
Re-write it to be based on the address rather than bogusly adding
one to the line number and hoping that has something to do with the
end of the line.
* config/m88k/ (NATDEPFILES): Remove exec.o.
* paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.
* Add -O to CXXFLAGS.
* TODO: Expand comments on fast watchpoints.
Sun Oct 31 19:45:06 1993 Jeffrey A. Law (
* paread.c (pa_symtab_read): Also filter out local symbols
starting with "L$".
Sun Oct 31 09:28:46 1993 Jim Kingdon (
* symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c:
Change from using bfd target name to using the flavour.
* objfiles.h, infcmd.c, symfile.c: Add comments about how various
objfiles get created and when we should blow them away.
Sat Oct 30 08:32:53 1993 Jim Kingdon (
* symfile.c (reread_symbols): When re-reading symbols, do all the
right operations ourself, rather than calling symbol_file_command.
If we re-read something, call clear_symtab_users not just
* objfiles.h, objfiles.c (build_objfile_section_table): No longer
* symfile.c (clear_symtab_users): Call clear_pc_function_cache.
* coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c
(*_symfile_offsets): Set objfile->num_sections.
* remote.c (remote_wait), symfile.c (syms_from_objfile):
Don't muck with objfile->num_sections now that all the symbol
readers set it.
* elfread.c: Clean up obsolete comment about handling only DWARF.
* paread.c: Remove comment about how we should use an "ordinary"
file format with an hppa suffix. There is nothing ordinary about SOM.
* config/i386/{,}, config/mips/,
config/ns32k/ Change MMALLOC_LIB to MMALLOC.
* TODO: Update Mach stuff.
Fri Oct 29 16:30:36 1993 Stan Shebs (
LynxOS support:
* Change *-*-lynx* to *-*-lynxos*, add
* (ALLDEPFILES): Add m68kly-nat.c, sparcly-nat.c.
Rename i386lynx-nat.[co] to i386ly-nat.[co].
(ALLCONFIG): Add config/{m68k,sparc}/{m68k,sparc}lynx.m[ht].
(m68kly-nat.o, sparcly-nat.o): Add rules.
* i386ly-tdep.c: Cosmetics.
* i386lynx-nat.c: Removed.
* i386ly-nat.c: New file, was i386lynx-nat.c.
* m68kly-nat.c: New file.
* sparcly-nat.c: New file.
* config/xm-lynx.h: New file, cpu-independent host info.
* config/i386/ Changes for consistency.
* config/i386/ Ditto.
* config/i386/tm-i386lynx.h: Ditto.
* config/i386/nm-i386lynx.h: Ditto.
* config/i386/xm-i386lynx.h: Include config/xm-lynx.h.
* config/m68k/, config/m68k/,
config/m68k/tm-m68klynx.h, config/m68k/nm-m68klynx.h,
config/m68k/xm-m68klynx.h: New files, M68K LynxOS support.
* config/sparc/, config/sparc/,
config/sparc/tm-sparclynx.h, config/sparc/nm-sparclynx.h,
config/sparc/xm-sparclynx.h: New files, Sparc LynxOS support.
Fri Oct 29 08:11:29 1993 Jim Kingdon (
* defs.h, findvar.c (extract_floating, store_floating): New functions.
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is
now used only by extract_floating and store_floating.
* valprint.c (print_floating): Use unsigned arithmetic. Use
extract_unsigned_integer instead of SWAP_TARGET_AND_HOST.
Change sizeof (float) to 4 and sizeof (double) to 8 (those are always
the relevant sizes for this code, which is in #ifdef IEEE_FLOAT).
* values.c (unpack_long, unpack_double, value_from_double),
valarith.c (value_binop), stabsread.c (define_symbol):
Use extract_floating and store_floating instead of
* config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
Use extract_floating and store_floating.
* config/m88k/tm-m88k.h: Add comments (it should be doing the same).
* i386-tdep.c (i386_extract_return_value),
* remote-nindy.c (nindy_store_registers): Use store_floating.
Fri Oct 29 09:31:38 1993 Steve Chamberlain (
* remote-sim.c (gdbsim_store_register): Change var name so
it compiles with non-ANSI compilers.
Fri Oct 29 08:11:29 1993 Jim Kingdon (
* TODO: Add idea for "disassemble" with source.
Fri Oct 29 00:41:01 1993 Fred Fish (
* (VERSION): Bump to 4.11.1 after release and cvs
Thu Oct 28 09:14:42 1993 Jim Kingdon (
* TODO: Add section on Mach. Stop calling it a "bug list".
Remove John's name and email address. Remove item on "always"
("hook-stop" takes care of this). Remove item on executables with
no symbols (this works on some machines, at least). Remove item
about calling error() during symbol reading (I think all the important
ones have been cleaned up). Revise items about signals and remote
systems. Remove section on ^Z requiring several continues to make
it go (this now works. Perhaps the item is based on confusion over
programs (like GDB itself) which catch SIGTSTP and then re-send
themselves the signal. PR 2575 might contain relevant info).
Thu Oct 28 16:55:34 1993 Fred Fish (
* NEWS: Note improvements in C++ support, preliminary thread
implementation, and LynxOS native and target support for 386.
Thu Oct 28 16:55:34 1993 Fred Fish (
* README: Add note from Peter Schauer about OSF/1 shared
libraries. Add note from Pace Willisson about configuring on BSDI
BSD/386 release 1.0. Update gdb references to gdb 4.11.
Thu Oct 28 09:14:42 1993 Jim Kingdon (
* NEWS: Add notes about Alpha and "set remotedebug" for UDI.
* valops.c (value_assign): Change bitfield code to use a buffer of
the correct size, rather than an int.
Wed Oct 27 13:43:07 1993 Jim Kingdon (
* config/i386/{,},
config/ns32k/{,}: Use correct names for TM_FILE
and XM_FILE. Replace host files *mach3-xdep.o with native
files *m3-nat.o. Replace host file os-mach3.o with native
file m3-nat.o.
* remote-udi.c: Remove LOG_FILE stuff; superceded by "set remotedebug".
* remote-mon.c: Remove commented out "set remotedebug" command.
* remote-nindy.c: Clean up comment about wanting alternative to
options specified on the GDB command line.
* fork-child.c (fork_inferior): Set inferior_pid before calling
init_trace_fun. Move the code which gets us through the shell
to new function startup_inferior.
* inferior.h: Declare startup_inferior.
* procfs.c (procfs_init_inferior), inftarg.c (ptrace_him):
Call startup_inferior.
* m3-nat.c (m3_trace_him): Call intercept_exec_calls.
* config/nm-m3.h: Don't define STARTUP_INFERIOR.
* config/i386/tm-i386m3.h, config/ns32k/tm-ns32k.h,
config/mips/tm-mipsm3.h: Don't define START_INFERIOR_TRAPS_EXPECTED.
* m68k-stub.c: Change vector 13 from SIGFPE to SIGBUS.
Tue Oct 26 22:05:03 1993 Jim Kingdon (
* mips-tdep.c (mips_pop_frame): If proc_desc is NULL, don't dump core.
Tue Oct 26 15:07:29 1993 Jim Kingdon (
gcc -Wall lint:
* nlmread.c: Include stabsread.h.
* Update dependencies.
* remote.c: Change PBUFSIZ back to 400. John's 28 Feb 1992 change
to increase it broke the ability to write large chunks of memory
with m68k-stub and i386-stub. Now we only use more than 400 on
machines where we need that much to write the registers.
* remote.c (remote_write_bytes): Eliminate possible abort(). The
check for when to abort was off by a few bytes and besides which,
it is handled by MAXBUFBYTES, which the caller uses.
* m68k-stub.c: Add comments about trap #1 and trap #8 instructions.
Tue Oct 26 08:36:07 1993 Doug Evans (
* remote-sim.h (SIM_ADDR): New type (same as CORE_ADDR).
(sim_set_pc): Update prototype.
(sim_read, sim_write): Ditto, and use unsigned char *buf.
(sim_fetch_register, sim_store_register): Use unsigned char *buf.
(sim_info): Pass printf function as argument, add verbose argument.
(sim_stop_reason): Renamed from sim_stop_signal, fix prototype.
* remote-sim.c (gdbsim_wait): Update call to sim_stop_reason.
(gdbsim_files_info): Update call to sim_info.
Tue Oct 26 10:41:29 1993 Jim Kingdon (
* valops.c (value_assign): Call reinit_frame_cache when assigning
to a register.
Mon Oct 25 11:08:59 1993 Stu Grossman (grossman at
* infrun.c (wait_for_inferior): Fix PC out of objfile bounds
check to just use stop_func_name == 0.
* remote-udi.c (store_register): Invalidate NPC/PC_REGNUM after
changing PC.
Mon Oct 25 14:57:45 1993 Jim Kingdon (
* gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
gcc -Wall lint:
* breakpoint.c: Include thread.h.
* coffread.c: Include stabsread.h.
* Update dependencies.
* breakpoint.c (mention): Add bp_call_dummy to switch.
* symmisc.c (dump_symtab): Use %d not %ld for line number.
Sun Oct 24 18:29:32 1993 Tom Lord (
* every non-obsolete file except utils.c:
Change the stream argument to _filtered to GDB_FILE *.
Change all references to stdout/stderr to gdb_stdout/gdb_stderr.
Replace all calls to stdio output functions with
calls to corresponding _unfiltered functions.
Replaced calls to fopen for output to gdb_fopen.
Added sufficient goo to utils.c and defs.h to make the above
The net effect is that stdio output functions are only directly
used in utils.c. Elsewhere, the _unfiltered and _filtered
functions and GDB_FILE type are used.
In the near future, GDB_FILE will stop being equivalant to
The semantics of some commands has changed in a very subtle way:
called in the right context, they may cause new occurences of
prompt_for_continue() behavior.
Please respect this change by not reintroducing stdio output
dependencies in the main body of gdb code. All output from
commands should go to a GDB_FILE.
Sun Oct 24 20:16:38 1993 Peter Schauer (
* parse.c, parser-defs.h (write_exp_msymbol): New function to write
the appropriate expression for a minimal symbol. Taken from c-exp.y
and m2-exp.y but handles mst_file_*.
* c-exp.y, m2-exp.y: Use it.
Sun Oct 24 09:31:05 1993 Fred Fish (
* elfread.c (elf_symtab_read): Use bfd convention that both
initialized and uninitialized data sections have the SEC_ALLOC
flag bit set, but only initialized sections have SEC_LOAD set.
SEC_DATA is ignored since it only gets set for initialized
Sat Oct 23 14:48:18 1993 Doug Evans (
* remote-sim.h (sim_stop): New enum.
(sim_stop_signal): Change prototype, result is enum sim_stop.
* remote-sim.c (gdbsim_wait): Update call to sim_stop_signal.
Fri Oct 22 07:49:54 1993 Jim Kingdon (
* stabsread.c (define_symbol): Skip the whole thing about "pcc
promotion" on little-endian machines.
* remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.
Some compilers (legitimately) don't like variables in the
function's outermost block whose name is the the same as the name of
a parameter.
Merge Apollo patches from Troy Rollo (
* dst.h, dstread.c, config/m68k/{,tm-apollo68b.h}:
New files.
* config/m68k/nm-apollo68b.h: Add more defines.
* Recognize apollo target, not just host.
* Add * to end of all OS names.
Fri Oct 22 06:14:01 1993 Fred Fish (
* (ALLPARAM): Add config/m88k/xm-delta88v4.h
Thu Oct 21 12:23:12 1993 Jim Kingdon (
* (init.c): Generate using the source, not munch. This
cleans up all kinds of hassles (which nm to use in munch, etc). The
new formatting conventions (mostly already followed) are that
the name of the _initialize_* routines must start in column zero,
and must not be inside #if.
* munch: Removed.
* Remove references to munch.
* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
z8k-tdep.c: Make sure the above conventions are followed. Make
sure they are all declared as returning void. Clean up
miscellaneous comments and such.
* sh-tdep.c (sim_load): Add function.
Thu Oct 21 15:58:48 1993 david d `zoo' zuhn (
* remote-mips.c (mips_wait): add pid argument.
Thu Oct 21 12:23:12 1993 Jim Kingdon (
* ( Remove notice about shift/reduce conflicts
which no longer occur.
gcc -Wall lint:
* findvar.c (symbol_read_needs_frame), corelow.c (ignore),
inflow.c (gdb_has_a_terminal): Make sure to return a value.
* regex.h: Declare re_set_syntax.
* printcmd.c: Include valprint.h.
* infcmd.c, exec.c, maint.c, core.c: Include language.h.
* maint.c: Include expression.h.
* infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
* inftarg.c: Include command.h.
* coredep.c: Include value.h.
* c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
* ch-typeprint.c: Include typeprint.h.
* ch-valprint.c: Include c-lang.h.
* nlmread.c: Include buildsym.h.
* environ.c: Include gdbcore.h. Only include defs.h once.
(set_in_environ): Cast const char * to char * when passing to
* Update dependencies to reflect all these new includes.
Remove unused variables:
* printcmd.c (printf_command): args_to_vprintf.
* coffread.c (coff_symfile_init): strsection.
Move variables to within the #ifdefs where they are used:
* symtab.c (gdb_mangle_name): opname.
* inftarg.c (child_attach): pid and exec_file.
* inftarg.c (child_detach): siggnal.
* objfiles.c (allocate_objfile): mapto, md, and fd.
* objfiles.c (free_objfile): mmfd.
* infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
* infrun.c (wait_for_inferior): Remove unused same_pid label.
* inferior.h: Declare set_sigint_trap and clear_sigint_trap.
* parser-defs.h: Declare write_exp_elt_block.
* stabsread.h: Declare elfstab_offset_sections and
Thu Oct 21 12:05:08 1993 Ken Raeburn (
Patch from Jeff Law:
* paread.c: Fix references to "hppa" that should now be "som".
Thu Oct 21 12:23:12 1993 Jim Kingdon (
* symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
Thu Oct 21 02:59:07 1993 Stu Grossman (grossman at
* remote-udi.c (udi_store_registers, store_register): Use
UDI29KPC address space when modifying PC. It seems that you can't
modify the PC directly (at least in the isstip simulator).
Wed Oct 20 11:35:43 1993 Jim Kingdon (
* target.h: Put remote_debug declaration back here. Add baud_rate.
* remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
declaring these. Those random externs all over are error prone.
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.
* mipsread.c (parse_symbol): In third-eye, a function has a block
within it which represents the whole function. Create only one
GDB block for both.
Wed Oct 20 17:47:42 1993 Stu Grossman (grossman at
* main.c: Make baud_rate and remote_debug be global variables,
remove #include "remote-utils.h". This makes it possible to build
GDB without remote-utils.c. Also, move setting of remote_debug
into main, so that all remote*.c files can use it (not just the
serial line ones). And, make baud_rate be an int.
* remote-udi.c: Change kiodebug to remote_debug.
* remote-utils.c: Move setting of baud rate and debug into main.c.
* remote-utils.h: Redefine sr_{get set}_debug and sr_{get set}_baud
to use baud_rate and remote_debug globals for compatibility.
* remote.c: Use remote_debug and baud_rate globals directly,
instead of sr_ functions, so that we don't need to load
* config/a29k/ Define REMOTE_O as null so that we don't
get the default remote* modules.
Wed Oct 20 11:35:43 1993 Jim Kingdon (
* stabsread.c (define_symbol): When combining a LOC_ARG and a
LOC_REGISTER, use the type from the LOC_REGISTER, not from the
Wed Oct 20 14:34:38 1993 K. Richard Pixley (
* config/i386/xm-go32.h: define some signals if they aren't
already defined.
Wed Oct 20 11:35:43 1993 Jim Kingdon (
* (INTERNAL_LDFLAGS): New macro. The new part is
that we use CFLAGS and PROFILE_CFLAGS to link.
(gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
Wed Oct 20 09:29:55 1993 Stu Grossman (grossman at
* Add $(srcdir) to all refs to 29k-share
Tue Oct 19 17:23:34 1993 Fred Fish (
* (ALLCONFIG): Add config/i386/{,,
i386/ i386/}, config/mips/{,}, config/ns32k/{,}
* (remote_utils_h): Add remote-sim.h
* (NONSRC): Add i386-nlmstub.c
* (HFILES): Add coff-solib.h
Tue Oct 19 14:15:40 1993 Kung Hsu (
* values.c (value_virtual_fn_field): Fix the offset calculation
when calling virtual functions. (gdb.t22/virtfunc.exp).
* eval.c (evaluate_subexp): same as above.
Tue Oct 19 10:43:16 1993 Jim Kingdon (
* config/rs6000/ (TERMCAP): Define to -lcurses.
* Define CXXFLAGS.
Tue Oct 19 09:28:52 1993 Stu Grossman (
* sparclite/ Fixup so that this works with Sun make
and VPATH.
Tue Oct 19 10:43:16 1993 Jim Kingdon (
* breakpoint.h (struct bpstat_what): Don't use bitfields.
* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
Tue Oct 19 06:17:10 1993 Fred Fish (
* (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
tm-delta88v4.h, xm-dgux.h}.
* (ALLCONFIG): Add config/m88k/{,}.
* README: Remove comment about SunOS 5.x programs leaving
coredumps. Info from Sun is that this was not in customer
Mon Oct 18 10:28:08 1993 Jim Kingdon (
* hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
done stepping the inferior.
* c-exp.y: Remove never-used (because of shift/reduce conflicts)
rules for pointers to members.
* Remove notice about expected shift/reduce conflicts.
* buildsym.c (finish_block): If we pop the context stack and it is
not empty, complain () instead of abort ().
Sun Oct 17 19:42:31 1993 Jim Kingdon (
* parse.c, parser-defs.h (follow_types): New function.
* c-exp.y (ptype : typebase abs_decl): Use it.
* c-exp.y (ptype): Add support for type qualifiers after the
typebase. The typebase rule already has support for them before
the typebase.
* Change the expected number of shift/reduce
conflicts to 6. This is OK--the 2 new conflicts are basically the
same as one of the old ones.
Sun Oct 17 13:04:49 1993 Fred Fish (
* (VERSION): Bump to 4.10.3.
Sun Oct 17 09:18:57 1993 Jim Kingdon (
* infrun.c (wait_for_inferior): Clean up comments which were at
the top of the file, making them more concise and moving them with
the code (Sorry, Randy, but these stream-of-consciousness comments
really have to go). Switch the order of the "&&", which makes
things clearer and turns out to be an improvement with respect to
side effects and speed.
Sun Oct 17 02:06:01 1993 Stu Grossman (grossman at
* procfs.c: Handle process exits more elegantly by trapping on
entry to _exit. Also, cleanup procinfo list when process dies of
it's own accord (as opposed to being killed).
Sat Oct 16 20:47:30 1993 Jim Kingdon (
* config/m88k/xm-dgux.h: Define NO_PTRACE_H.
* corelow.c (add_to_thread_list): Need a cast to go from PTR to
asection *.
* infrun.c: Add comment about signals.
* fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
Stu reinstated it (accidently I assume).
Sat Oct 16 15:27:10 1993 Stu Grossman (grossman at
* procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
files. Use PIOCWSTOP instead.
* corelow.c (add_to_thread_list): Fix arg to match prototype.
* procfs.c (procfs_set_sproc_trap): Don't use this if sproc
isn't available.
* (procfs_notice_signals): Fix prototype.
Fri Oct 15 22:46:07 1993 Stu Grossman (grossman at
* breakpoint.c (breakpoint_thread_match break_command_1):
Thread-specific breakpoint support.
* breakpoint.h (struct breakpoint): Add thread id field.
* fork-child.c (fork_inferior): Move call to init_thread_list()
back a bit so that init_trace_fun can do thread functions.
* hppa-tdep.c (restore_pc_queue): Add pid to call to target_wait.
* hppab-nat.c (child_resume): Handle default pid.
* hppah-nat.c (child_resume): Handle default pid.
* i386lynx-nat.c (child_wait): New arg pid.
* inflow.c (kill_command): Reset thread list.
* infptrace.c (child_resume): Handle default pid.
* infrun.c: Thread-specific breakpoint support.
* inftarg.c (child_wait): Add pid arg.
* osfsolib.c (solib_create_inferior_hook): Add pid to call to
* procfs.c: Multi-thread support.
* remote-bug.c (bug_wait): Add pid arg.
* remote-hms.c (hms_wait): Add pid arg.
* remote-mips.c (mips_wait): Add pid arg.
* remote-mon.c (monitor_wait): Add pid arg.
* remote-nindy.c (nindy_wait): Add pid arg.
* remote-sim.c (gdbsim_wait): Add pid arg.
* remote-udi.c (udi_wait): Add pid arg.
* remote-vx.c (vx_wait): Add pid arg.
* remote-z8k.c (sim_wait): Add pid arg.
* remote.c (remote_wait): Add pid arg.
* solib.c (solib_create_inferior_hook): Add pid to call to
* target.h (struct target_ops): Add pid arg to to_wait and
* thread.c (valid_thread_id): New func to validate thread #s.
* (pid_to_thread_id): New func to do the obvious.
* thread.h: Prototypes for above.
* coff-solib.c (coff_solib_add): Use nameoffset field to locate
Fri Oct 15 21:29:40 1993 Jim Kingdon (
* h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
sim_kill, sim_open, or sim_set_args.
* stack.c (print_stack_frame): Put catch_errors around
print_frame_info so (for example) error printing source doesn't
cause auto-displays to get skipped in normal_stop.
* findvar.c (value_from_register): When preparing to cast a value
the old code didn't copy the whole thing.
* valops.c (value_assign): Add comment.
Fri Oct 15 12:57:30 1993 Peter Schauer (
* mipsread.c (upgrade_type): Replace bitsize sanity checks and
complaint by a comment explaining why they were useless.
Fri Oct 15 14:30:30 1993 Jim Kingdon (
* Move comments on bypassing call dummy breakpoint from stack.c
to breakpoint.h.
Fri Oct 15 11:52:56 1993 Peter Schauer (
* symtab.c (lookup_partial_symtab): If filename is not found and
contains no slashes, try again and compare without leading path
* symtab.c (lookup_symtab_1): Replace open coded version of
lookup_partial_symtab with a function call.
Thu Oct 14 20:34:15 1993 Jim Kingdon (
* fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
remote-mon.c (monitor_create_inferior), remote-nindy.c
(nindy_create_inferior), remote-st.c (st2000_create_inferior),
remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
is replaced by init_trace_fun.
* config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
* Add Mach files to ALLDEPFILES, etc.
* m3-nat.c: Clean up more hair--message(), cprocs.
* Recognize Mach targets and hosts.
* config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
include this file.
* Mach headers in config/*/tm-*.h: Fix includes to match correct
locations of files.
Thu Oct 14 21:35:55 1993 Rob Savoye (
* remote-mon.c (general_open): Set dev_name. Minor tweaking to get
it working again.
* config/m68k/tm-monitor.h: Remove floating point register names
as there aren't any on any of the monitors that use this code.
Wed Oct 13 11:47:23 1993 Jim Kingdon (
* inflow.c: Pass pointer to process group, not process group itself,
to TIOCSPGRP ioctl.
* inflow.c (terminal_ours_1): Don't print warning on failure to
set process group.
* printcmd.c (printf_command): Instead of using makeva* and
calling vprintf, just make the appropriate calls to printf.
* printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
traces of makeva*. My apologies to everyone (including me!)
who spent so much time getting it to work on various machines,
but look at the bright side, at least you won't have to do it
again in the future.
* printcmd.c (printf_command): Make a cleanup for val_args (fixes
a memory leak).
Tue Oct 12 22:54:41 1993 Jim Kingdon (
* config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (
* only configure gdbserver for native environments
Tue Oct 12 08:59:15 1993 Jim Kingdon (
* stabsread.c (read_type): Treat a negative type number at the start
of a type as a type reference, not as a definition of a type with
"50=" omitted. This makes things work on the RS/6000 again (the
14 Sep 1993 change broke it).
* inflow.c: Use 0 (standard input) not scb->fd.
(terminal_ours_1): If printing warning, don't claim it happened in
* blockframe.c (get_prev_frame_info): Don't error() if there are no
frames; just return NULL.
* xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
change which involved structure elements. It was unnecessary and
was not consistently done.
* stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Move common block handling from dbxread.c to stabsread.c.
Use the name from the BCOMM instead of the ECOMM.
Allocate things on the symbol_obstack.
* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
and C_ECOML. On unrecognized storage classes, go ahead and call
define_symbol (after the complaint).
* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
the text offset.
Tue Oct 12 12:33:09 1993 Peter Schauer (
* osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
after shared library symbol reading to get rid of warning from
Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (
* remote-sim.c: fix unterminated character string
Tue Oct 12 08:59:15 1993 Jim Kingdon (
* stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
Mon Oct 11 14:27:25 1993 Jim Kingdon (
* m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
various things to try to get this to work.
* symtab.h: Fix comments re headers, sharing blockvectors, etc.
Mon Oct 11 11:46:06 1993 david d `zoo' zuhn (
* config/i960/ (REMOTE_O): add dcache.o and remote-utils.o
Mon Oct 11 02:48:57 1993 Peter Schauer (
* mipsread.c (parse_partial_symbols): Do not add undefined
symbols to the partial symbol table.
* alpha-tdep.c (init_extra_frame_info): Remove kludge for gcc,
gcc has to be compatible with the native tools.
* alpha-tdep.c (alpha_push_arguments): Rename NUM_ARG_REGS to
ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
* config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Change it to the
way the native tools define it, update comment.
Fri Oct 8 15:54:06 1993 Fred Fish (
* osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
xcoffsolib.h: Use 'abfd' for bfd variables instead of 'bfd'.
Sun cc doesn't like variable names that match their typedef'd type.
Fri Oct 8 14:56:21 1993 Jim Kingdon (
* inflow.c: Remove unused includes of sys/param.h and sys/types.h.
* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h, fork-child.c, main.c, utils.c: Move all the process
group stuff back to inflow.c and terminal.h; that's a better place
for it and fixes problems with trying to get/set the process group
of a tty we're doing remote debugging on.
* terminal.h: Skip the redefines and includes if HAVE_TERMIOS.
* findvar.c, value.h (symbol_read_needs_frame): New function.
* c-exp.y, m2-exp.y: Call it instead of having our own switch on
the symbol's class.
* valops.c (value_of_variable): Use symbol_read_needs_frame to
decide whether we care about finding a frame.
Fri Oct 8 02:34:21 1993 Peter Schauer (
* blockframe.c (get_frame_block): Do not adjust pc if the frame
function was interrupted by a signal.
Thu Oct 7 19:20:11 1993 Jim Kingdon (
* config/h8300/tm-h8300.h: Don't define sr_get_debug.
* remote-sim.c: Include remote-utils.h.
* target.h: Add comment about target_has_execution.
Thu Oct 7 16:14:19 1993 Steve Chamberlain (
* h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
New functions.
* infrun.c (normal_stop): Don't try and set the pc in the current
frame coredump if there isn't one.
* remote-sim.c (gdbsim_store_register): Don't
SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
(gdbsim_wait): Set status with WSETSTOP.
* config/h8300/tm-h8300.h (sr_get_debug): Define
Thu Oct 7 12:56:57 1993 Jim Kingdon (
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
New files.
* blockframe.c (find_pc_partial_function): If we call
PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
This is needed now that wait_for_inferior passes in endaddr.
* infrun.c: Move call to target_terminal_inferior from proceed
to resume.
Thu Oct 7 09:22:04 1993 Stu Grossman (grossman at
* blockframe.c (find_pc_partial_function): Fix handling for PCs
beyond the end of the last function in an objfile.
* coff-solib.c (coff_solib_add): Use BFD to get fields from .lib
* infrun.c (wait_for_inferior): Modify test for subroutine entry
to include pc out of bounds of the previous function.
* remote.c (remote_wait): Use strtoul for parsing 'N' message.
Add code to relocate symfile_objfile->sections.
Thu Oct 7 06:22:43 1993 Jim Kingdon (
* config/sparc/ Add comment saying why we don't use
Thu Oct 7 09:29:11 1993 Peter Schauer (
* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
that clears the `inserted' flag for all breakpoints and deletes
any breakpoints which should go away between runs of programs.
* inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
remote-es.c (es1800_load), comments in exec.c and corelow.c:
Use it instead of mark_breakpoints_out.
* breakpoint.c (mark_breakpoints_out): Update comment, tm-rs6000.h
uses it in a completely different context.
* breakpoint.c (breakpoint_re_set_one): Add bp_call_dummy case.
Thu Oct 7 09:29:11 1993 Peter Schauer (
* (REGEX, REGEX1): Always use our own version of
regex.c to be consistent across hosts.
* source.c (_initialize_source): Initialize regex to use grep
style syntax as an approximation to POSIX basic regex syntax.
Wed Oct 6 12:43:47 1993 Jeffrey A Law (
Jim Kingdon (
* hppa-tdep.c (frame_chain): Rework so that it correctly
handles boundaries where code with a frame pointer calls code
without a frame pointer.
(dig_fp_from_stack): New function.
Wed Oct 6 12:43:47 1993 Jim Kingdon (
* breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
* README: Add Alpha notes from Schauer.
Tue Oct 5 15:26:04 1993 Jim Kingdon (
* (install, uninstall): Remove $$n.1 stuff; I don't
understand what it is trying to do, but I suspect it's not doing
* config/ns32k/ Add comment about M_INSTALL.
* config/m88k/{,}: Remove M_INSTALL and
M_UNINSTALL; it tries to install a non-existent file gdb.z.
* Remove M_INSTALL stuff; the above were the only uses.
* stabsread.c (read_range_type): Remove comment which recommends
distinguishing float from complex by the name.
Tue Oct 5 12:17:40 1993 Peter Schauer (
Jim Kingdon (
Stu Grossman (
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Add new files and dependencies.
* Add alpha target.
* config/alpha/ (NATDEPFILES): Add osfsolib.o
* config/alpha/ (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
Tue Oct 5 11:37:02 1993 Jim Kingdon (
* Recognize hppa*-*-hiux* (currently synonym for hpux).
Change other hppa host entries to use -*- not -hp-.
Mon Oct 4 19:16:14 1993 Ian Lance Taylor (
* i386-nlmstub.c: New file; debugging stub for i386 NetWare. Must
be compiled with NetWare header files and turned into an NLM with
Mon Oct 4 11:02:11 1993 Jim Kingdon (
* minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
* dbxread.c (process_one_symbol): Make n_opt_found static.
* Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
*, config/i386/ Change accordingly.
* values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
to not_lval.
Sun Oct 3 15:54:51 1993 Stan Shebs (
* objfiles.h (objfile): New slot sym_stab_info, use by most
stab-reading formats.
* gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
* coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
* dbxread.c, elfread.c, paread.c: Change sym_private references to
sym_stab_info references.
Sat Oct 2 19:28:35 1993 Jim Kingdon (
* mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
4.02 lacks void *.
* elfread.c: Use void * not PTR inside PARAMS.
* config/mips/ Remove coredep.o; mips-nat.o does it.
* config/mips/ Define NAT_FILE not NM_FILE.
* config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
Sat Oct 2 16:05:22 1993 Stu Grossman (grossman at
*, coff-solib.c, coff-solib.h,,
tm-i386lynx.h: Add support for SVR3 COFF shared libraries.
Sat Oct 2 15:50:41 1993 Jim Kingdon (
* m88k-nat.c (store_inferior_registers): When writing all registers,
don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
case, and they cause trouble).
* TODO: Don't suggest doing fast watchpoints by stepping a line
at a time. That would be really hairy and still not fast enough.
Do suggest debug registers and page table diddling.
Fri Oct 1 14:54:46 1993 Jim Kingdon (
* printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
depend on builtin_type_*. Instead, it is always 2, 4, and 8 bytes
like the documentation says.
* printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
synonym for 'g'. This was never documented, it shouldn't depend on
CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
Fri Oct 1 10:06:35 1993 Kung Hsu (
* symtab.c: fix a bug in testsuite (virtfunc.exp)
Thu Sep 30 11:30:56 1993 Jim Kingdon (
* m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
* c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
If demangled name lacks a colon, don't dump core.
* blockframe.c (find_pc_partial_function): If pst->readin is
set, don't try to get symbols from pst.
* inflow.c (generic_mourn_inferior): Call reinit_frame_cache
instead of doing it ourself.
* blockframe.c (reinit_frame_cache): Use code which was in
generic_mourn_inferior so we can use this function even when
we have switched targets.
* corelow.c (core_detach): Call reinit_frame_cache.
* target.c (target_detach): Don't call generic_mourn_inferior
(revert yesterday's change, now handled by core_detach).
* objfiles.c (free_objfile): Detach any core file if we call
SOLIB_CLEAR. #include target.h.
* fork-child.c (fork_inferior): Don't call target_terminal_init
and target_terminal_inferior until we are sure that the inferior
has called gdb_setpgid. This fixes PR 2900 (Schauer tracked it
down and was able to reliably reproduce it by putting a sleep()
before the gdb_setpgid()).
Thu Sep 30 12:00:49 1993 Peter Schauer (
* c-exp.y, m2-exp.y: Change type of address for msymbol to
* infptrace.c (fetch_register, store_inferior_register,
child_xfer_memory): Use PTRACE_XFER_TYPE for the type of ptrace
transfers. Provide an `int' default for PTRACE_XFER_TYPE.
Thu Sep 30 11:30:56 1993 Jim Kingdon (
* defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
picking defaults.
* cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
Thu Sep 30 11:25:55 1993 Kung Hsu (
* cp-valprint.c (cp_is_vtbl_ptr_type):
change vtable field name to __vtbl (pr2695).
* symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
Wed Sep 29 18:34:22 1993 Stu Grossman (grossman at
* Add deps for i386lynx-nat.o and i386lynx-tdep.o to
keep non-gnu makes happy.
Wed Sep 29 17:20:54 1993 Jeff Law (
* hpread.c (read_hpux_symtab): When a K_END is found for a
K_MODULE, clear the have_module and have_name flags.
Wed Sep 29 10:52:19 1993 Kung Hsu (
* c-valprint.c: to fix virtual table print bug (pr2695).
Wed Sep 29 10:52:19 1993 Jim Kingdon (
* target.c (target_detach): Call generic_mourn_inferior.
* inflow.c (generic_mourn_inferior): Call flush_cached_frames.
Tue Sep 28 23:08:59 1993 Jim Kingdon (
* dbxread.c, coffread.c, elfread.c: A few changes to comments.
Tue Sep 28 18:39:37 1993 Stan Shebs (
* Rename ...-lynx* to ...-lynxos*.
Add m68*-*-lynxos* configuration.
* dbxread.c (coffstab_build_psymtabs): New function,
interfaces coffread.c to dbxread functions.
* coffread.c (coff_symfile_info): Expand to include
dbx_symfile_info slots.
(coff_symfile_init): Init coff_symfile_info struct.
(coff_locate_sections): New functions, finds the stab and stabstr
(coff_symfile_read): Call coffstab_build_psymtabs if a stab
section is present.
(coff_section_offsets): Replace fake version with real offsets.
Tue Sep 28 18:00:50 1993 Jim Kingdon (
* infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
Tue Sep 28 17:53:26 1993 Ian Lance Taylor (
* config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
* config/tm-sysv4.h: Don't include solib.h.
* config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
* config/i386/ (TDEPFILES): Move solib.o from here...
* config/i386/ (NATDEPFILES): here.
* config/i386/nm-i386v4.h: Include nm-sysv4.h.
* config/m68k/ (TDEPFILES): Move solib.o from here...
* config/m68k/ (NATDEPFILES): here.
Tue Sep 28 09:45:38 1993 Peter Schauer (
* symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
Clean up problems with targets and hosts that have 64 bit longs
and pointers and 32 bit ints.
* breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
Change all printf formats from %x to %lx if outputting an address.
Change la_*_format to use long format.
local_hex_string, local_hex_string_custom now take an unsigned long
argument, change all callers.
* coffread.c (read_coff_symtab): Remove superfluous cast for
complaint output.
* dbxread.c (end_psymtab): Cast MSYMBOL_INFO to long, not int.
* findvar.c, value.h (write_register): Change val to LONGEST.
* gdbtypes.h (struct type): Change `bitsize' to long as
TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
* inferior.h (struct inferior_status): Change type of stop_pc to
* language.h (local_octal_string, local_octal_string_custom):
Remove prototype, the functions are neither defined nor used.
* mipsread.c (parse_symbol): Use temporary variable for bitsize as
f->bitsize is a long now.
* objfiles.c (add_to_objfile_sections, build_objfile_section_table):
Use unsigned long casts instead of int for abusing sections_end
pointer as integer.
* stack.c (parse_frame_specification): Change type of `args' to
* printcmd.c (make_vasize): Allow redefinition via MAKEVA_SIZE.
* mipsread.c (parse_type): Alpha cc now supports the t->continued
bit, update algorithm to match the way the compiler uses it.
Tue Sep 28 12:05:11 1993 Jim Kingdon (
* utils.c (fprintfi_filtered): Fix comments.
Mon Sep 27 18:10:08 1993 Stu Grossman (grossman at
* coffread.c (read_coff_symtab): Don't call getfilename if there
are no auxents.
Mon Sep 27 10:22:37 1993 Jim Kingdon (
* symtab.c (find_pc_line): Fix comments.
* remote-udi.c (udi_mourn): Don't pop target.
Fri Sep 24 17:25:41 1993 Stu Grossman (grossman at
* corelow.c: Add multi thread/process support for core files with
.reg/XXX pseudo-sections.
* i386lynx-nat.c thread.h thread.c: Remove unnecessary core file
Thu Sep 23 10:49:37 1993 Jim Kingdon (
* remote-udi.c (download): Skip zero length sections.
* valops.c (search_struct_method, value_struct_elt):
Use (value)-1, not -1, for error.
* infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
* exec.c (exec_file_command): Set text_end based on all code readonly
sections, not just ".text".
* defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h,
config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
z8k-tdep.c: Remove all references to ADDR_BITS_SET.
* config/m88k/tm-m88k.h: Define TARGET_WRITE_PC.
* config/m88k/tm-m88k.h, m88k-tdep.c: Add call function stuff.
Thu Sep 23 00:13:06 1993 Peter Schauer (
* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as
the pushing of the struct return address is already handled in
* mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype
* mipsread.c (parse_symbol, parse_type, upgrade_type): Add more
sanity checks for corrupt symbol entries to avoid core dumps
reported by Obviously Ultrix 4.3A cc now has
the same problems as the OSF/1 alpha cc.
* mipsread.c (parse_lines): Iterate over the range of the compressed
line number entries, the old iteration sometimes failed to stop
and wrote past the end of the LINETABLE. Add sanity check to avoid
the same problem in case the line number info is corrupt.
* mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp.
* mipsread.c (parse_external, parse_partial_symbols): Ignore stNil
symbols that are produced for statics in .o files and stLocal symbols
that are produced for every section in OSF/1 dynamically linked
* mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols'
warning only under `verbose on' as there are many undefined symbols
in a dynamically linked executable.
Wed Sep 22 10:28:06 1993 Jim Kingdon (
* config/i960/ Don't define REMOTE_O; REMOTE_O was
intended only for VxWorks. Remove dcache.o from TDEPFILES now
that we pick it up from the default REMOTE_O.
* breakpoint.c (bpstat_what): Initialize retval.call_dummy and
* mips-tdep.c (mips_frame_chain): If frame size zero, return zero.
* rs6000-tdep.c: Add comment about framelessness.
* remote-nindy.c: Declare ninMemGet and ninMemPut.
Wed Sep 22 08:02:57 1993 Stu Grossman (grossman at
* Add i386lynx-tdep to the right places.
(TARDIRS): Add gdbserver.
* exec.c (print_section_info): Print entry point.
* i386lynx-nat.c (i386lynx_saved_pc_after_call): Move into
i386lynx-tdep.c. Add core file support.
* i386lynx-tdep.c: New module for Lynx/386 target dependant code.
* maint.c: Add `maint info sections' command to print info about all
sections that BFD knows about for exec and core files.
* sparc-tdep.c (sparc_push_dummy_frame): Update stack pointer
before putting frame on the stack. Consolidate writes to reduce
traffic for remote debugging.
* config/i386/ (NATDEPFILES): Remove exec.o.
* config/i386/ (TDEPFILES): Add exec.o, i386lynx-tdep.o.
* config/i386/nm-i386lynx.h: Add target_pid_to_str().
* config/i386/tm-i386lynx.h: Remove target_pid_to_str().
* sparclite/ Add deps to keep Sun make happy.
Tue Sep 21 17:48:14 1993 Jim Kingdon (
* breakpoint.h, breakpoint.c (bpstat_stop_status): Add new argument
* infrun.c (wait_for_inferior): Pass it. Also consolidate the
test of whether we are stepping into a CURRENTLY_STEPPING macro.
Tue Sep 21 17:22:34 1993 K. Richard Pixley (
* breakpoint.c (bpstat_stop_status),
infcmd.c (step_1),
infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
and insert macro.
* m88k-tdep.c: include ieee-float.h. new global target_is_m88110.
new const struct ext_format_m88110 for float format.
(pic_prologue_code): add braces.
(next_insn): remove unused variable buf.
(frame_find_saved_regs): remove unused variables next_addr,
saved_regs, regnum.
(frame_locals_address): remove unused variables frame, ap.
(frame_args_address): remove unused variables frame, ap.
(push_parameters): add some breaks and a default case.
* remote-bug.c: remove redundant includes of value.h, target.h,
(bug_open): corrected typo, sr_multi_scan -> gr_multi_scan.
(bug_fetch_register): special case sfip register for m88110.
remove flag bit masking of pc registers. This should be handled
by the ADDR_BITS_* macros.
(bug_store_register): special case sfip register for m88110.
Corrected sprint format for extended registers.
* config/m88k/tm-m88k.h: white space and comment changes. include
ieee-float.h. expanded to cope with m88110 extended registers.
(R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros.
(SHIFT_INST_REGS): becomes a real macro.
Tue Sep 21 17:48:14 1993 Jim Kingdon (
* breakpoint.c (breakpoint_1): Support bp_call_dummy.
Tue Sep 21 17:06:19 1993 Ian Lance Taylor (
* elfread.c (record_minimal_symbol_and_info): Guess the section to
use from the type.
* objfiles.c: Include gdb-stabs.h for SECT_* macros.
(objfile_relocate): Relocate textlow and texthigh in psymtabs.
Relocate partial symbols. Check that minimal SYMBOL_SECTION is
nonnegative before using it.
* symtab.h: Adjust section field comment.
* remote.c (interrupt_query): New function.
(remote_interrupt_twice): Call interrupt_query.
(putpkt, getpkt): If quit_flag is set, call interrupt_query.
(remote_wait): Don't bother with objfile_relocate if the addresses
haven't changed.
(remote_fetch_registers): If we see a packet that doesn't start
with a hex character, fetch a new one.
Tue Sep 21 11:44:00 1993 Jim Kingdon (
* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.
* printcmd.c (print_scalar_formatted): When truncating value we are
going to print as unsigned, handle it generally for any length
less than sizeof (LONGEST), rather than special-casing sizeof (char),
sizeof (short), and sizeof (long). Clarify comment on what this
is for.
* symfile.c (deduce_language_from_filename): Accept .cxx for C++.
* buildsym.c (start_subfile): Use deduce_language_from_filename
rather than checking for .C or .cc ourself.
Mon Sep 20 14:53:11 1993 Jim Kingdon (
* defs.h: Declare argument of re_comp as const char *.
* remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
* README: Say using bfd from another release doesn't generally work.
Sat Sep 18 10:13:18 1993 Jim Kingdon (
* mipsread.c (parse_type): Don't complain() if we guessed struct
and it was a union, or vice versa.
* defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
* breakpoint.h (enum bptype): Add bp_call_dummy.
(struct bpstat_what): Add call_dummy field.
* infrun.c (wait_for_inferior): Deal with it.
* breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
* infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
* config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
* remote-sim.h: New file.
* remote-sim.c: Add remote debug feature. Rename stuff to distinguish
interface to simulator from gdb-specific stuff. Other changes.
* remote-sp64sim.c: Renamed to remote-sim.c.
Use sr_get_debug instead of our own sim_verbose/simif_snoop.
Use gnutarget in call to bfd_openr.
Rename simif_* to gdbsim_*.
* config/sparc/ Change remote-sp64sim.c to remote-sim.c.
Fri Sep 17 04:41:17 1993 Peter Schauer (
* findvar.c (extract_signed_integer): Cast *p to LONGEST before doing
the xor and subtract. Otherwise it will not sign extend if the type
of LONGEST is larger than int.
* cp-valprint.c (cp_print_class_method): Inhibit core dump if
domain is an undefined cross reference.
* valops.c (call_function_by_hand): Set real_pc to correct
Thu Sep 16 20:37:06 1993 Jim Kingdon (
* config/a29k/tm-a29k.h (FRAME_CHAIN): If rsize is zero, return zero.
Thu Sep 16 13:16:22 1993 Stu Grossman (grossman at
* infrun.c (wait_for_inferior): Allow user to single step within
a stack dummy.
Thu Sep 16 12:34:01 1993 Jim Kingdon (
* dbxread.c (copy_pending): Deal with END NULL.
(process_one_symbol): Add comments about what common_block NULL means.
Wed Sep 15 14:50:26 1993 Jim Kingdon (
* remote-udi.c, remote-adapt.c, remote-mm.c: Move processor_type
to tm-a29k.h and a29k-tdep.c and make it an enum.
* a29k-tdep.c (a29k_get_processor_type): New function. Fix many
aspects of how we detected the processor type.
* remote-udi.c, remote-adapt.c, remote-mm.c (*_open): Call it
rather than figuring out the type ourselves.
Thu Sep 16 12:12:59 1993 Stu Grossman (grossman at
* sparc-stub.c (_trap_low): Do restore/save sequence after
setting sp to ensure that we load the previous window from the
right place on the stack.
Thu Sep 16 00:36:32 1993 Peter Schauer (
* mipsread.c: Many changes for alpha ecoff format:
Correct sizeof(int) == sizeof(long) assumptions.
Replace stParsed hack by putting the parsed types on the pending chain.
Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
provide default for cross debugging.
Swapping the symbol back is no longer needed as the symbol is not
modified anymore.
Add new alpha basic types, handle btTypedef, handle stStaticProc
external symbols .
Update and clean up cross_ref for alpha cc cross ref variations.
Allocate types on the type_obstack to inhibit storage leaks.
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
* gdbtypes.c (recursive_dump_type): Dump TYPE_TAG_NAME if it is set.
Tue Sep 14 09:12:17 1993 Jim Kingdon (
* stabsread.c (read_type): Process "s" (size) type attribute.
If type is defined to another type, copy the type.
Tue Sep 14 18:37:17 1993 Ian Lance Taylor (
* config/i386/ (NATDEPFILES): Move exec.o from here...
* config/i386/ (TDEPFILES): here.
Tue Sep 14 12:21:49 1993 K. Richard Pixley (
* (remote_utils_h): add serial.h and target.h.
(main.o, remote-es.o, remote-nindy.o, remote.o): remove target.h
(already in remote_utils_h).
(remote-utils.o): new rule.
* remote-utils.h: include serial.h.
* serial.h: ifdef protect from multiple inclusion.
* remote.c, remote-nindy.c, remote-mon.c, remote-es.c: include
* remote.c (remote_open), remote-nindy.c (nindy_open,
nindy_files_info), remote-mon.c (general_open), remote-es.c
(es1800_open): use remote-utils facilities for baud rate.
Tue Sep 14 09:12:17 1993 Jim Kingdon (
* paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
* (a29k-tdep.o): Depend on $(defs_h).
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
if this is a transparent procedure.
Mon Sep 13 16:06:43 1993 Jim Kingdon (
* remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
hack so this file compiles again.
* remote-utils.c (gr_multi_scan): Cast return value from alloca.
(gr_multi_scan): #if 0 never-reached return(-1).
* remote-udi.c (udi_wait): Return inferior_pid not 0.
Mon Sep 13 14:14:35 1993 K. Richard Pixley (
Collect some remote things into remote-utils.
* remote-utils.[ch]: new files of functions collected from several
different remote targets.
* (REMOTE_O): add remote-utils.o.
(dcache_h, remote_utils_h): new macros.
(HFILES): add $(remote_utils_h).
(ALLDEPFILES): add $(remote_utils_h).
(dcache.o): new rule.
(main.o, remote-bug.o): also depend on $(remote_utils_h).
* target.h (remote_debug): extern moved to remote-utils.h.
* target.c (find_default_run_target, find_core_target): initialize
(remote_debug): moved to remote-utils.c.
(_initialize_targets): move declaration of user variable
remotedebug to remote-utils.c.
* remote-bug.c: include remote-utils.h rather than dcache.h.
(bug_close, bug_write, bug_write_cr, desc, bug_dcache, timeout,
dev_name, check_open, is_open, readchar, readchar_nofail,
pollchar, expect, expect_prompt, get_hex_digit, get_hex_byte,
get_hex_word, bug_kill, bug_detach, bug_create_inferior,
multi-scan, bug_prepare_to_store, bug_fetch_word,
bug_store_word, bug_files_info, bug_mourn, bug_com, bug_device,
bug_speed): removed and replaced with facilities from
(bug_read_inferior_memory): renamed to bug_read_memory.
(bug_write_inferior_memory): renamed to bug_write_memory.
(bug_xfer_inferior_memory): renamed to bug_xfer_memory.
(get_word): comment out this unused function for now.
(bug_settings, cpu_check_strings): new statics.
(bug_open): rewritten to use gr_open.
(_initialize_remote_bug): remove declarations of commands bug,
device, speed.
* main.c: include remote-utils.h.
(baud_rate): removed to remote-utils.c.
(main): handle baud rate settings using new facilities from
* defs.h (baud_rate): removed extern.
m88110 support via bug-197 monitor.
* remote-bug.c (get_reg_name, bug_fetch_register,
bug_store_register): added m88110 extended register support.
(wait_strings): added bug-197 prompt.
(bug_wait): cope with bug-197 prompt.
(start_load): cope with either bug-197 or bug-187 prompt.
Mon Sep 13 12:53:09 1993 Jim Kingdon (
* inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed. If it was ever set to a non-zero value, it was before
GDB 2.8. It doesn't seem to have any useful function.
* defs.h: Don't define NORETURN (see comment).
Sat Sep 11 10:46:09 1993 Jim Kingdon (
* m88k-nat.c (fill_gregset): Set r31 and sfip.
Thu Sep 9 10:18:29 1993 Jim Kingdon (
* remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
getchar() (terminated only on '\n') instead of scanf. Send the
'\n' which terminates it to the remote system.
More gcc lint:
* exec.c (ignore): Return 0.
* stack.c (return_command): Fetch lazy value directly, not via
VALUE_CONTENTS, to avoid "value computed is not used".
* inflow.c (new_tty): Move osigttou inside #if.
* remote.c (remote_fetch_registers): If remote reply is short, just
note that fact and keep going (reading extra registers as all bits 0).
(remote_store_registers): Send number of registers that were found
by remote_fetch_registers.
* m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write
floating registers.
* config/m68k/{tm-m68k-nofp.h,,tm-m68k-fp.h,}:
Remove, replaced by {tm-m68k-em.h,}.
*, Change accordingly.
Thu Sep 9 04:59:03 1993 Peter Schauer (
* mipsread.c (cross_ref): Allow SGI extended symbol types as cross
reference targets.
* symmisc.c (print_symbol): Use TYPE_TAG_NAME not TYPE_NAME to avoid
printing of identities.
Wed Sep 8 19:18:27 1993 Jim Kingdon (
* breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
Wed Sep 8 13:01:10 1993 K. Richard Pixley (
Gcc lint.
* config/m88k/tm-m88k.h (frame_find_saved_regs): prototype.
* config/h8300/tm-h8300.h (NUM_REGS): rewrite to avoid nested comment.
* blockframe.c (get_prev_frame_info): initialize address.
* breakpoint.c (bpstat_copy): initialize retval.
(bpstat_stop_status): initialize value_is_zero.
(bpstat_what): initialize bs_class.
(breakpoint_1, mention): add do-nothing case for bp_step_resume.
(break_command_1): initialize cond_end, addr_end, &
(enable_breakpoint): initialize save_selected_frame.
* buildsym.c (end_symtab): initialize symtab & linetablesize.
* c-exp.y (parse_number): initialize i.
* c-typeprint.c (c_type_print_varspec_prefix): include
TYPE_CODE_BITSTRING in switch statements and do nothing.
* c-valprint.c (c_val_print): removed unused variable c.
* ch-valprint.c (chill_val_print): removed unused variable eltlen.
* cp-valprint.c (cp_print_class_method): initialize f & j.
* eval.c (evaluate_subexp): initialize pc2, arg1, arg2.
* expprint.c (print_subexp): initialize myprec, assoc, & tempstr.
* findvar.c (value_from_register): initialize first_addr.
* gdbtypes.c (lookup_struct_elt_type): localize use of temporary
variable typename.
* infcmd.c (run_stack_dummy): return zero rather than simple
* infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
remove symtab, appears unused.
(restore_selected_frame): return 1.
* mipsread.c (psymtab_to_symtab_1): initialize first_off.
(fixup_sigtramp): initialize b0.
* printcmd.c (do_examine): initialize val_type.
(print_frame_args): initialize b.
* ser-tcp.c (tcp_restore): comment out declaration. Appears
* ser-unix.c (hardwire_restore): comment out declaration. Appears
(hardwire_send_break): moved variable status into ifdef
(wait_for): moved variable numfds into ifdef HAVE_SGTTY.
* serial.h: comment change only.
* stabsread.c (rs6000_builtin_type): initialize rettype.
(read_range_type): initialize nbits.
* stack.c (print_frame_info): remove unused variable numargs.
(parse_frame_specification): remove unused variables arg1, arg2,
(return_command): initialize return_value.
* symfile.c (cashier_psymtab): initialize pprev.
* symtab.c (find_pc_psymbol): initialize best.
(lookup_symbol): initialize s.
(make_symbol_completion_list): initialize quote_pos.
* thread.c: include command.h.
(thread_info): static declaration removed; unused.
(info_threads_command): fix == vs = typo.
* typeprint.c (whatis_exp): initialize old_chain.
* valprint.c (val_print_string): remove unused variable
first_addr_err. Initialize old_chain.
(_initialize_valprint): white space comment change.
* values.c (show_values): rewrite if statement to avoid empty
(vb_match): remove unused variable fieldtype_target_type.
Wed Sep 8 10:21:33 1993 Jim Kingdon (
* (mipsread.o): Depend on $(bfd_h).
Tue Sep 7 13:06:44 1993 Jim Kingdon (
* gdbserver/ (TAGS): config files are in
$(srcdir)/../config, not $(srcdir)/config.
* config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
(STORE_RETURN_VALUE): Pass the correct offset of the return
register to write_register_bytes.
* hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
Tue Sep 7 14:30:34 1993 Ian Lance Taylor (
* remote.c (remote_wait): Don't call error. Instead, call warning
inside a loop. User can ^C to get out.
* config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
routine to match BFD name change.
* config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
Mon Sep 6 15:01:57 1993 Jeffrey Wheat (
* elfread.c: change elf32_symbol_type to elf_symbol_type
Mon Sep 6 15:43:25 1993 Ian Lance Taylor (
* remote.c (remote_wait): Added 'W' and 'N' responses.
Fri Sep 3 08:57:10 1993 Jim Kingdon (
* main.c, utils.c: Add comments about immediate_quit.
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
* target.c (pop_target): Don't try to deal with the stack becoming
empty. Shouldn't happen and the code that tried was broken.
* dcache.c: Cast return value from xmalloc.
* remote.c: Move setting of immediate_quit from remote_open to
remote_start_dummy and set it back to zero when done.
Thu Sep 2 00:07:36 1993 Jim Kingdon (
* m88k-tdep.c: Remove a bunch of unused #includes.
* language.h: Add comment about current_language.
* mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
from var_uinteger to var_zinteger.
* Fix typo (delta88r4 -> delta88v4).
* config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was
to make this work on SVR4 before SVR4 had its own configuration,
and it breaks SVR3.
* config/m88k/tm-delta88v4.h: Define FRAME_CHAIN_VALID_ALTERNATE.
* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/ Use xm-dgux.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Wed Sep 1 19:31:28 1993 Jim Kingdon (
* remote-udi.c (udi_wait): Call `warning' not `error'.
* symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put
inside #if) unused variables and labels. Fix unclosed comment.
Deal with enumeration values unhandled in switch statements. Make
sure non-void functions return values. Include appropriate
* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
value < 0.
Wed Sep 1 14:36:00 1993 K. Richard Pixley (
* i960-tdep.c, ns32k-pinsn.c, remote-adapt.c, xcoffread.c:
index -> strchr.
Wed Sep 1 11:35:49 1993 Jim Kingdon (
* remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
They are not called from anywhere.
Wed Sep 1 14:41:28 1993 K. Richard Pixley (
* arm-tdep.c, convex-tdep.c, convex-xdep.c, dbxread.c,
h8300-tdep.c, h8500-tdep.c, i960-pinsn.c, i960-tdep.c,
infptrace.c, m88k-tdep.c, mips-tdep.c, regex.c, remote-vx.c,
rs6000-tdep.c, xcoffexec.c, xcoffread.c, z8k-tdep.c,
config/arm/tm-arm.h, config/convex/tm-convex.h,
config/gould/tm-np1.h, config/gould/tm-pn.h,
config/m68k/tm-isi.h, config/ns32k/tm-umax.h,
config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
config/rs6000/tm-rs6000.h, config/tahoe/tm-tahoe.h,
config/vax/tm-vax.h: bzero -> memset.
* regex.c: bcmp -> memcmp.
Wed Sep 1 11:35:49 1993 Jim Kingdon (
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.
* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c. This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".
* buildsym.c (end_symtab): Don't realloc subfile->linetable.
Wed Sep 1 13:12:43 1993 K. Richard Pixley (
* a68v-nat.c, altos-xdep.c, convex-tdep.c, convex-xdep.c,
findvar.c, hppab-nat.c, hppah-nat.c, i386mach-nat.c,
irix4-nat.c, m68k-tdep.c, m88k-tdep.c, mipsread.c, regex.c,
remote-bug.c, remote-hms.c, rs6000-nat.c, rs6000-tdep.c,
sparc-nat.c, stabsread.c, sun3-nat.c, sun386-nat.c, symfile.c,
umax-xdep.c, xcoffread.c, 29k-share/udi/udip2soc.c,
29k-share/udi/udr.c, config/a29k/tm-a29k.h, config/arm/tm-arm.h,
config/convex/tm-convex.h, config/gould/tm-np1.h,
config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/i386/tm-i386aix.h,
config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
config/i960/tm-i960.h, config/m68k/tm-news.h,
config/m88k/tm-m88k.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
config/tahoe/tm-tahoe.h, config/vax/tm-vax.h,
config/z8k/tm-z8k.h, nindy-share/nindy.c: bcopy -> memcpy.
Wed Sep 1 05:05:53 1993 Peter Schauer (
* mipsread.c (parse_partial_symbols): Use language from FDR if it
is unambigous. Patch from (Paul Flinders).
* mipsread.c (ecoff_symfile_info): New struct to hold the global
* mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
Allocate the global pending list and link it to the objfile.
* mipsread.c (is_pending_symbol, add_pending): Use global pending
list from objfile. Allocate pending list entries from the
* mipsread.c (free_pending): Remove. The pending list is now
freed when the psymbol_obstack is freed.
* mipsread.c (psymtab_to_symtab1): Remove pending list allocation,
the global pending list is used now.
* mipsread.c (parse_partial_symbols): Skip only the first
file indirect entry when building the dependency list.
Tue Aug 31 15:01:27 1993 K. Richard Pixley (
Break dcache code out of remote.c.
* dcache.h: white space changes only.
* dcache.c: add user settable variable to set whether data caching
is in use.
* remote.c: include dcache.h. removed data caching code which is
now in dcache.c. Compile in data caching again. (data caching
is currently off by default.)
(remote_read_bytes, remote_write_bytes): change second arg to
unsigned char.
(remote_dcache): new static variable.
* (REMOTE_O): add dcache.o.
* config/m88k/ (TDEPFILES): removed dcache.o.
Break dcache code out of remote-nindy.c.
* remote-nindy.c: removed dcache code. Changed callers to use new
conventions. include dcache.h.
(nindy_dcache): new static variable.
* config/i960/ (TDEPFILES): added dcache.o.
Break dcache code out of remote-bug.c into dcache.[hc].
* (dcache_h): new macro.
(HFILES): added $(dcache_h).
(ALLDEPFILES): added dcache.c.
(dcache.o): new rule.
(remote-bug.o): now depends on $(dcache_h).
* remote-bug.c: include dcache.h. remove externs for insque and
remque, add extern for bcopy. Prototype bug_close,
bug_clear_breakpoints, bug_write_cr. dcache code moved to
dcache.[hc]. Changed dcache calling convention to include an
initial DCACHE argument.
(bug_dcache): new static variable.
(bug_read_inferior_memory): change second arg to
unsigned char.
* dcache.[ch]: new files.
* config/m88k/ (TDEPFILES): add dcache.o.
Tue Aug 31 10:33:13 1993 Jim Kingdon (
* c-typeprint.c (c_print_type_base): Treat show = 0 just like
show < 0. The only case where we had been distinguishing is that
show = 0 used to print "struct " or "enum " instead of
"struct {...}" or "enum {...}" which seems clearly wrong.
Mon Aug 30 17:51:32 1993 K. Richard Pixley (
* recognize m88110 as an m88k.
Mon Aug 30 16:07:59 1993 Jim Kingdon (
* valops.c (call_function_by_hand): If we discard cleanups, call
bpstat_clear (&inf_status.stop_bpstat).
Mon Aug 30 12:47:46 1993 Peter Schauer (
* stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
was empty and thrown away.
* mipsread.c (parse_partial_symbols): Do not add empty psymtabs to
dependency list, skip self dependencies.
* mipsread.c (parse_fdr): Removed, obsolete.
* mipsread.c (parse_lines): Check for cbLine being zero, not
* mipsread.c (struct symloc): Add pst_language.
* mipsread.c (parse_partial_symbols): Set up proper language for
header files, save it in pst_language for psymtab_to_symtab_1.
* mipsread.c (psymtab_to_symtab_1): Use pst_language.
Mon Aug 30 10:48:06 1993 Jim Kingdon (
* Fix typo m88*-motorola-svr4* -> sysv4*.
Fri Aug 27 17:09:19 1993 Ken Raeburn (
* paread.c: Include som.h instead of libhppa.h. (From Utah.)
Fri Aug 27 09:30:40 1993 Jim Kingdon (
* symmisc.c (dump_symtab): Use catch_errors around print_symbol.
Change calling sequence of print_symbol to fit catch_errors.
* mips-tdep.c: Call reinit_frame_cache every time the user does
"set heuristic-fence-post".
* gdbserver/low-sun3.c: New file.
* gdbserver/, config/m68k/ Change accordingly.
* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
*, gdbserver/, gdbserver/,
config/m68k/, config/i386/,
config/sparc/ Change accordingly.
* gdbserver/ Remove more junk inherited from gdb Makefile.
Thu Aug 26 14:32:51 1993 Jim Kingdon (
* infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
besides the dummy, return 1 rather than calling error().
Let caller print the error message. Remove name argument.
* valops.c (call_function_by_hand): Deal with changes to calling
sequence of run_stack_dummy. Discard restore_inferior_status cleanup
if run_stack_dummy returns 1.
* Version 4.10.2.
* config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Get struct return address from v0, not a0.
* infrun.c (restore_inferior_status): Use catch_errors when
restoring selected frame.
Wed Aug 25 21:52:25 1993 Jim Kingdon (
* infrun.c (save_inferior_status, restore_inferior_status):
Save and restore the registers too.
* inferior.h (struct inferior_status): Add "registers".
Tue Aug 24 00:36:17 1993 Jim Kingdon (
* dbxread.c (end_psymtab): Clean up comment.
* frame.h, symtab.h, findvar.c (read_var_value): Change basereg
support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
* dwarfread.c: Use LOC_BASEREG where appropriate.
* Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
* coffread.c (init_lineno, init_stringtab): Don't check whether
xmalloc returned NULL.
* config/vax/xm-vaxult.h: Define NO_PTRACE_H.
* target.c, target.h: Add "set remotedebug" command.
* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
"set m88ksnoop" options and use generic "set remotedebug" instead.
* NEWS: Describe this change.
Mon Aug 23 20:26:22 1993 Jim Kingdon (
* buildsym.h: Remove declaration of dbxread.c functions.
* stabsread.h: Group together dbxread.c functions.
Move elfstab_build_psymtabs here from symfile.h.
Declare pastab_build_psymtabs.
* elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
declaration, etc).
Mon Aug 23 17:16:23 1993 K. Richard Pixley (
* remote-bug.c: rename quiet to bug88k_snoop.
(double_scan, multi_scan): generalize double_scan into a scan
for multiple patterns. Rename to multi_scan.
(bug_wait, bug_write_inferior_memory): adapt to use the new
multi_scan in order to catch and represent target bus errors.
(bug_scan): currently unused, so comment out.
(bug_quiet): removed. Replaced with a standard user settable boolean.
* m88k-tdep.c: remove include of sys/dir.h. Appears unnecessary
and isn't available on solaris.
Mon Aug 23 14:56:42 1993 Jim Kingdon (
* config/m88k/{,}: New files
* config/m88k/ Fix comment.
* config/m88k/tm-delta88.h: Remove unused BCS define.
* config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
New files.
* Recognize m88*-motorola-sysv4*.
* m88k-nat.c: Always include sys/types.h; don't depend on USG.
Mon Aug 23 12:57:42 1993 Peter Schauer (
* mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of
symbol as an argument and use it in complaints.
* symmisc.c (dump_psymtab): Dump filenames of dependencies.
Mon Aug 23 1993 Sean Fagan (
and Jim Kingdon (
Add NetBSD support:
* Recognize netbsd.
Sun Aug 22 22:50:32 1993 Jeff Law (
* hpread.c (get_textlow): Don't go past a K_END when looking for a
K_FUNCTION. Avoids losing on source files with no functions.
Fri Aug 20 14:01:39 1993 Jim Kingdon (
* remote-nindy.c: Remove unused include of sys/ioctl.h.
* frame.h, symtab.h: Revise comments regarding baseregs.
Fri Aug 20 15:07:05 1993 Peter Schauer (
* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
Set language for psymtab and symtab.
* mipsread.c (new_symbol): Set language and initialize demangled
name for symbol.
* symmisc.c (print_symbol): Use SYMBOL_SOURCE_NAME when printing
the symbol type.
* symtab.c (decode_line_1): Inhibit coredumps with cfront executables.
Fri Aug 20 14:01:39 1993 Jim Kingdon (
* Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
it conditionalized on 4.3 vs. 4.4.
* config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
4.4 sections; it was identical and now works for 4.4.
* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
* printcmd.c (MAKEVA_END): Update this version to use "aligner".
Thu Aug 19 22:08:09 1993 Peter Schauer (
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
* mipsread.c (parse_symbol, parse_type, cross_ref): Handle corrupt
file indirect entries with complaints instead of core dumps. Remove
complaint for stTypedef within aggregates.
Thu Aug 19 17:58:39 1993 Jim Kingdon (
* coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
* coffread.c (coff_read_enum_type): #if 0 out code which changes
enum {FALSE, TRUE} into boolean.
* config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
non-existent files nm-delta.h, etc.
* config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
* delta68-nat.c: Add "[0]" in offsetof argument.
* delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
nl with initializer, just assign to it. Check n_scnum field on
Wed Aug 18 21:42:52 1993 Jeff Law (
* hpread.c (read_hpux_symtab): Call SET_NAMESTRING for K_MODULE
debug symbols.
Wed Aug 18 12:03:00 1993 Jim Kingdon (
* printcmd.c (print_address), values.c (value_as_pointer): Don't
* defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
* blockframe.c (block_innermost_frame): Uncomment.
Return NULL if passed NULL.
* frame.h: Declare it.
* expression.h (union exp_element): Add field block.
* parse.c (write_exp_elt_block): New function.
* expression.h (OP_VAR_VALUE): Now takes additional struct block *.
* *-exp.y: Write block for OP_VAR_VALUE.
* eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
* valops.c, value.h (value_of_variable), callers:
Add second argument, for block.
* main.c (gdb_readline): If we read some characters followed by EOF,
return them rather than returning NULL.
Tue Aug 17 11:14:25 1993 Jim Kingdon (
* mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
Tue Aug 17 15:10:04 1993 K. Richard Pixley (
* config/m88k/tm-m88k.h: Fix typo in comment.
(FP_REGNUM): define in terms of SP_REGNUM
rather than by absolute number. Also clearly comment that this
is a convenient lie in order to decrease future confusion.
(ACTUAL_FP_REGNUM): new macro for FP.
(FRAME_CHAIN_VALID): removed. Standard default works fine.
* m88k-tdep.c (frame_chain_valid): redundant, so removed.
(NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
(read_next_frame_reg): declare static.
(examine_prologue): removed unused variabel insn2, rename insn1
to insn, rewrote comment about finding fp, sp, etc. set frame_fp
based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
actually a scammed alias for SP_REGNUM on m88k.
* frame.h: fixed typo in comment.
Tue Aug 17 11:14:25 1993 Jim Kingdon (
* 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
* complaints.c (complain): fflush (stdout) after output.
Tue Aug 17 01:43:55 1993 Peter Schauer (
* blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
the saved pc from sigcontext on the stack for BSD signal handling.
* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
Define to make backtracing through sigtramp work.
Mon Aug 16 13:52:14 1993 Jim Kingdon (
* main.c (cd_command): If current_directory on entry is "/", then
don't append an extra slash.
Don't assume that /../.. means /.
* target.c (target_xfer_memory): Clear errno before calling
* stack.c (frame_info, print_frame_info): Add comment about using
the starting source line number on a line boundary if backtracing
through sigtramp.
Mon Aug 16 09:52:33 1993 Jeff Law (
* hpread.c: Add U Utah contribution notice. Add TODO list.
(hp_type_lookup): Use TYPE_NAME and TYPE_TAG_NAME.
(process_one_debug_symbol): Likewise.
Mon Aug 16 02:56:01 1993 Peter Schauer (
* blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
* m68k-tdep.c (m68k_find_saved_regs): Adjust saved sp for fake
sigtramp frames.
* mipsread.c (parse_type): Handle corrupt TIR info with complaint
instead of core dump.
* mipsread.c (parse_partial_symbols): Put static symbols into the
mimimal symbol table, use proper mst_types for all minimal symbols.
* stack.c (frame_info, print_frame_info): Use the starting source
line number on a line boundary if backtracing through sigtramp.
Fri Aug 13 14:37:05 1993 K. Richard Pixley (
* remote-bug.c: include gdbcmd.h.
(sleep, remque, insque): forward decls added.
(bug_fetch_registers, bug_store_registers): forward decls
(bug_read_inferior_memory, bug_write_inferior_memory): forward
decls added.
(srec_frame, srec_max_retries, srec_bytes, srec_echo_pace,
srec_sleep, srec_noise): new static variables for user settable
options. Mostly these are for debugging and tuning. I don't
expect them to stay user settable options for long.
(timeout): change default to 4 seconds.
(check_open): declare funtion static, force return value.
(readchar_nofail): if timeout, then say so if not being quiet.
(pollchar, double_scan, bug_scan, bug_srec_write_cr,
start_load): new functions.
(bug_wait): rewritten to use double scan.
(expect): while (1) -> for (;;)
(get_hex_digit): rewrite if condition to avoid gcc complaints.
(bug_load, bug_create_inferior, bug_open, bug_store_register):
removed unused variables.
(bug_load): replaced DELTA macro with user settable srec_frame
variable. Other minor lint.
(find_end_of_word, is_baudrate_right, set_rate, not_bug_wait,
gethex, timed_read, translate_addr, bug_before_main_loop):
unsused and removed.
(bug_resume): add missing first arg, pid.
(get_reg_name): use ip rather than cr04.
(bug_write, bug_write_cr, but_clear_breakpoints, bug_quiet):
declare type, args, and explicitly return.
(bug_store_register): straighten out the ip vs cr04 confusion.
(bug_write_inferior_memory): rewrite to cope with errors while
downloading s-records.
(bug_read_inferior_memory): declare static.
(bug_clear_breakpoints): expect nobr before prompt.
(_initialize_remote_bug): add initializations for srec-bytes,
srec-max-retries, srec-frame, srec-noise, srec-sleep,
* (remote-bug.o): new rule.
(ALLDEPFILES): added remote-bug.c
* remote-hms.c (hms_wait): use -1 for timeout's which means block
forever rather than 99999.
* ser-unix.c (get_tty_state): if a descriptor is not a tty, then
simply save encode this fact as the process group and return
success rather than an error.
(set_tty_state): if process group is -1, do not reset the
process group.
(hardwire_reachar): comment change.
* serial.h: comment change.
* config/m88k/tm-m88k.h: comment change to remove embedded
(SKIP_PROLOGUE): skip_prologue returns a value which is expected
to reset the pc argument. So reset it.
Fri Aug 13 10:15:24 1993 Fred Fish (
* (VERSION): Bump to 4.10.1 after release and cvs
Thu Aug 12 20:40:14 1993 Jim Kingdon (
* gdbserver/ Use GDBSERVER_LIBS and
GDBSERVER_DEPFILES. Also remove much (but not all that could be
removed) crud inherited from gdb
* config/i386/, config/sparc/ Define GDBSERVER_*.
* gdbserver/README: Say it works on Sun and change configuration
instructions slightly.
Wed Aug 11 18:56:59 1993 david d `zoo' zuhn (
* config/i386/ use -lsocket and -lnsl, for remote
targets that use BSD style network connections
Wed Aug 11 17:54:24 1993 Jim Kingdon (
* remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
of statics doesn't work with SunOS4 /bin/cc).
Rename the occurrence in remote-monitor.c to monitor_bug_ops.
Tue Aug 10 13:07:14 1993 Jim Kingdon (
* blockframe.c (find_pc_partial_function),
mips-tdep.c (find_proc_desc): Deal with "pathological" case.
Tue Aug 10 14:50:30 1993 Jim Kingdon (
* utils.c (wrap_here): Allow indent to be NULL.
(fputs_filtered): Don't check for null wrap_indent (wrap_here now
guarantees that it isn't, and anyway we were only checking one out
of the two places we dereferenced it).
* objfiles.h (struct objfile): Clean up comments for
{obj,sym}_private to clarify what they are private to.
Mon Aug 9 16:45:00 1993 Stan Shebs (
* stabsread.c, buildsym.c (hashname): Moved function to
buildsym.c, as suggested in the sources.
Mon Aug 9 09:53:45 1993 Jim Kingdon (
* remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.
* hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
there, rather than using an ANSI C specific macro.
* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
sys/types.h near the top (just on general principles).
* environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
no longer used.
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
* symtab.c (decode_line_1): Give error on unmatched single quote.
Sun Aug 8 13:59:49 1993 Jim Kingdon (
* ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
* remote.c: Add comments about 'd', 'r', and unrecognized requests.
* inflow.c (terminal_init_inferior): Don't muck with tty state if
gdb_has_a_terminal() is false.
Sun Aug 8 10:07:47 1993 Fred Fish (
* dwarfread.c (record_minimal_symbol): Remove prototype and
* dwarfread.c (add_partial_symbol): Remove code to add minimal
symbols and remove comment about limitations. Experiments show
that now that gdb handles the ELF symtab better for creating
minimal symbols, that no additional information is added by
examining the DWARF information, and in fact, given the
limitations, the DWARF code was actually making things worse.
Sat Aug 7 10:59:03 1993 Fred Fish (
* elfread.c (elf_symtab_read): Properly sort out the bss symbols
from the data symbols and give them the correct minimal_symbol_type.
Add file static symbols to the minimal symbol table, not just
global symbols. Add absolute symbols as well (like _edata, _end).
Redo stabs-in-elf special symbol handling now that file static
symbols are entered into the into the minimal symbol table.
* dwarfread.c (add_partial_symbol): Add comment about limitations
of DWARF symbols for distinquishing data from bss when adding
minimal symbols. Add file local symbols to minimal symbols.
Thu Aug 5 08:58:58 1993 Jim Kingdon (
* ser-go32.c: Define job_control variable.
Thu Aug 5 15:56:13 1993 david d `zoo' zuhn (
* z8k-coff is the same as z8k-sim
Thu Aug 5 08:58:58 1993 Jim Kingdon (
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
Wed Aug 4 18:32:12 1993 Fred Fish (
* inflow.c (pass_signal): Signal handlers take one int arg;
supply an unused one to make it type compatible as an arg to
Tue Aug 3 18:34:14 1993 Ian Lance Taylor (
* config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
Tue Aug 3 15:34:57 1993 Fred Fish (
* (ALLCONFIG): Add config/i386/,
config/m68k/, config/m68k/,
config/m68k/, config/m68k/, config/mips/,
* (ALLPARAM): Add config/i386/nm-symmetry.h,
config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
* (ALLDEPFILES): Add dpx2-nat.c.
Tue Aug 3 12:02:09 1993 Ian Lance Taylor (
* mipsread.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
ecoff_backend information. No longer includes coff/mips.h.
Tue Aug 3 10:58:04 1993 Fred Fish (
* (SFILES): Add thread.c
Tue Aug 3 10:21:58 1993 Doug Evans (
* remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.
Mon Aug 2 16:35:31 1993 K. Richard Pixley (
* (VERSION): bumped to 4.9.4.
* remote-monitor.c: updated copyright.
(bug_ops, monitor_desc): now static.
(monitor_desc): in several places, check and/or set to NULL.
* remote-hms.c (hms_files_info): Add the appropriate items where
missing in the printf call.
* remote-bug.c: new file for m88k bug support.
* config/m88k/ (TDEPFILES): added remote-bug.o.
Mon Aug 2 14:22:09 1993 Steve Chamberlain (
* h8300-tdep.c: Use new variable h8300hmode.
Mon Aug 2 12:06:00 1993 Jim Kingdon (
* valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
references here.
* thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.
* gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.
Mon Aug 2 11:58:52 1993 Fred Fish (
* README: Elaborate on gdb C++ support and cfront support.
Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at
* i386lynx-nat.c, thread.c, thread.h: Update copyrights.
Mon Aug 2 12:06:00 1993 Jim Kingdon (
* (ALLDEPFILES): Add i386lynx-nat.c.
Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at
* gdbserver/remote-inflow.c (create_inferior): Fix comments, and
error msg. Setup seperate process group for child.
* (write_inferior_memory): Sleep for 1 second and retry on ptrace
Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at
* config/i386/ (NATDEPFILES): Drop coredep (for now).
* config/i386/nm-i386bsd.h: Protect from multiple inclusion.
* config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
* config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
* (CLIBS): Reorder to make Lynx ld happy.
* (HFILES): New file thread.h.
* (OBS): New file thread.c.
* Host config for Lynx/386.
* fork-child.c (fork_inferior): Call init_thread_list().
* infrun.c (resume): Add pid to invocation of target_resume().
* (wait_for_inferior): Pay attention to pid from target_wait().
Multi-threading code now uses this to determine what to do.
* inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
Use target_pid_to_str() macro throughout when printing pid.
* inferior.h (child_resume): Add pid to prototype.
* hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
argument, instead of using inferior_pid.
* procfs.c (procfs_resume): Pass in pid as argument. Ignored for
now. Use target_pid_to_str() macro throughout for printing process id.
* remote-adapt.c (adapt_resume): Pass in pid as argument.
* remote-eb.c (eb_resume): Pass in pid as argument.
* remote-es.c (es1800_resume): Pass in pid as argument.
* remote-hms.c (hms_resume): Pass in pid as argument.
* remote-mips.c (mips_resume): Pass in pid as argument.
* remote-mm.c (mm_resume): Pass in pid as argument.
* remote-monitor.c (monitor_resume): Pass in pid as argument.
* remote-nindy.c (nindy_resume): Pass in pid as argument.
* remote-sa.sparc.c (remote_resume): Pass in pid as argument.
* remote-sim.c (rem_resume): Pass in pid as argument.
* remote-sp64sim.c (simif_resume): Pass in pid as argument.
* remote-st.c (st2000_resume): Pass in pid as argument.
* remote-udi.c (udi_resume): Pass in pid as argument.
* remote-vx.c (vx_resume): Pass in pid as argument.
* remote-z8k.c (rem_resume): Pass in pid as argument.
* remote.c (remote_resume): Pass in pid as argument.
* solib.c (solid_create_inferior_hook): Pass inferior_pid to
* target.c (normal_pid_to_str): New routine to print out process
ID normally.
* target.h (struct target_ops): Add pid to prototype at
to_resume(). (target_resume): Add pid argument.
* (target_pid_to_str): Default definition for normal type pids.
* thread.h, thread.c: New modules for multi thread/process control.
Sun Aug 1 13:02:42 1993 John Gilmore (
* README: Say that bug-gdb is also the place to send requests
for help with GDB.
Sun Aug 1 09:42:13 1993 Fred Fish (
* (make-proto-gdb-1): Use -f opt on rm of Makefile.
* h8500-tdep.c: Add parens around a few macro args.
Fri Jul 30 15:43:49 1993 Jim Kingdon (
* TODO: Remove items about unix-to-unix/rapp debugging (now we
have gdbserver), moving xm files to subdirectory, ptype yylval,
and file-local symbols.
* gdbtypes.h: Improve comments about C++ methods.
Fri Jul 30 14:16:32 1993 Fred Fish (
* c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
NULL in all other calls to correct pointer types.
Fri Jul 30 15:43:49 1993 Jim Kingdon (
From Jeffrey Law:
* tm-hppa.h (TARGET_WRITE_PC): Define.
* hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
then return the address of the dummy itself rather than
the address of $$dyncall.
(target_write_pc): New function to store a new PC.
Fri Jul 30 12:51:27 1993 Peter Schauer (
and Jim Kingdon (
* breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
conditions, they might contain symbol table references.
Fri Jul 30 12:51:27 1993 Peter Schauer (
* mipsread.c (parse_symbol): Handle opaque struct definitions and
type naming for stTypedef symbols.
Fri Jul 30 14:44:21 1993 Jim Kingdon (
* c-exp.y (yylex): Detect C++ nested types.
Fri Jul 30 11:07:37 1993 Doug Evans (
* 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/ New file.
* config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
Fri Jul 30 10:15:01 1993 Fred Fish (
* (ALLCONFIG): Add config/i386/
Fri Jul 30 08:58:01 1993 Jim Kingdon (
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.
* symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
Fri Jul 30 07:36:53 1993 Fred Fish (
* NEWS: Add note that DEC alpha support is host only, not native.
* README: Emphasize that C++ support works best with GNU C++ and
stabs debugging format.
* delta68-nat.c: Add missing FSF copyright.
Fri Jul 30 08:58:01 1993 Jim Kingdon (
* 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.
Fri Jul 30 00:18:40 1993 Fred Fish (
* (ALLDEPFILES): Add delta68-nat.c
* (delta68-nat.o): Add dependency.
Thu Jul 29 12:09:46 1993 Jim Kingdon (
* 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
* 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.
* hppa-tdep.c: Make "maintenance print unwind" command from old
"unwind" command.
* 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.
Thu Jul 29 12:36:20 1993 Fred Fish (
* (NONSRC): Need 29k-share/README, not
Thu Jul 29 12:09:46 1993 Jim Kingdon (
* paread.c (pa_symfile_init): If error reading string table, don't
use errno in cases where it hasn't been set.
* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
* 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.
* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
Wed Jul 28 13:19:34 1993 Jim Kingdon (
* config/mips/xm-mips.h: Define HAVE_TERMIOS.
* dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
__gnu_compiled* symbols into the minimal symbols.
Wed Jul 28 08:26:58 1993 Ian Lance Taylor (
* remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and
mips_retransmit_wait, respectively.
Wed Jul 28 03:58:58 1993 (
* symmisc.c (dump_msymbols): Handle new mst_file_* types.
Tue Jul 27 12:07:38 1993 Jim Kingdon (
* remote-udi.c: Remove old comment about download not implemented.
* 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.
* Reflect removed nindy-share files.
* config/i960/ (TDEPFILES): Remove ttybreak.o.
* 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).
* buildsym.c (start_subfile): If a .c file includes a .C file, set
the language of both of them to C++.
* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
Include <malloc.h> rather than declaring malloc functions ourself.
* ser-unix.c (set_tty_state): Don't ignore errors setting process
* inflow.c (terminal_inferior): If attach_flag set, ignore errors
from set_tty_state.
* 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.
Tue Jul 27 12:36:49 1993 Peter Schauer (
* breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
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.
Tue Jul 27 01:57:01 1993 Peter Schauer (
* mipsread.c (parse_type): Do not set tag name for compiler
generated fake tag names.
Mon Jul 26 17:31:49 1993 K. Richard Pixley (
* config/m88k/ (TDEPFILES): add exec.o.
Mon Jul 26 13:17:36 1993 Jim Kingdon (
* 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.
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.
* config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
for floating point registers.
* mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
symbols as mst_file_text.
* hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
* stabsread.c (rs6000_builtin_type): Make logical types be
Sun Jul 25 23:41:48 1993 Jim Kingdon (
* breakpoint.{c,h} (struct breakpoint): Replace symtab field with
source_file field.
Fri Jul 23 09:57:25 1993 Jim Kingdon (
* remote.c: Don't error() on errors xferring memory.
* target.h: Clean up comments about *xfer_memory.
* exec.c, corelow.c (target_ops struct): Don't allow
{insert,remove}_breakpoints to be defaulted to
* demangle.c: Make it so `help set dem' tells you how to get the
list of demangling styles.
Thu Jul 22 15:41:09 1993 Jim Kingdon (
* Use REMOTE_O macro not remote.o.
* config/i960/{nindy960,vxworks960}: Don't use remote.o.
Thu Jul 22 12:43:25 1993 Ian Lance Taylor (
* coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
(can't include it in nm-*.h file because it causes conflicts with
a.out symbol definitions).
* hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
* config/m68k/ (NATDEPFILES): Added coredep.o and
* config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
* config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
* config/pa/xm-hppah.h: Likewise.
Wed Jul 21 11:37:30 1993 Jim Kingdon (
* mipsread.c (parse_symbol): when stTypedef and friends occur within
an stBlock, skip over the fields of the inner one.
* mips-tdep.c (init_extra_frame_info): If in lenient prologue, call
heuristic_proc_desc rather than just assuming registers not saved.
* (regex.o): Add dependency.
* hppa{b,h}-nat.c: Warning, not error, if can't access registers.
* config/pa/hppa{b,h}.h: Define ATTACH_DETACH.
Wed Jul 21 03:07:30 1993 Peter Schauer (
* config/mips/xm-makeva.h: New file implements va_list alignment
restrictions for mips hosts.
* config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}:
Use it.
Wed Jul 21 00:11:05 1993 Peter Schauer (
* mips-tdep.c (init_extra_frame_info): Do not check for
mips_in_lenient_prologue if it is a dummy frame.
* mipsread.c (fixup_sigtramp): Initialize pdr.adr, it is used by
Tue Jul 20 14:14:59 1993 Jeff Law (
* hpread.c (read_hp_array_type): Handle "char foo[]".
Tue Jul 20 12:53:47 1993 Jim Kingdon (
* mips-tdep.c (heuristic_proc_start): First time we print the
warning, elaborate.
(_initialize_mips_tdep): Improve docstring for `set heur'.
* config/rs6000/tm-rs6000.h: Remove call to insert_step_breakpoint.
* symtab.c (find_line_symtab): New function, to deal with multiple
symtabs with the same name.
(find_line_pc{,_range}): Use it.
(find_pc_symtab): Add comment about overlapping symtabs.
Mon Jul 19 21:29:14 1993 Fred Fish (
* (SFILES): Add nlmread.c.
* (OBS): Add nlmread.o.
* (nlmread.o): Add new target.
* (i[34]86-*-netware): New configuration.
* nlmread.c, config/i386/{, tm-i386nw.h}: New files
for NLM/NetWare support.
Mon Jul 19 11:48:57 1993 Jim Kingdon (
* symtab.h (enum minimal_symbol_type): Add mst_file_*.
* partial-stab.h [DBXREAD_ONLY]: Record statics in miminal symbols.
* dbxread.c (record_minimal_symbol): Deal with statics.
* minsyms.c (lookup_minimal_symbol): Prefer externals to statics.
* config/i386/xm-i386sco.h: Define HAVE_TERMIOS.
* printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
arg_bytes field of makeva_list is always aligned.
* config/pa/xm-pa.h: Make arglist_address a char *.
* ser-unix.c: Don't try to use job control with termio.
Sun Jul 18 23:11:28 1993 Peter Schauer (
and Jim Kingdon (
Make breakpoint_re_set_one work with overloaded member functions,
`b 123' and `b foo' if foo is a static function.
* symtab.c (decode_line_1, decode_line_2): New argument `canonical'
to return canonical line specs if requested by the caller.
* breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and
callers accordingly.
* symtab.c (build_canonical_line_spec): New helper function which
constructs the canonical line spec.
* breakpoint.c (break_command_1): Use canonical line spec instead
of command string as addr_string if necessary.
* source.c (line_info): Fix storage leak.
Sun Jul 18 15:22:45 1993 Jim Kingdon (
* infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
* symm-tdep.c: Remove exec_file_command.
[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
A few miscellaneous cleanups.
* symm-nat.c: Renamed from symm-xdep.c.
* All symmetry dependent files: Many changes.
* mips-tdep.c (mips_skip_prologue): New argument lenient.
Use read_memory_nobpt.
(is_delayed, mips_in_lenient_prologue): New functions.
(init_extra_frame_info): If in the prologue, don't use saved registers.
* config/mips/tm-mips.h: Declare mips_skip_prologue.
* partial-stab.h (N_SO): Add the text offset to valu before, not after,
passing it to END_PSYMTAB.
Fri Jul 16 18:48:52 1993 Jim Kingdon (
* symtab.c (find_pc_symtab): Call warning, not printf directly.
* solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
Fri Jul 16 09:56:42 1993 Ian Lance Taylor (
* mipsread.c: No longer need to undefine ZMAGIC.
Thu Jul 15 18:03:37 1993 Ian Lance Taylor (
* m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
(print_insn): Now just calls print_insn_m88k.
Thu Jul 15 14:54:05 1993 Doug Evans (
* h8300-tdep.c (examine_prologue): Make prototype match definition.
Thu Jul 15 08:34:49 1993 Jim Kingdon (
* NEWS: Mention that remote.c now has a `load' operation.
* hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
(rp_saved): Tell the caller where rp is saved.
(frame_chain_valid): Return 1 for linker stubs.
(frame_saved_pc): Use return value from rp_saved.
* stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
pass the sp relative to the frame in question, not the sp in the
innermost frame.
Wed Jul 14 17:37:03 1993 Jim Kingdon (
* mipsread.c (parse_procedure): Take as argument the symtab to look
the name up in. Look it up with mylookup_symbol, not lookup_symbol.
(psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
* mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
already checked the first characters.
Changes from Jeffrey Law:
* printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
machine dependent fields in the makeva_list structure.
(makeva_size): Allocate extra space to handle gaps made by
alignment restrictions.
* config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
(MAKEVA_START): Initialize arglist_address field.
(MAKEVA_ARG): Always store arguments on natural alignment
boundaries. Set arglist_address to the address right after
the args.
(MAKEVA_END): Simply return the value stored in arglist_address.
Wed Jul 14 13:51:54 1993 Jim Kingdon (
* ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
address, not addr.
* hppah-nat.c (store_inferior_registers): Don't print i in cases
where we aren't using it.
* a29k-tdep.c (get_saved_register): Fix typo.
Wed Jul 14 09:45:52 1993 Doug Evans (
* Recognize h8300h (variant of h8300).
Wed Jul 14 09:45:52 1993 Doug Evans (
* Recognize sparc64-*-*.
Tue Jul 13 14:03:48 1993 Jim Kingdon (
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
returning foo' as well as `pointer to foo'.
* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
* config/m68k/tm-m68k.h: Define it.
* mem-break.c, breakpoint.c: Improve comments.
Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (
* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
Tue Jul 13 11:50:38 1993 Doug Evans (
* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
Make prototype match definition.
Tue Jul 13 11:15:15 1993 Fred Fish (
* elfread.c: Remove notice about file still being under
* (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
Mon Jul 12 17:46:35 1993 Jim Kingdon (
* a29k-tdep.c (read_register_stack): Make val static.
Mon Jul 12 14:10:48 1993 Doug Evans (
* config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
usual spot.
Mon Jul 12 11:29:44 1993 Jim Kingdon (
* c-valprint.c (c_val_print): Fix thinko with unspecified length
* hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
Sun Jul 11 19:35:05 1993 Jim Kingdon (
* symtab.c (decode_line_1): Use end of block to figure out whether
val.end is in the same function, not minimal symbols.
* source.c (line_info): Add a few more wrap_here's.
* i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
don't make assumptions about sizes of host data types.
* blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
* infrun.c, breakpoint.c, printcmd.c: Change callers.
* printcmd.c (containing_function_bounds): Remove.
* printcmd.c (disassemble_command): Use find_pc_partial_function,
not containing_function_bounds.
* infcmd.c (step_1): Use find_pc_partial_function rather than
trying to roll our own. Move check for a pc between SIGTRAMP_START and
SIGTRAMP_END in find_pc_partial_function, not step_1.
* sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
Keep unswapped value in array of char, not REGISTER_TYPE.
(sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
sizeof (CORE_ADDR).
Thu Jul 1 15:50:05 1993 Frederic Pierresteguy (
* (m68*-bull-sysv*): added support for Bull dpx2.
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
* config/m68k/dpx2.m{h,t}: New files.
Thu Jul 1 15:46:10 1993 Jeff Law (
* hpread.c: Run through gnu-indent.
Sun Jul 11 12:32:08 1993 Doug Evans (
* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
more parens around macro arg.
Sat Jul 10 09:54:17 1993 Jim Kingdon (
* infrun.c: Remove step_resume_{duplicate,shadow}. Replace
step_resume_break_address with step_resume_breakpoint (now local
to wait_for_inferior).
({insert,remove}_step_breakpoint): Remove.
(wait_for_inferior): Set step resume break with
set_momentary_breakpoint. Test hitting it with bpstat_stop_status
and bpstat_what (stop_step_resume_break removed).
* breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
which includes previous return value as main_action, and a step_resume
* breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
there is another breakpoint there, insert it.
* infrun.c (wait_for_inferior): Rearrange the spaghetti a bit. Use
a few more gotos.
Various: Clean up and add comments.
* infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
for Wed Nov 13 16:45:13 1991).
Fri Jul 9 12:36:46 1993 Jim Kingdon (
* values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
* h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
not short *.
* findvar.c, defs.h
New routines to replace SWAP_TARGET_AND_HOST.
All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
* config/sparc/tm-sparc.h: Add comment suggesting that removing
ins and locals from the registers array might clean things up.
* utils.c: Clean up comments about wrap buffer and wrap_here.
* printcmd.c (printf_command): Call wrap_here before vprintf.
* mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
Patch from (Paul Flinders).
* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
Fri Jul 9 09:47:02 1993 Peter Schauer (
* defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
* mips-tdep.c (init_extra_frame_info): Set proper fci->frame if pc
is at the start of the dummy code.
Thu Jul 8 14:48:54 1993 Jim Kingdon (
* sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
stuff, just write the sp and fp.
(sparc_pop_frame): Skip the do_restore_insn; we already restore
the sp with the other out registers.
* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
* hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
Thu Jul 8 14:47:00 1993 Doug Evans (
* sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
!= sizeof (REGISTER_TYPE).
(frame_saved_pc): Ditto.
Thu Jul 8 08:22:05 1993 Doug Evans (
* config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
(REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
on the h8/300h (ints may still be 16 bits).
thought needed here.
* h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
(examine_prologue): reg_save_depth is 4 if h8/300h.
* findvar.c (read_register): Provide some support for 64 bit regs.
(write_register): Ditto.
Wed Jul 7 14:30:00 1993 Jim Kingdon (
* config/mips/nm-riscos.h: machine/machparam.h is always the right
place to look for BSD43_NBPG, not machine/vmparam.h
* infcmd.c (run_stack_dummy): New argument name.
Change error message in (another) attempt to make it comprehensible.
* valops.c (call_function_by_hand): Pass name to run_stack_dummy.
* symtab.h: Declare demangle and asm_demangle since macros use them.
* eval.c (evaluate_subexp): Add comment about calling a member
function of a variable in a register.
* expression.h: Clean up comment about string in STRUCT_STRUCT etc.
* config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
frame tops and bottoms.
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info. It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.
Tue Jul 6 11:51:18 1993 Jim Kingdon (
* Remove gdb before creating a new one.
Update init.c atomically.
* (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
(ALLCONFIG): Add config/alpha/
* infcmd.c (_initialize_infcmd): In docstring for "continue",
describe argument as setting ignore count.
Sun Jul 4 15:04:47 1993 Doug Evans (
* h8300-tdep.c (examine_prologue): Fix call to
Fri Jul 2 18:22:54 1993 Jim Kingdon (
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.
* eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
default cases.
* (distclean): Remove
Fri Jul 2 14:55:48 1993 Peter Schauer (
* exec.c (exec_file_command): Remove Mar 28 hack as BFD handles
file updates properly now.
* mipsread.c (mips_coff_new_init): Force reevaluation of sigtramp
addresses if switching to a new symbol file.
* dbxread.c (process_one_symbol): Avoid dereferencing NULL
symbols that might be returned from define_symbol.
Fri Jul 2 13:33:12 1993 Steve Chamberlain (
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.
* config/alpha/xm-alpha.h: Add MAKEVA_END.
* config/h8500/tm-h8500.h: Define new macros.
Fri Jul 2 13:51:04 1993 Ian Lance Taylor (
* (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.
Fri Jul 2 13:39:48 1993 Jim Kingdon (
* c-exp.y (yylex): Give error if unmatched single quote.
*, config/m68k/*delta68*, delta68-nat.c: New port.
* 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.
Thu Jul 1 09:51:27 1993 Jim Kingdon (
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.
* ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
not an initializer, to copy the structure.
* 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.
* xm-sysv4.h: Undefine HAVE_TERMIO.
* config/mips/nm-riscos.h: Remove unmatched #endif.
* config/mips/ Don't include coredep.o; mips-nat.o is enough.
Fix misspelling of NAT_FILE.
* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
we can still process "modern" core files.
* 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.
Wed Jun 30 20:06:46 1993 Jim Kingdon (
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
Tue Jun 29 11:02:58 1993 Jim Kingdon (
* 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:
* inflow.c: Use them.
* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
* Various: Remove all use of TIOC*_BROKEN.
Wed Jun 30 12:20:51 1993 Peter Schauer (
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
Tue Jun 29 13:44:41 1993 Peter Schauer (
* target.h (target_detach): Turn macro into function.
* target.c (target_detach): Define it, do deferred register stores
before calling the real target function.
Tue Jun 29 13:15:42 1993 Peter Schauer (
and Jim Kingdon (
* 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.
Tue Jun 29 11:02:58 1993 Jim Kingdon (
* config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
(REG_STRUCT_HAS_ADDR): Add comment.
* infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
to check whether there is line number information.
Tue Jun 29 08:29:17 1993 david d `zoo' zuhn (zoo at
* remote-udi.c: Fix docstring so that it compiles.
* remote-mips.c, remote-nindy.c: move bfd.h before symfile.h
(for file_ptr).
Tue Jun 29 09:11:27 1993 Jim Kingdon (
* 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.
* symtab.h: Add comments about line numbers.
* source.c (identify_source_line): Fix off by one bug with line.
Mon Jun 28 19:00:21 1993 Jeff Law (
* hpread.c: Do not include libhppax. Instead include libhppa.h
and hpux-symtab.h. Misc indention fixes.
(find_unwind_entry): Add PARAM prototype.
(read_hpux_symtab): More fixes for names and sizes of structs,
unions, enums, typedefs, and tagdefs.
(read_hp_enum_type, read_hp_struct_type): Likewise.
(read_hp_set_type, read_hp_subrange_type): Likewise.
(hp_type_lookup, process_one_debug_symbol): Likewise.
(process_one_debug_symbol): Search forward from the K_FUNCTION for
the first K_BEGIN when setting the line number associated with a
function. Avoid unnecessary calls to savestring.
(hp_alloc_type): Initialize TYPE_CPLUS_SPECIFIC here. Remove
most cases where we set it elsewhere.
(hppa_sym_fns): Use "hppa" instead of hppax since hpread.c and
paread.c use the same BFD backend now. All references changed.
(hpux_symfile_init): Allocate space to hold the debugging section
contents on the symbol obstack.
Mon Jun 28 10:09:08 1993 Jim Kingdon (
* printcmd.c (makeva*): New interface, for making a va_list.
(printf_command): Use it.
* config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
* config/pa/xm-pa.h: New file.
* config/pa/xm-hppa{b,h}.h: Include it.
* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
Sun Jun 27 08:54:55 1993 Peter Schauer (
* valprint.c (val_print_type_code_int): Fix off by one error with
eliminating leading zeroes for large little endian integers.
Sun Jun 27 08:58:56 1993 Jim Kingdon (
* config/mips/ (CC): Use -systype sysv.
* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
* (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
Fri Jun 25 11:22:28 1993 Jim Kingdon (
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at
* gdbserver/ Add dependancies on server.h.
* gdbserver/remote-gutils.c: Remove lots of unused functions and
* gdbserver/remote-inflow.c: Remove lots of unused variables and
#includes. Also, use PTRACE_* symbols instead of constants.
(mywait): Surround calls to wait() with enable/disable_async_io()
so that we can be interrupted from GDB while waiting for the
child. Also, handle child exit more gracefully.
* gdbserver/remote-server.c: Remove lots of unused variables.
Move all extern defs into server.h. Redo main loop so that
failure from getpkt() causes communications to be re-established.
Fix 'k' command so that it restarts the child.
* gdbserver/remote-utils.c: Remove lots of unloved vars and
subrs. Move many extern decls into server.h. (remote_open): For
tcp, seperate usage of proto fd from connected fd. Close proto
fd after getting connection. (putpkt/getpkt): Pay attention to
errors when reading/writing. Report these to the caller. New
routines input_interrupt/enable_async_io/disable_async_io to make
it possible to get an I/O interrupt when data arrives from the
comm link.
* serial.h: New file to contain common defs for all remote files.
Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at
* remote.c: Add arg names to prototypes, in a modest effort at
clarification. Also add prototypes for some new functions.
* (remote_wait): Better error reporting for 'T' responses.
* ser-go32.c (strncasecmp): Make str1 & str2 be const.
* (dos_async_init): Make usage message reflect requested port #.
* ser-tcp.c (tcp_open): Terminate hostname properly to prevent
random hostname lookup failures. Add nicer message for unknown
host error. (wait_for): Wake up in case of exceptions. Also,
restart select() if we got EINTR.
* ser-unix.c (wait_for): Restart select() if we got EINTR.
* serial.c: (serial_close): Clean up code.
Fri Jun 25 11:22:28 1993 Jim Kingdon (
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
Fri Jun 25 11:22:28 1993 Jim Kingdon (
* (*.tab.c): Use ./ not just
Make comment explaining this comprehensible.
(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
(update-alldeps): Remove; obsolete.
* remote.c: Move comments regarding packets to top of file with the
rest of the protocol comments.
Fix incorrect description of 'T' response.
* README (Reporting Bugs): Refer people to the GDB manual.
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.
* remote-udi.c: Improve docstring.
Fri Jun 25 11:16:31 1993 Fred Fish (
* elfread.c (elf_symfile_read): Call bfd_elf_find_section, not
bfd_elf32_find_section, to track bfd changes.
Fri Jun 25 11:22:28 1993 Jim Kingdon (
* config/mips/ (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define.
* config/mips/xm-riscos.h: Define USG.
Thu Jun 24 14:52:45 1993 Jim Kingdon (
* main.c (filename_completer): Don't complete to files ending in ~.
* NEWS: Mention filename completion and "info line" enhancements.
* main.c (symbol_completion_function): On "info t foo", return NULL,
don't error().
* main.c (symbol_completion_function): Don't use readline word
breaking. Use new calling convention for c->completer and
* command.h (struct command): Change arguments; now the text passed
to completer does not have any word breaking done. New arg word.
* symtab.{c,h} (make_symbol_completion_list