* Fix for PR 16567, brought over from d30v branch.
Thu Oct 1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
* breakpoint.c (bpstat_stop_status): Do not consider an
untripped watchpoint as a "hit".
Stan Shebs [Thu, 1 Oct 1998 01:46:28 +0000 (01:46 +0000)]
* gdbint.texinfo: Complete overhaul. Group descriptions more
logically, add more info on generic algorithms, remove much
obsolete and/or wrong material.
Keith Seitz [Fri, 25 Sep 1998 19:04:46 +0000 (19:04 +0000)]
Merge with armelf980813:
* rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
PARPORT defines for win32.
(Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
start with "com", not "/dev/tty".
(Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.
* rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
so that the device may be reopened.
* remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
the output from fputs_hook.
(mywrite): Ditto.
(arm_rdi_open): Set inferior_pid.
(arm_rdi_detach): Pop the target off the target stack so that
users can attach and detach multiple times.
(arm_rdi_close): Close the opened device and reset inferior_pid, too.
Keith Seitz [Fri, 25 Sep 1998 15:22:23 +0000 (15:22 +0000)]
* gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
* v850ice.c (WM_ADDR_TO_SYM): New message.
(v850ice_wndproc): Add handler for WM_SOURCE.
(v850ice_wait): Call the ui_loop_hook occasionally.
(ice_cont): Acknowledge message before doing anything.
(ice_stepi): Ack message and let gdbtk do stepping.
(ice_nexti): Ack message and let gdbtk do stepping.
(view_source): New function ICE calls to display source code.
Jason Molenda [Fri, 25 Sep 1998 01:27:47 +0000 (01:27 +0000)]
1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add --enable-warnings.
Adjust whitespace of other --with and --enable options so that
configure --help lines up correctly.
* aclocal.m4: Ditto.
* Makefile.in (WARN_CFLAGS): Add. Set by configure.
* configure: Regenerated.
Andrew Cagney [Wed, 23 Sep 1998 08:31:50 +0000 (08:31 +0000)]
Allow full 64 bits of an address to be specified in an `M' or `n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle
regressions.
Nick Clifton [Wed, 23 Sep 1998 01:11:23 +0000 (01:11 +0000)]
Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
are unacceptable.
Stu Grossman [Tue, 22 Sep 1998 02:34:38 +0000 (02:34 +0000)]
* defs.h utils.c (fputc_filtered): New function. Does the obvious...
* jv-lang.c (java_printchar): Fix output of chars > 0xff. Fold
java_emit_char into java_printchar.
* language.h (PRINT_LITERAL_FORM): Reformat for readability.
Ron Unrau [Mon, 21 Sep 1998 05:11:13 +0000 (05:11 +0000)]
* incorporate SKY-B changes (makes dual maintenance easier).
* txvu-tdep.c (check_overlap): new function to guarantee that
overlays are either mapped or unmapped in their entirety.
* txvu-tdep.c (compress_blockvector): compress blockvectors correctly
Ian Lance Taylor [Sun, 20 Sep 1998 04:57:41 +0000 (04:57 +0000)]
Sun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum
reloc_type. Rename R_68K__max to R_68K_max.
(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
reloc.
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
transform a defweak into a plt entry.
(elf64_alpha_calc_dynrel_sizes): Allow room for secondary
plt entry references to receive a RELATIVE reloc.
(elf64_alpha_finish_dynamic_symbol): Fill them in.
(elf64_alpha_relocate_section): Assert we don't overrun
the allocated relocation space.
Stu Grossman [Wed, 16 Sep 1998 21:59:01 +0000 (21:59 +0000)]
* stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
failure.
* (define_symbol): Check return value from resolve_symbol_reference,
and drop symbol if it fails.
Stu Grossman [Tue, 15 Sep 1998 22:38:40 +0000 (22:38 +0000)]
* stabsread.c: Make all complaints static.
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range): Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table. Handle errors by aborting just the current
symbol.
* (ref_init): Goes away. Folded into ref_add().
* (REF_MAP_SIZE): Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add): Remove check for allocation failures. Not necessary
when using xrealloc(). Fix pointer arithmetic problem when clearing
memory. This and the previous patch prevent random SEGV's when there
are lots of live range symbols.
Vladimir Makarov [Tue, 15 Sep 1998 21:36:41 +0000 (21:36 +0000)]
1998-09-15 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16
reloc to the wrong section a warning, not an error. .dynsbss
is not an output section, so there is no need to check for it.
Andrew Cagney [Tue, 15 Sep 1998 07:50:31 +0000 (07:50 +0000)]
Use value_at_lazy() to examine memory values. For x/i this is very
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.
Michael Snyder [Fri, 11 Sep 1998 21:00:26 +0000 (21:00 +0000)]
Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.c++/classes.exp: Change all regular expressions to match
arbitrary combinations of newline/carriage-return, so that they
will work equally well on Unix and Windows.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/virtfunc.exp: ditto.
Stan Shebs [Thu, 10 Sep 1998 02:58:19 +0000 (02:58 +0000)]
More avoidance of writing documentation in the internals manual.
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
Ron Unrau [Wed, 9 Sep 1998 17:41:59 +0000 (17:41 +0000)]
Merges from SKY branch:
* blockframe.c(find_pc_sect_partial_function): look for min syms in
the same section when trying to guess the end of a function.
* symfile.c(list_overlays_command): use print_address_numeric
* remote-sim.c: export simulator_command
* tm-r5900.h: add COP0 registers
* txvu-tdep.c: printvector and printvector-order commands
* tm-txvu.h: add COP0 registers
* mips-tdep.c: use NUM_CORE_REGS
Jason Molenda [Wed, 9 Sep 1998 04:16:53 +0000 (04:16 +0000)]
1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
* breakpoint.c (bpstat_stop_status): Declare a bp match if the
current fp matches the bp->fp OR if the current fp is less than
the bp->fp if we're looking at a bp_step_resume breakpoint.
PR 15992.
With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user. So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.
If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.
This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).
Stan Shebs [Wed, 9 Sep 1998 02:48:11 +0000 (02:48 +0000)]
Cleanup opportunity discovered while updating internals manual.
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
not currently used.
* symfile.c (allocate_symtab): Deprecate use of
INIT_EXTRA_SYMTAB_INFO here.