aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-04-02Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* andAndrew Cagney21-974/+1015
ns32k-utek-*.
2001-04-02 * config/djgpp/fnchange.lst: Tweak due toEli Zaretskii2-0/+6
expect/example/chesslib.c.
2001-04-02Make --target=m88k buildable again.Kevin Buettner4-16/+27
2001-04-02 * gdb.texinfo (Tracepoint Actions): Mention the "info scope"Eli Zaretskii2-0/+14
command and provide a cross-reference to its description. (Symbols): Note that "info scope" is useful for trace experiments.
2001-04-012001-03-20 Daniel Berlin <dberlin@redhat.com>Daniel Berlin2-24/+5
* symtab.c (completion_list_add_name): Remove duplicate string checks, readline already does this, and it's much faster at it, too.
2001-04-01 * go32-nat.c: Minor tweaks, to pacify the ari script.Eli Zaretskii2-3/+16
2001-04-01* i386-tdep.c (i386_extract_struct_value_address): New function.Mark Kettenis3-4/+23
* config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine in terms of i386_extract_struct_value_address. (i386_extract_struct_value_address): New prototype.
2001-04-01* i386-linux-nat.c (i386_linux_dr_get): Change type of returnMark Kettenis3-8/+22
value to `unsigned long'. Change type of `value' to `unsigned long'. (i386_linux_dr_set): Change type of second argument to `unsigned long'. (i386_linux_dr_set_control): Change type of first argument to `unsigned long'. (i386_linux_dr_get_status): Change type of return value to unsigned long. * config/i386/nm-linux.h (i386_linux_dr_set_control, i386_linux_dr_get_status): Adjust prototypes accordingly.
2001-04-01 * gdb.texinfo (Symbols): Document "info scope".Eli Zaretskii2-147/+796
(Tracepoints): New chapter. (Contributors): Update for v5.1. <All nodes>: Change "C++" to "C@t{++}".
2001-04-01 * gdbint.texinfo (User Interface): A new section about ui_outEli Zaretskii2-0/+586
functions, based on text written by Fernando Nasser.
2001-04-01Change Permissions to GFDL. Update Copyright.Eli Zaretskii2-18/+26
2001-03-31Revert change to config/ia64/linux.mh in which core-regset.h wasKevin Buettner2-4/+2
removed from NATDEPFILES.
2001-03-31 * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.oKevin Buettner2-2/+5
from list.
2001-03-31Make hardware watchpoint support work again on Linux/IA-64.Kevin Buettner2-1/+6
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-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-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-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-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-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-27Fix problems encountered in compiling ia64-tdep.c with IBM's compiler.Kevin Buettner2-4/+11
2001-03-27Add AIX5 procfs support.Kevin Buettner5-290/+775
2001-03-27Add new step-line test.Kevin Buettner5-1/+231
2001-03-27 * symtab.c (find_pc_sect_line): Revise method used for findingKevin Buettner2-4/+16
the ending pc.
2001-03-26* i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,Mark Kettenis3-16/+38
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.
2001-03-26Correct/clarify credit for C++ work.Jim Blandy1-1/+9
2001-03-26Mark m88k as known to be broken.Andrew Cagney3-3/+13
2001-03-26* fork-child.c (clone_and_follow_inferior): Delete #ifdefAndrew Cagney2-4/+5
HAVE_VFORK.
2001-03-26* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.Mark Kettenis2-0/+3
2001-03-26* i386-tdep.c (i386_push_arguments, i386_store_struct_return): NewMark Kettenis4-14/+47
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.
2001-03-26 * gdbint.texinfo: Change Permissions to GFDL. Update Copyright.Eli Zaretskii7-253/+245
* 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.
2001-03-26 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unusedEli Zaretskii2-46/+3
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2001-03-26 * gdb.texinfo (Output Formats): Mention "info symbol" and provideEli Zaretskii2-0/+26
a cross-reference to its description. (Symbols): Document "info symbol".
2001-03-26Fix the date of the last entry.Eli Zaretskii1-1/+1
2001-03-26 * config/djgpp/djconfig.sh: Add copyright notice.Eli Zaretskii4-50/+99
* 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.
2001-03-26*** empty log message ***Jim Blandy1-0/+4
2001-03-26* mips-tdep.c (mips_gdbarch_init): Tweak indentation.Jim Blandy1-1/+1
2001-03-262001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-2/+17
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.
2001-03-262001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-2/+14
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''.
2001-03-24Revert previous change, committed to trunk accidentally.Jim Blandy1-5/+5