aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-03-31merge from gccDJ Delorie2-1/+10
2001-03-31* i386bsd-nat.c: Include "gdb_assert.h".Mark Kettenis7-384/+549
[HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not already defined. [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New functions. * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS] (I386_USE_GENERIC_WATCHPOINTS): Define. Include "i386/nm-i386.h". (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros. (i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes. * acconfig.h (HAVE_PT_GETDBREGS): New configure macro. * configure.in: Cleanup a few comments. Check for PT_GETDBREGS ptrace request. * config.in, configure: Regenerate.
2001-03-31* i386-nat.c (i386_insert_aligned_watchpoint): Set addressMark Kettenis2-2/+7
register before enabling it by setting the control register. (i386_remove_aligned_watchpoint): Reset address register after disabling it by setting the control register.
2001-03-31* i386-tdep.c (i386_extract_return_value): If the type of theMark Kettenis2-2/+20
return value is TYPE_STRUCT and the number of fields is one, call ourselves with TYPE set tp the type of the first field. (i386_store_return_value): Likewise. This fixes a problem with returning structs consisting of a single `float' or `double' on *BSD.
2001-03-31Fix conditional assembly listings when more than one .else/.elsifAlan Modra6-57/+93
2001-03-312001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+19
* binutils-all/readelf.exp: Run on more ELF targets.
2001-03-312001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+7
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-31* cond.c (s_endif): Correct handling of "if .. elseif .." trees.Alan Modra2-14/+19
Don't abort on NULL current_cframe.
2001-03-30* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped untilMark Kettenis2-4/+7
we're absolutely sure we're going to resume it.
2001-03-30* thread-db.c (check_event): Don't report an error if we encounterMark Kettenis2-4/+12
a thread creation event for a thread that's already in the thread list, since that may legitemately happen. Instead only call attach_thread if it's not already in the thread list.
2001-03-302001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+11
* gas/i386/relax.d: Dump with -s instead of -drw.
2001-03-302001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ... (PEI_DEFAULT_TARGET_SUBSYSTEM): This.
2001-03-30* ppc-opc.c (insert_mbe): Shift mask initializer as long.Alexandre Oliva2-1/+5
2001-03-30Pass finalize_syms on calls to resolve_symbol_value.Alan Modra10-22/+36
2001-03-30Missing ChangeLog for dwarf2dbg.c warning fixes.Alan Modra1-0/+2
2001-03-30Multi-pass relaxation machinery.Alan Modra6-34/+107
2001-03-30* dlltool.c (make_one_lib_file): Fix section flags forDJ Delorie2-10/+25
.text, .data and .bss in stub ds*.o files to match those generated by gas.
2001-03-302001-03-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+11
* readelf.c (process_unwind): Only do unwind sections for IA64.
2001-03-302001-03-29 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+34
* gas/i386/relax.s: New test for relaxation between sections. * gas/i386/relax.d: New. * gas/i386/i386.exp: Add tests for ELF.
2001-03-30Prepare for multi-pass relaxation.Alan Modra10-145/+183
2001-03-29Clarify ChangeLog entryHans-Peter Nilsson1-2/+2
2001-03-29 * config/tc-cris.h (tc_fix_adjustable): Allow onlyHans-Peter Nilsson3-9/+19
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs. * config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in example to valid.
2001-03-28* config/pa/xm-hppah.h (malloc): Really delete declarationAndrew Cagney5-9/+12
(MALLOC_INCOMPATIBLE): Really delete macro. * cli/cli-cmds.c (apropos_command): Use xcalloc.
2001-03-28Gag -Wuninitialized warnings.Andrew Cagney11-397/+440
Add -Wuninitialized to default warning list.
2001-03-28Fix -Werror probs for ns32k.Andrew Cagney4-2/+28
2001-03-282001-03-28 H.J. Lu <hjl@gnu.org>H.J. Lu3-15/+6
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target. * Makefile.in: Regenerate.
2001-03-28merge from gccDJ Delorie2-0/+5
2001-03-282001-03-28 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+14
* read.c (equals): Set to local for COFF only if it hasn't been defined before.
2001-03-28Default hppa64 to ".level 2.0w"Alan Modra2-2/+13
2001-03-28* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here fromMark Kettenis3-40/+53
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.
2001-03-28* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code andMark Kettenis2-27/+41
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.
2001-03-28* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace callMark Kettenis2-0/+16
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.
2001-03-28merge from gccDJ Delorie2-1/+5
2001-03-28* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.Alexandre Oliva2-1/+5
2001-03-27* Comment tweak.Ben Elliston1-4/+4
2001-03-27* arch-utils.c (#include "gdbthread.h"): Removed.J.T. Conklin30-71/+63
(#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. -------------------------------------------------------------------
2001-03-27Allow for the possibility that the local labels won't be in the objdump output.Nick Clifton2-5/+15
2001-03-27(for COFF) default symbols to being local.Nick Clifton2-0/+10
2001-03-27Add missing double quoteNick Clifton2-1/+5
2001-03-27 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() insteadKevin Buettner2-1/+6
of free().
2001-03-27(Cleanups): Remove the item about converting docs to GFDL.Eli Zaretskii2-13/+4
2001-03-27 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.Kevin Buettner2-2/+5
2001-03-27* as.texinfo (Fill): Replace "result" with "repeat".Ben Elliston1-1/+1
2001-03-27 * configure.in (cris-*-*): Change default emulation to criself.Hans-Peter Nilsson3-245/+264
(cris-*-*aout*): New rule. * configure: Regenerate.
2001-03-27Fix problems encountered in compiling ia64-tdep.c with IBM's compiler.Kevin Buettner2-4/+11
2001-03-27 * configure.tgt (cris-*-*): Change default emulation to criself.Hans-Peter Nilsson2-1/+9
(cris-*-*aout*): New rule.
2001-03-27Remove ATTRIBUTE_UNUSED in the last patch.H.J. Lu2-2/+2
2001-03-27Add AIX5 procfs support.Kevin Buettner5-290/+775
2001-03-272001-03-26 H.J. Lu <hjl@gnu.org>H.J. Lu3-0/+75
* 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.
2001-03-27Add new step-line test.Kevin Buettner5-1/+231