OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years agoAdd missing ChangeLog entry.
Christopher Faylor [Fri, 6 Apr 2001 19:23:33 +0000 (19:23 +0000)]
Add missing ChangeLog entry.

23 years ago2001-04-06 David Smith <dsmith@redhat.com>
David Smith [Fri, 6 Apr 2001 17:53:39 +0000 (17:53 +0000)]
2001-04-06  David Smith  <dsmith@redhat.com>

* arch-utils.c (default_prepare_to_proceed)
(generic_prepare_to_proceed): Added new functions.
* arch-utils.h: New function declarations for
default_prepare_to_proceed() and generic_prepare_to_proceed().
* gdbarch.sh: Added PREPARE_TO_PROCEED.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* inferior.h: Added get_last_target_status() declaration.
* infrun.c (get_last_target_status): Added new function.
(handle_inferior_event): Saves last pid and waitstatus, which will
get returned by get_last_target_status().

* hppa-tdep.c (prepare_to_proceed):  Added comment stating that
prepare_to_proceed() is potentially redundant since
default_prepare_to_proceed() has been added.
* linux-thread.c (prepare_to_proceed): Ditto.
* lin-lwp.c (prepare_to_proceed): Ditto.
* m3-nat.c (prepare_to_proceed): Ditto.

23 years agoObsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
Andrew Cagney [Fri, 6 Apr 2001 16:25:22 +0000 (16:25 +0000)]
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 6 Apr 2001 13:14:55 +0000 (13:14 +0000)]
2001-04-06  Fernando Nasser  <fnasser@redhat.com>

* buildsym.c (record_line): Turn off unused addr bits.

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 6 Apr 2001 12:09:30 +0000 (12:09 +0000)]
2001-04-06  Fernando Nasser  <fnasser@redhat.com>

From David Deephanphongs <deephan@telocity.com>
* inferior.h:   Fix declarations of get_inferior_args and
set_inferior_args, which were missing the trailing 's'.

23 years ago * i386-dis.c: Add ffreep instruction.
Andreas Jaeger [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)]
* i386-dis.c: Add ffreep instruction.

23 years ago2001-04-05 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Fri, 6 Apr 2001 00:37:30 +0000 (00:37 +0000)]
2001-04-05  David Mosberger  <davidm@hpl.hp.com>

* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
ordinary "progbits" section.

23 years ago * cris.h (enum cris_insn_version_usage): Correct comment for
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:35:17 +0000 (19:35 +0000)]
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.

23 years ago2001-04-05 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Thu, 5 Apr 2001 17:44:06 +0000 (17:44 +0000)]
2001-04-05  Jeff Holcomb  <jeffh@redhat.com>

        * monitor.c (monitor_supply_register): Only report an error if we
        don't get a valid value.

23 years ago * README: Don't mention gdba.el.
Eli Zaretskii [Thu, 5 Apr 2001 16:52:30 +0000 (16:52 +0000)]
* README: Don't mention gdba.el.

23 years ago2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 5 Apr 2001 15:19:42 +0000 (15:19 +0000)]
2001-04-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From  Jimmy Guo  <guo@cup.hp.com>
        * top.c (init_main): set prompt if annotation_level>1,
        this is necessary when annotation_level is set to 2 via
        --annotate=2 command line option.

23 years agoObsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
Andrew Cagney [Thu, 5 Apr 2001 14:49:29 +0000 (14:49 +0000)]
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.

23 years ago* main.c: Remove windows.h use.
Christopher Faylor [Thu, 5 Apr 2001 02:02:14 +0000 (02:02 +0000)]
* main.c: Remove windows.h use.
(gdbtk_test): Use PATH_MAX for home var calculation.
* remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in
test.
* ser-tcp.c: Use modern __CYGWIN__ conditional.
* source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
(openp): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* gdbtk/generic/gdbtk.c: Ditto.

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 5 Apr 2001 00:04:45 +0000 (00:04 +0000)]
2001-04-04  Martin M. Hunt  <hunt@redhat.com>

* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 5 Apr 2001 00:04:28 +0000 (00:04 +0000)]
2001-04-04  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-hooks.c (gdbtk_fileopen): New function.
Initialize ui_file stuff for gdbtk.
(gdbtk_fputs): Don't print if gdbtk_disable_fputs. Send
stdlog and stdtarg to their handler functions.

* generic/gdbtk.c (Gdbtk_Init): Don't set gdb_stdlog
and gdb_stdtarg to gdb_stdout,
(gdbtk_init): Unset gdbtk_disable_fputs
when ready to accept output from gdb. Remove references to
fputs_unfiltered_hook.

* generic/gdbtk.h: Declare new flag gdbtk_disable_fputs.

* generic/gdbtk-cmds.c (gdb_restore_fputs): Instead of setting
fputs_unfiltered_hook, set the new flag gdbtk_disable_fputs.

* library/prefs.tcl (pref_set_defaults): Add defaults
for log_fg and target_fg.

* library/interface.tcl (gdbtk_tcl_fputs_error): Use
err_tag.
(gdbtk_tcl_fputs_log): New function. Write log messages
to console.
(gdbtk_tcl_fputs_target): New function. Write target
IO to console.

* library/console.ith (einsert): Add tag parameter.

* library/console.itb (_build_win): Add new tags for log
and target IO.
(einsert): Add tag parameter.

23 years ago* i386-tdep.c (i386_extract_return_value): Don't return the return
Mark Kettenis [Wed, 4 Apr 2001 15:09:46 +0000 (15:09 +0000)]
* i386-tdep.c (i386_extract_return_value): Don't return the return
value of a void function.
(i386_store_return_value): Likewise.

23 years agomerge from gcc
DJ Delorie [Wed, 4 Apr 2001 01:16:27 +0000 (01:16 +0000)]
merge from gcc

23 years ago * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
Alan Modra [Wed, 4 Apr 2001 00:31:37 +0000 (00:31 +0000)]
* elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
when -Bsymbolic causes a symbol to no longer need a .plt entry.

23 years agoObsolete w65-*-* target.
Andrew Cagney [Tue, 3 Apr 2001 21:56:01 +0000 (21:56 +0000)]
Obsolete w65-*-* target.

23 years agoObsolete tic80.
Andrew Cagney [Tue, 3 Apr 2001 21:14:37 +0000 (21:14 +0000)]
Obsolete tic80.

23 years ago2001-04-03 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Tue, 3 Apr 2001 14:45:43 +0000 (14:45 +0000)]
2001-04-03  David Mosberger  <davidm@hpl.hp.com>

* efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.

23 years ago* remote-mips.c (S_IROTH): Moved definition from here.
J.T. Conklin [Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)]
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.

23 years ago* remote.c (remote_protocol_e, remote_protocol_E): Define.
J.T. Conklin [Tue, 3 Apr 2001 01:42:17 +0000 (01:42 +0000)]
* remote.c (remote_protocol_e, remote_protocol_E): Define.
(set_remote_protocol_e_packet_cmd)
(set_remote_protocol_E_packet_cmd)
(show_remote_protocol_e_packet_command)
(show_remote_protocol_E_packet_command): New functions.
(init_all_packet_configs): Initialize remote_protocol_e and
remote_protocol_E.
(remote_resume, remote_async_resume): Support e/E command
packets.
(show_remote_cmd): Show state of remote_protocol_e and
remote_protocol_E.
(_initialize_remote): Add "set remote step-over-range-packet"
and "set remote step-over-range-w-signal-packet" to CLI.
-------------------------------------------------------------------

23 years ago2001-04-02 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 2 Apr 2001 23:30:26 +0000 (23:30 +0000)]
2001-04-02  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-cmds.c (gdb_loadfile): Adjust size of text_argv
array to prevent writing out of range. Remove unused variables.
Fix formatting.
(gdb_get_tracepoint_info): Remove unused variable "fname".
(gdb_load_disassembly): Remove unused variable "widget".
(gdb_loc): Remove unused variable "sym".
(gdb_set_bp_addr): Remove unused variable "line".
(gdb_get_breakpoint_info): Remove unused variable "sym".
(get_frame_name): Remove unused variable "name".

23 years agoObsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
Andrew Cagney [Mon, 2 Apr 2001 20:57:26 +0000 (20:57 +0000)]
Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
ns32k-utek-*.

23 years ago * config/djgpp/fnchange.lst: Tweak due to
Eli Zaretskii [Mon, 2 Apr 2001 17:16:11 +0000 (17:16 +0000)]
* config/djgpp/fnchange.lst: Tweak due to
expect/example/chesslib.c.

23 years agoMake --target=m88k buildable again.
Kevin Buettner [Mon, 2 Apr 2001 14:47:22 +0000 (14:47 +0000)]
Make --target=m88k buildable again.

23 years ago * gdb.texinfo (Tracepoint Actions): Mention the "info scope"
Eli Zaretskii [Mon, 2 Apr 2001 08:58:19 +0000 (08:58 +0000)]
* gdb.texinfo (Tracepoint Actions): Mention the "info scope"
command and provide a cross-reference to its description.
(Symbols): Note that "info scope" is useful for trace experiments.

23 years ago* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
Alexandre Oliva [Mon, 2 Apr 2001 01:32:45 +0000 (01:32 +0000)]
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.

23 years ago2001-03-20 Daniel Berlin <dberlin@redhat.com>
Daniel Berlin [Sun, 1 Apr 2001 19:50:50 +0000 (19:50 +0000)]
2001-03-20  Daniel Berlin  <dberlin@redhat.com>

* symtab.c (completion_list_add_name): Remove duplicate string checks,
readline already does this, and it's much faster at it, too.

23 years ago * go32-nat.c: Minor tweaks, to pacify the ari script.
Eli Zaretskii [Sun, 1 Apr 2001 14:01:52 +0000 (14:01 +0000)]
    * go32-nat.c: Minor tweaks, to pacify the ari script.

23 years ago* i386-tdep.c (i386_extract_struct_value_address): New function.
Mark Kettenis [Sun, 1 Apr 2001 12:39:52 +0000 (12:39 +0000)]
* i386-tdep.c (i386_extract_struct_value_address): New function.
* 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.

23 years ago* i386-linux-nat.c (i386_linux_dr_get): Change type of return
Mark Kettenis [Sun, 1 Apr 2001 10:48:48 +0000 (10:48 +0000)]
* i386-linux-nat.c (i386_linux_dr_get): Change type of return
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.

23 years ago * gdb.texinfo (Symbols): Document "info scope".
Eli Zaretskii [Sun, 1 Apr 2001 09:15:21 +0000 (09:15 +0000)]
* gdb.texinfo (Symbols): Document "info scope".
(Tracepoints): New chapter.
(Contributors): Update for v5.1.
<All nodes>: Change "C++" to "C@t{++}".

23 years ago * gdbint.texinfo (User Interface): A new section about ui_out
Eli Zaretskii [Sun, 1 Apr 2001 09:07:08 +0000 (09:07 +0000)]
* gdbint.texinfo (User Interface): A new section about ui_out
functions, based on text written by Fernando Nasser.

23 years agoChange Permissions to GFDL. Update Copyright.
Eli Zaretskii [Sun, 1 Apr 2001 09:04:44 +0000 (09:04 +0000)]
Change Permissions to GFDL.  Update Copyright.

23 years agoRevert change to config/ia64/linux.mh in which core-regset.h was
Kevin Buettner [Sat, 31 Mar 2001 23:07:10 +0000 (23:07 +0000)]
Revert change to config/ia64/linux.mh in which core-regset.h was
removed from NATDEPFILES.

23 years ago * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
Kevin Buettner [Sat, 31 Mar 2001 22:55:25 +0000 (22:55 +0000)]
* config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
from list.

23 years agoMake hardware watchpoint support work again on Linux/IA-64.
Kevin Buettner [Sat, 31 Mar 2001 21:53:39 +0000 (21:53 +0000)]
Make hardware watchpoint support work again on Linux/IA-64.

23 years agomerge from gcc
DJ Delorie [Sat, 31 Mar 2001 19:05:20 +0000 (19:05 +0000)]
merge from gcc

23 years ago* i386bsd-nat.c: Include "gdb_assert.h".
Mark Kettenis [Sat, 31 Mar 2001 18:09:03 +0000 (18:09 +0000)]
* i386bsd-nat.c: Include "gdb_assert.h".
[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.

23 years ago* i386-nat.c (i386_insert_aligned_watchpoint): Set address
Mark Kettenis [Sat, 31 Mar 2001 17:40:04 +0000 (17:40 +0000)]
* i386-nat.c (i386_insert_aligned_watchpoint): Set address
register before enabling it by setting the control register.
(i386_remove_aligned_watchpoint): Reset address register after
disabling it by setting the control register.

23 years ago* i386-tdep.c (i386_extract_return_value): If the type of the
Mark Kettenis [Sat, 31 Mar 2001 13:05:16 +0000 (13:05 +0000)]
* i386-tdep.c (i386_extract_return_value): If the type of the
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.

23 years ago* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
Mark Kettenis [Fri, 30 Mar 2001 19:45:19 +0000 (19:45 +0000)]
* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
we're absolutely sure we're going to resume it.

23 years ago* thread-db.c (check_event): Don't report an error if we encounter
Mark Kettenis [Fri, 30 Mar 2001 19:36:35 +0000 (19:36 +0000)]
* thread-db.c (check_event): Don't report an error if we encounter
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.

23 years ago2001-03-30 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 30 Mar 2001 16:08:34 +0000 (16:08 +0000)]
2001-03-30  H.J. Lu  <hjl@gnu.org>

* efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
(PEI_DEFAULT_TARGET_SUBSYSTEM): This.

23 years ago* ppc-opc.c (insert_mbe): Shift mask initializer as long.
Alexandre Oliva [Fri, 30 Mar 2001 07:36:27 +0000 (07:36 +0000)]
* ppc-opc.c (insert_mbe): Shift mask initializer as long.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 29 Mar 2001 22:42:17 +0000 (22:42 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* library/variable.tcl (update): Cope with varobj type changes.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 29 Mar 2001 22:33:29 +0000 (22:33 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* library/variable.tcl (destructor): Remove file_changed_hook hook.

23 years ago2001-03-29 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 29 Mar 2001 22:17:45 +0000 (22:17 +0000)]
2001-03-29  Fernando Nasser  <fnasser@redhat.com>

* gdbtk-varobj.c (variable_obj_command): Do not cache varobj handles as
they may change -- use varobj_get_handle() instead.

23 years ago* config/pa/xm-hppah.h (malloc): Really delete declaration
Andrew Cagney [Wed, 28 Mar 2001 23:21:43 +0000 (23:21 +0000)]
* config/pa/xm-hppah.h (malloc): Really delete declaration
(MALLOC_INCOMPATIBLE): Really delete macro.
* cli/cli-cmds.c (apropos_command): Use xcalloc.

23 years agoGag -Wuninitialized warnings.
Andrew Cagney [Wed, 28 Mar 2001 21:42:32 +0000 (21:42 +0000)]
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.

23 years agoFix -Werror probs for ns32k.
Andrew Cagney [Wed, 28 Mar 2001 21:26:07 +0000 (21:26 +0000)]
Fix -Werror probs for ns32k.

23 years agomerge from gcc
DJ Delorie [Wed, 28 Mar 2001 17:38:43 +0000 (17:38 +0000)]
merge from gcc

23 years ago* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
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.

23 years ago* gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
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.

23 years ago* i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
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.

23 years agomerge from gcc
DJ Delorie [Wed, 28 Mar 2001 05:02:47 +0000 (05:02 +0000)]
merge from gcc

23 years ago* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
Alexandre Oliva [Wed, 28 Mar 2001 01:19:29 +0000 (01:19 +0000)]
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.

23 years ago* Comment tweak.
Ben Elliston [Tue, 27 Mar 2001 21:37:47 +0000 (21:37 +0000)]
* Comment tweak.

23 years ago* arch-utils.c (#include "gdbthread.h"): Removed.
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.
-------------------------------------------------------------------

23 years agoAdd missing double quote
Nick Clifton [Tue, 27 Mar 2001 17:23:47 +0000 (17:23 +0000)]
Add missing double quote

23 years ago * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
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().

23 years ago(Cleanups): Remove the item about converting docs to GFDL.
Eli Zaretskii [Tue, 27 Mar 2001 07:09:01 +0000 (07:09 +0000)]
(Cleanups): Remove the item about converting docs to GFDL.

23 years ago * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
Kevin Buettner [Tue, 27 Mar 2001 06:23:25 +0000 (06:23 +0000)]
* solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.

23 years agoFix problems encountered in compiling ia64-tdep.c with IBM's compiler.
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.

23 years agoRemove ATTRIBUTE_UNUSED in the last patch.
H.J. Lu [Tue, 27 Mar 2001 02:05:18 +0000 (02:05 +0000)]
Remove ATTRIBUTE_UNUSED in the last patch.

23 years agoAdd AIX5 procfs support.
Kevin Buettner [Tue, 27 Mar 2001 02:01:11 +0000 (02:01 +0000)]
Add AIX5 procfs support.

23 years ago2001-03-26 H.J. Lu <hjl@gnu.org>
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.

23 years agoAdd new step-line test.
Kevin Buettner [Tue, 27 Mar 2001 01:32:45 +0000 (01:32 +0000)]
Add new step-line test.

23 years ago * symtab.c (find_pc_sect_line): Revise method used for finding
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.

23 years agooops - omitted from previous delta
Nick Clifton [Mon, 26 Mar 2001 21:42:48 +0000 (21:42 +0000)]
oops - omitted from previous delta

23 years ago* i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
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.

23 years agoCorrect/clarify credit for C++ work.
Jim Blandy [Mon, 26 Mar 2001 18:39:33 +0000 (18:39 +0000)]
Correct/clarify credit for C++ work.

23 years agoMark m88k as known to be broken.
Andrew Cagney [Mon, 26 Mar 2001 18:06:43 +0000 (18:06 +0000)]
Mark m88k as known to be broken.

23 years ago* fork-child.c (clone_and_follow_inferior): Delete #ifdef
Andrew Cagney [Mon, 26 Mar 2001 16:44:32 +0000 (16:44 +0000)]
* fork-child.c (clone_and_follow_inferior): Delete #ifdef
HAVE_VFORK.

23 years ago* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
Mark Kettenis [Mon, 26 Mar 2001 12:25:31 +0000 (12:25 +0000)]
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.

23 years ago* i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
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.

23 years ago * gdbint.texinfo: Change Permissions to GFDL. Update Copyright.
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.

23 years ago * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
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.

23 years ago * gdb.texinfo (Output Formats): Mention "info symbol" and provide
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".

23 years agoFix the date of the last entry.
Eli Zaretskii [Mon, 26 Mar 2001 11:30:03 +0000 (11:30 +0000)]
Fix the date of the last entry.

23 years ago * config/djgpp/djconfig.sh: Add copyright notice.
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.

23 years ago*** empty log message ***
Jim Blandy [Mon, 26 Mar 2001 04:03:26 +0000 (04:03 +0000)]
*** empty log message ***

23 years ago* mips-tdep.c (mips_gdbarch_init): Tweak indentation.
Jim Blandy [Mon, 26 Mar 2001 04:01:53 +0000 (04:01 +0000)]
* mips-tdep.c (mips_gdbarch_init): Tweak indentation.

23 years ago2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

23 years ago2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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''.

23 years agoAutomate generate on man pages
Nick Clifton [Sun, 25 Mar 2001 20:32:26 +0000 (20:32 +0000)]
Automate generate on man pages

23 years agoSmall tweaks to sse2 instructions.
Alan Modra [Sat, 24 Mar 2001 06:29:16 +0000 (06:29 +0000)]
Small tweaks to sse2 instructions.

23 years agoRevert previous change, committed to trunk accidentally.
Jim Blandy [Sat, 24 Mar 2001 03:23:20 +0000 (03:23 +0000)]
Revert previous change, committed to trunk accidentally.

23 years agoA single-file branch to help me keep things straight while adapting
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.

23 years ago* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
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.

23 years agoRe-vamp the register code so that a lot more is routed through
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.

23 years agoRemove extraneous whitespace
Nick Clifton [Sat, 24 Mar 2001 00:46:00 +0000 (00:46 +0000)]
Remove extraneous whitespace

23 years agoFix compile time warnings.
Nick Clifton [Sat, 24 Mar 2001 00:45:11 +0000 (00:45 +0000)]
Fix compile time warnings.

23 years ago* stabsread.c (read_cpp_abbrev): Properly construct the names of
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.

23 years agomerge from gcc
DJ Delorie [Fri, 23 Mar 2001 23:57:50 +0000 (23:57 +0000)]
merge from gcc

23 years ago* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
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.

23 years agoFix -Werror -Wuninitialized warnings.
Andrew Cagney [Fri, 23 Mar 2001 22:48:44 +0000 (22:48 +0000)]
Fix -Werror -Wuninitialized warnings.

23 years agoAdd note about inability to use "make distclean" in maintainer mode.
Nick Clifton [Fri, 23 Mar 2001 18:06:17 +0000 (18:06 +0000)]
Add note about inability to use "make distclean" in maintainer mode.