Mark Kettenis [Wed, 28 Mar 2001 11:36:23 +0000 (11:36 +0000)]
* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
config/i386/nm-linux.h (including comment).
(i386_linux_frame_chain): New function implementing guts of the
former FRAME_CHAIN macro, but using read_memory_unsigned_integer
instead of read_memory_integer.
(i386_linux_frame_saved_pc): Removed doc pointing to
i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
now lives in this file.
* config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
i386-linux-tdep.c (including comment).
(FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
(i386_linux_frame_chain): New prototype.
Mark Kettenis [Wed, 28 Mar 2001 09:15:22 +0000 (09:15 +0000)]
* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
make it work again.
(NUM_FREGS): Redefine to 0.
(NUM_REGS): Redefine as NUM_GREGS.
(i386_register_byte, i386_register_raw_size): Update from
i386-tdep.c. Add comment about their origin.
(regmap, register_u_addr): Take these from i386-linux-nat.c.
(i386_register_u_addr): Removed.
Mark Kettenis [Wed, 28 Mar 2001 08:35:14 +0000 (08:35 +0000)]
* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
fails instead of calling perror_with_name. This should fix
debugging remote i386 targets with a native Linux/x86 GDB. Add
FIXME for this hack.
DJ Delorie [Wed, 28 Mar 2001 05:02:47 +0000 (05:02 +0000)]
merge from gcc
Alexandre Oliva [Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Ben Elliston [Tue, 27 Mar 2001 21:37:47 +0000 (21:37 +0000)]
* Comment tweak.
J.T. Conklin [Tue, 27 Mar 2001 20:36:24 +0000 (20:36 +0000)]
* arch-utils.c (#include "gdbthread.h"): Removed.
(#include "symfile.h"): Removed.
(XMALLOC): Removed unused macro.
* breakpoint.c (tbreak_command): Removed local declaration.
(awatch_command, do_enable_breakpoint, set_breakpoint_count):
Remove duplicate declarations.
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(remove_solib_event_breakpoints): Fix indentation botch.
* c-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* ch-exp.c (ch_terminal_match_float_literal, parse_expr)
(parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
Removed duplicate declarations.
* ch-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* corefile.c (#include "frame.h"): Removed
(#include "symfile.h"): Removed.
(#include "language.h"): Removed.
* dbxread.c (#include "command.h"): Removed.
* environ.c (#include "gdbcore.h"): Removed.
* event-loop.c (#include "top.h"): Removed.
* f-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
(#include "typeprint.h"): Removed.
(#include "frame.h"): Removed.
* gdbtypes.h (print_type_scalar): Removed declaration.
* infcmd.c (#include "completer.h"): Removed.
* language.c (#include "frame.h"): Removed.
* m2-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
* m2-valprint.c (#include "valprint.h"): Removed.
* p-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* p-valprint.c (#include "typeprint.h"): Removed.
* parse.c (#include "linespec.h"): Removed.
* regcache.c (#include "frame.h"): Removed.
* remote.c (#include "frame.h"): Removed.
(getpkt_sane): Make static.
* source.c (#include "completer.h"): Removed.
* stack.c (#include "symfile.h"): Removed.
(#include "objfiles.h"): Removed.
* symfile.c (#include "completer.h"): Removed.
* tracepoint.c (#include "completer.h"): Removed.
* values.c (#include "frame.h"): Removed.
* varobj.c (#include "valprint.h"): Removed.
* wrapper.c (#include "frame.h"): Removed.
* memattr.c (create_mem_region): Removed unused variable.
* remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
-------------------------------------------------------------------
Nick Clifton [Tue, 27 Mar 2001 19:33:52 +0000 (19:33 +0000)]
Allow for the possibility that the local labels won't be in the objdump output.
Nick Clifton [Tue, 27 Mar 2001 19:13:55 +0000 (19:13 +0000)]
(for COFF) default symbols to being local.
Nick Clifton [Tue, 27 Mar 2001 17:23:47 +0000 (17:23 +0000)]
Add missing double quote
Kevin Buettner [Tue, 27 Mar 2001 10:03:41 +0000 (10:03 +0000)]
* solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().
Eli Zaretskii [Tue, 27 Mar 2001 07:09:01 +0000 (07:09 +0000)]
(Cleanups): Remove the item about converting docs to GFDL.
Kevin Buettner [Tue, 27 Mar 2001 06:23:25 +0000 (06:23 +0000)]
* solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
Ben Elliston [Tue, 27 Mar 2001 04:51:28 +0000 (04:51 +0000)]
* as.texinfo (Fill): Replace "result" with "repeat".
Hans-Peter Nilsson [Tue, 27 Mar 2001 02:48:19 +0000 (02:48 +0000)]
* configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
* configure: Regenerate.
Kevin Buettner [Tue, 27 Mar 2001 02:45:54 +0000 (02:45 +0000)]
Fix problems encountered in compiling ia64-tdep.c with IBM's compiler.
Hans-Peter Nilsson [Tue, 27 Mar 2001 02:37:41 +0000 (02:37 +0000)]
* configure.tgt (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
H.J. Lu [Tue, 27 Mar 2001 02:05:18 +0000 (02:05 +0000)]
Remove ATTRIBUTE_UNUSED in the last patch.
Kevin Buettner [Tue, 27 Mar 2001 02:01:11 +0000 (02:01 +0000)]
Add AIX5 procfs support.
H.J. Lu [Tue, 27 Mar 2001 02:00:34 +0000 (02:00 +0000)]
2001-03-26 H.J. Lu <hjl@gnu.org>
* elf32-gen.c (elf32_generic_link_add_symbols): New. Check
if there are any relocations for generic ELF.
(bfd_elf32_bfd_link_add_symbols): Defined to
elf32_generic_link_add_symbols.
* elf64-gen.c (elf64_generic_link_add_symbols): New. Check
if there are any relocations for generic ELF.
(bfd_elf64_bfd_link_add_symbols): Defined to
elf64_generic_link_add_symbols.
Kevin Buettner [Tue, 27 Mar 2001 01:32:45 +0000 (01:32 +0000)]
Add new step-line test.
Kevin Buettner [Tue, 27 Mar 2001 01:17:47 +0000 (01:17 +0000)]
* symtab.c (find_pc_sect_line): Revise method used for finding
the ending pc.
Alan Modra [Tue, 27 Mar 2001 00:42:47 +0000 (00:42 +0000)]
Go to 16k page size on hppa-linux.
Nick Clifton [Mon, 26 Mar 2001 21:42:48 +0000 (21:42 +0000)]
oops - omitted from previous delta
Mark Kettenis [Mon, 26 Mar 2001 19:51:47 +0000 (19:51 +0000)]
* i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
i386_linux_sigtramp_saved_sp): Make static.
(i386_linux_frame_saved_pc): New function based on the old
FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
of read_memory_integer.
* config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
(i386_linux_sigtramp_saved_pc): Remove prototype.
(FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
(i386_linux_frame_saved_pc): New prototype.
Chris Demetriou [Mon, 26 Mar 2001 19:47:47 +0000 (19:47 +0000)]
2001-03-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/sync.s: Declare 'foo' as a function so that this
test will work on properly on ECOFF targets.
Nick Clifton [Mon, 26 Mar 2001 19:38:33 +0000 (19:38 +0000)]
Do not optimize BFD_RELOC_390_GOTENT relocs.
Always generate relocs for VT_ relocs.
Jim Blandy [Mon, 26 Mar 2001 18:39:33 +0000 (18:39 +0000)]
Correct/clarify credit for C++ work.
Andrew Cagney [Mon, 26 Mar 2001 18:06:43 +0000 (18:06 +0000)]
Mark m88k as known to be broken.
Andrew Cagney [Mon, 26 Mar 2001 16:44:32 +0000 (16:44 +0000)]
* fork-child.c (clone_and_follow_inferior): Delete #ifdef
HAVE_VFORK.
Mark Kettenis [Mon, 26 Mar 2001 12:25:31 +0000 (12:25 +0000)]
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
Mark Kettenis [Mon, 26 Mar 2001 12:11:14 +0000 (12:11 +0000)]
* i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
functions.
* config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
(STORE_STRUCT_RETURN): Redefine in terms of
i386_store_struct_return.
(i386_push_arguments, i386_store_struct_return): New prototypes.
* config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
definition was identical to the definition in "i386/tm-i386.h" so
the new definition should suffice too.
Eli Zaretskii [Mon, 26 Mar 2001 11:51:50 +0000 (11:51 +0000)]
* gdbint.texinfo: Change Permissions to GFDL. Update Copyright.
* gdbgui.texinfo: Change Permissions to GFDL. Update Copyright.
Replace "GDB" with "@value{GDBN}". Fix markup.
* annotate.texi: Change Permissions to GFDL. Update Copyright.
* gdb.texinfo: Change Permissions to GFDL. Update Copyright.
* gdbmi.texinfo: Update copyright. Change Permissions to GFDL.
Eli Zaretskii [Mon, 26 Mar 2001 11:37:51 +0000 (11:37 +0000)]
* event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
Eli Zaretskii [Mon, 26 Mar 2001 11:35:03 +0000 (11:35 +0000)]
* gdb.texinfo (Output Formats): Mention "info symbol" and provide
a cross-reference to its description.
(Symbols): Document "info symbol".
Eli Zaretskii [Mon, 26 Mar 2001 11:30:03 +0000 (11:30 +0000)]
Fix the date of the last entry.
Eli Zaretskii [Mon, 26 Mar 2001 11:26:45 +0000 (11:26 +0000)]
* config/djgpp/djconfig.sh: Add copyright notice.
* ser-go32.c (rawclock): Remove prototype; include time.h instead.
(ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
(top level) <string.h>: Include gdb_string.h instead.
(dos_noop, dos_raw, dos_noflush_set_tty_state)
(dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
* go32-nat.c (go32_create_inferior): Move the declaration of
`environ' to here from the top level.
(top level) <_initialize_go32_nat>: Remove redundant prototype.
<gdb_string.h>: Include it instead of string.h.
(store_register): Call register_buffer instead of accessing
registers[] directly.
(redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
(redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
the function names at the start of the line.
(go32_set_dr): Throw internal_error if the argument is not a valid
debug register number.
(go32_open, go32_close, go32_attach, go32_detach, go32_resume)
(go32_wait, go32_xfer_memory, go32_files_info)
(go32_terminal_info): Remove ATTRIBUTE_UNUSED.
Andreas Jaeger [Mon, 26 Mar 2001 07:02:59 +0000 (07:02 +0000)]
2001-03-26 Andreas Jaeger <aj@suse.de>
* binutils.texi (nm): Fix texi syntax.
2001-03-26 Andreas Jaeger <aj@suse.de>
* ld.texinfo (Overview): Fix syntax in texi code.
Jim Blandy [Mon, 26 Mar 2001 04:03:26 +0000 (04:03 +0000)]
*** empty log message ***
Jim Blandy [Mon, 26 Mar 2001 04:01:53 +0000 (04:01 +0000)]
* mips-tdep.c (mips_gdbarch_init): Tweak indentation.
Elena Zannoni [Mon, 26 Mar 2001 02:50:46 +0000 (02:50 +0000)]
2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Andrew Cagney <
ac131313@redhat.com>
* coffread.c: Include "gdb_assert.h".
(coff_symtab_read): Cast the integer s_sclass to a long before
casting it to a pointer.
Elena Zannoni [Mon, 26 Mar 2001 02:48:23 +0000 (02:48 +0000)]
2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Andrew Cagney <
ac131313@redhat.com>
* coffread.c (coff_symtab_read): Initialize
``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
the ``.ef'' info.
* dbxread.c (find_text_range): Initialize ``start'' and ``end''.
Nick Clifton [Sun, 25 Mar 2001 20:32:31 +0000 (20:32 +0000)]
Automate generate on man pages
Alan Modra [Sun, 25 Mar 2001 05:57:09 +0000 (05:57 +0000)]
Accept an absolute expression for index scale factor.
Alan Modra [Sat, 24 Mar 2001 06:29:16 +0000 (06:29 +0000)]
Small tweaks to sse2 instructions.
Jim Blandy [Sat, 24 Mar 2001 03:23:20 +0000 (03:23 +0000)]
Revert previous change, committed to trunk accidentally.
Jim Blandy [Sat, 24 Mar 2001 03:21:46 +0000 (03:21 +0000)]
A single-file branch to help me keep things straight while adapting
GDB to the GNU V3 C++ ABI.
* c-typeprint.c: Commit Dan Berlin's changes.
Andrew Cagney [Sat, 24 Mar 2001 02:07:49 +0000 (02:07 +0000)]
* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
multi-arch.
* gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* target.h (SOFTWARE_SINGLE_STEP_P)
(SOFTWARE_SINGLE_STEP): Delete macro definitions.
Andrew Cagney [Sat, 24 Mar 2001 01:26:09 +0000 (01:26 +0000)]
Re-vamp the register code so that a lot more is routed through
{read,write}_register_gen. Hook that function with multi-arch.
Nick Clifton [Sat, 24 Mar 2001 00:46:00 +0000 (00:46 +0000)]
Remove extraneous whitespace
Nick Clifton [Sat, 24 Mar 2001 00:45:11 +0000 (00:45 +0000)]
Fix compile time warnings.
Jim Blandy [Sat, 24 Mar 2001 00:42:59 +0000 (00:42 +0000)]
* stabsread.c (read_cpp_abbrev): Properly construct the names of
virtual function table pointer fields.
Nick Clifton [Sat, 24 Mar 2001 00:40:22 +0000 (00:40 +0000)]
Remove extraneous whitespace
DJ Delorie [Fri, 23 Mar 2001 23:57:50 +0000 (23:57 +0000)]
merge from gcc
Andrew Cagney [Fri, 23 Mar 2001 23:39:57 +0000 (23:39 +0000)]
* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
xmrealloc): Move existing declarations to the one place and
re-order to be consistent.
(xmcalloc, xmfree): Declare.
(xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
declaration.
* utils.c (size_t): Delete #ifdef defining size_t.
(mmalloc, mrealloc, mcalloc, mfree): Re-order.
(mmalloc, mrealloc, mcalloc): Document as only calls in GDB
corresponding malloc, realloc, calloc.
(mfree): Call free directly.
(xmmalloc, xmrealloc): Clean up. Assume ISO-C.
(xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
function bodies to here.
(xcalloc, xfree): Call xmcalloc and xmfree respectfully.
Nick Clifton [Fri, 23 Mar 2001 23:05:07 +0000 (23:05 +0000)]
Support the GCC flags '-ffunction-sections' and '-fdata-sections'.
Set the VMA of STABS sections to zero.
Andrew Cagney [Fri, 23 Mar 2001 22:48:44 +0000 (22:48 +0000)]
Fix -Werror -Wuninitialized warnings.
Nick Clifton [Fri, 23 Mar 2001 19:35:02 +0000 (19:35 +0000)]
Document --listing-XXX command line switches.
Explain why listings behave differently when -pipe is used.
Nick Clifton [Fri, 23 Mar 2001 18:15:49 +0000 (18:15 +0000)]
fix_new_exp: Print an error if passed a register.
Nick Clifton [Fri, 23 Mar 2001 18:06:17 +0000 (18:06 +0000)]
Add note about inability to use "make distclean" in maintainer mode.
Nick Clifton [Fri, 23 Mar 2001 18:05:30 +0000 (18:05 +0000)]
Fix building bfd.pot in maintainer mode
Mark Kettenis [Fri, 23 Mar 2001 16:17:45 +0000 (16:17 +0000)]
* config/i386/nm-i386.h: Fix formatting and change reference to
i386-tdep.c to i386-nat.c.
David Smith [Fri, 23 Mar 2001 16:05:29 +0000 (16:05 +0000)]
2001-03-23 David Smith <dsmith@redhat.com>
* configure.in: Corrected spelling errors.
* configure: Regenerated.
Hans-Peter Nilsson [Fri, 23 Mar 2001 05:58:38 +0000 (05:58 +0000)]
* gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d:
New tests.
Hans-Peter Nilsson [Fri, 23 Mar 2001 05:39:38 +0000 (05:39 +0000)]
* gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s,
gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s.
Hans-Peter Nilsson [Fri, 23 Mar 2001 05:27:42 +0000 (05:27 +0000)]
* config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support.
Andrew Cagney [Fri, 23 Mar 2001 01:14:10 +0000 (01:14 +0000)]
Update list of obsolete targets.
Andrew Cagney [Fri, 23 Mar 2001 00:58:48 +0000 (00:58 +0000)]
Obsolete stuff.c and kdb-start.c.
Andrew Cagney [Fri, 23 Mar 2001 00:41:02 +0000 (00:41 +0000)]
* config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
compiles using an ISO-C compiler.
(MALLOC_INCOMPATIBLE): Ditto.
* linespec.c (decode_line_1): Delete hack to work around
HPPA_COMPILER_BUG.
Andrew Cagney [Thu, 22 Mar 2001 23:58:37 +0000 (23:58 +0000)]
-Wuninitialized fixes.
Alexandre Oliva [Thu, 22 Mar 2001 18:17:54 +0000 (18:17 +0000)]
Re-installed:
2001-01-02 Laurynas Biveinis <lauras@softhome.net>
* ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP. Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
Hans-Peter Nilsson [Thu, 22 Mar 2001 16:09:20 +0000 (16:09 +0000)]
* cris.h (ADD_PC_INCR_OPCODE): New macro.
Jim Blandy [Thu, 22 Mar 2001 15:16:04 +0000 (15:16 +0000)]
* cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.
Andrew Cagney [Thu, 22 Mar 2001 14:59:09 +0000 (14:59 +0000)]
Cleanup remote protocol section. Add notes on ``!'', ``q'' and the
non-use of the continue address.
Hans-Peter Nilsson [Thu, 22 Mar 2001 14:56:06 +0000 (14:56 +0000)]
* elf32-cris.c: Shlib and PIC support. PCREL tweaks.
Hans-Peter Nilsson [Thu, 22 Mar 2001 13:03:58 +0000 (13:03 +0000)]
* cris.h: Add leading comment about PC-relative location.
(R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
New relocs.
Hans-Peter Nilsson [Thu, 22 Mar 2001 11:17:16 +0000 (11:17 +0000)]
* reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,
BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,
BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,
BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,
BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,
BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.
* bfd-in2.h, libbfd.h: Regenerate.
Phil Blundell [Thu, 22 Mar 2001 11:09:20 +0000 (11:09 +0000)]
2001-03-22 Philip Blundell <philb@gnu.org>
* config.sub, config.guess: Import latest from subversions.
Eli Zaretskii [Thu, 22 Mar 2001 09:35:19 +0000 (09:35 +0000)]
* config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
include nm-i386.h instead.
(TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
(TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
(target_stopped_data_address, target_insert_watchpoint)
(target_remove_watchpoint, target_insert_hw_breakpoint)
(target_remove_hw_breakpoint): Don't define.
(I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
(I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
(I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
functions from go32-nat.c.
* config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
* go32-nat.c <top level>: Remove prototypes for watchpoint-
related functions. Remove definitions of watchpoint-related
macros.
(go32_mourn_inferior): Call i386_cleanup_dregs instead of the
private cleanup_dregs function.
(cleanup_dregs, go32_insert_watchpoint)
(go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
(go32_remove_watchpoint, go32_remove_aligned_watchpoint)
(go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
(go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
(go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
Alexandre Oliva [Thu, 22 Mar 2001 05:22:04 +0000 (05:22 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.
Ben Elliston [Thu, 22 Mar 2001 04:05:03 +0000 (04:05 +0000)]
2001-03-22 Ben Elliston <bje@redhat.com>
* cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg
declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional.
* cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused
to allay a compiler warning.
Kazu Hirata [Thu, 22 Mar 2001 02:51:19 +0000 (02:51 +0000)]
2001-03-21 Kazu Hirata <kazu@hxi.com>
* h8300.h: Fix formatting.
Alan Modra [Thu, 22 Mar 2001 02:27:54 +0000 (02:27 +0000)]
paddq and psubq support.
Kevin Buettner [Thu, 22 Mar 2001 02:11:11 +0000 (02:11 +0000)]
* ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
than two instead of generating an error.
Jim Blandy [Thu, 22 Mar 2001 01:01:05 +0000 (01:01 +0000)]
*** empty log message ***
Jim Blandy [Thu, 22 Mar 2001 00:58:00 +0000 (00:58 +0000)]
* cp-valprint.c: Bring formatting into line with GNU coding standards.
Diego Novillo [Thu, 22 Mar 2001 00:29:15 +0000 (00:29 +0000)]
2001-03-21 Diego Novillo <dnovillo@redhat.com>
(_bfd_mips_elf_relocate_section): Give a better error message when
a relocation is not recognized.
Mark Kettenis [Wed, 21 Mar 2001 21:22:49 +0000 (21:22 +0000)]
Make Linux use the new unified support for hardware breakpoints
and watchpoints on x86 targets.
* i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
[HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
(DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
appropriate value if not already defined.
(register_u_addr): New function.
(kernel_u_size): New function.
(i386_linux_dr_get, i386_linux_dr_set): New functions.
(i386_linux_dr_set_control, i386_linux_dr_set_addr,
i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
* config/i386/nm-linux.h: Don't include "nm-i386v.h".
(I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
(TARGET_HAS_HARDWARE_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Remove macros.
(i386_stopped_by_watchpoint, i386_insert_watchpoint,
i386_remove_watchpoint): Remove prototypes.
(register_u_addr): New prototype.
(REGISTER_U_ADDR): Define in terms of register_u_addr.
(i386_linux_dr_set_control, i386_linux_dr_set_addr,
i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
(I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
* config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
i386-nat.o.
Jim Blandy [Wed, 21 Mar 2001 20:51:16 +0000 (20:51 +0000)]
* gdb/linespec.c (find_methods): Whitespace differences aren't
significant in *un*mangled method names. Use strcmp_iw to compare
them, not STREQ. (Fix from Daniel Berlin.)
* gdb/testsuite/gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
unmangled operator names.
DJ Delorie [Wed, 21 Mar 2001 20:12:30 +0000 (20:12 +0000)]
merge from gcc
Andrew Cagney [Wed, 21 Mar 2001 19:47:44 +0000 (19:47 +0000)]
* gdbarch.sh: Allow a non- multi-arch target to override a
predicate.
* gdbarch.h: Regenerate.
Andrew Cagney [Wed, 21 Mar 2001 19:25:03 +0000 (19:25 +0000)]
Avoid use of ``if ! program''.
Andrew Cagney [Wed, 21 Mar 2001 18:31:48 +0000 (18:31 +0000)]
* target.h (enum target_signal): Move definition from here.
* defs.h (enum target_signal): To here.
* config/arc/tm-arc.h (arc_software_single_step): Change type of
first parameter to enum target_signal.
* config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
* config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Update.
Michael Chastain [Wed, 21 Mar 2001 17:53:42 +0000 (17:53 +0000)]
2001-03-20 Michael Chastain <chastain@redhat.com>
* Makefile.in: all-m4 depends on all-texinfo.
Andrew Cagney [Wed, 21 Mar 2001 16:42:39 +0000 (16:42 +0000)]
* frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
already defined.
From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
or a reference ('a') can be in a pseudo register.
* infcmd.c (do_registers_info): Must take into account the pseudo
registers to print their value.
(registers_info): Likewise.
* stack.c (frame_info): Likewise.
* frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
Eli Zaretskii [Wed, 21 Mar 2001 11:39:23 +0000 (11:39 +0000)]
* gdbint.texinfo (Algorithms): New section "Watchpoints" and new
subsection "x86 Watchpoints".
(Target Architecture Definition): Document
I386_USE_GENERIC_WATCHPOINTS and TARGET_HAS_HARDWARE_WATCHPOINTS.
(Native Debugging): Document I386_USE_GENERIC_WATCHPOINTS.
Eli Zaretskii [Wed, 21 Mar 2001 11:36:58 +0000 (11:36 +0000)]
Unified support for hardware breakpoints and watchpoints on
x86 targets:
* config/i386/nm-i386.h: New file.
* config/i386/nm-i386.h: (i386_cleanup_dregs)
(i386_insert_watchpoint, i386_remove_watchpoint)
(i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
(i386_stopped_data_address, i386_insert_hw_breakpoint)
(i386_remove_hw_breakpoint): Declare prototypes.
[I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Define if not already defined.
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
(STOPPED_BY_WATCHPOINT, target_stopped_data_address)
(target_insert_watchpoint, target_remove_watchpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
to call the appropriate i386_* functions.
* i386-nat.c: New file.
* i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
(I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
(I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
(dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
(maint_show_dr): New variables.
(i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
(i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
(i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
(i386_remove_watchpoint, i386_region_ok_for_watchpoint)
(i386_stopped_data_address, i386_stopped_by_hwbp)
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
functions.
(_initialize_i386_nat): New function.
[I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
`show-debug-regs', sets maint_show_dr to non-zero value and
activates debugging print-outs in functions which insert, remove,
and test watchpoints and hardware breakpoints.
* Makefile.in (i386-nat.o): New target.
(ALLDEPFILES): Add i386-nat.o.
Mark Kettenis [Wed, 21 Mar 2001 11:22:24 +0000 (11:22 +0000)]
* i386-tdep.c: Add back _initialize_i386_tdep prototype with
appropriate comment.
Alan Modra [Wed, 21 Mar 2001 08:09:25 +0000 (08:09 +0000)]
Prevent NULL pointer dereference.
Kevin Buettner [Tue, 20 Mar 2001 21:40:47 +0000 (21:40 +0000)]
Update Linux/Alpha port to use new Linux threads support.