OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago2001-02-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 7 Feb 2001 01:11:18 +0000 (01:11 +0000)]
2001-02-06  Fernando Nasser  <fnasser@redhat.com>

Originally from Martin Hunt <hunt@redhat.com>, with modifications
* library/srcwin.itb (_name): Check for errors when invoking
gdb_find_file.
* library/srctextwin.itb (_mtime_changed, location): Ditto.
* generic/gdbtk-cmds.c (gdb_find_file_command): Better error checking.
(full_lookup_symtab): Fix misleading comment.

23 years ago* configure: Output host type to stdout, not stderr.
DJ Delorie [Wed, 7 Feb 2001 01:06:43 +0000 (01:06 +0000)]
* configure: Output host type to stdout, not stderr.

23 years ago * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
Michael Sokolov [Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)]
* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
fprintf_filtered with correct arguments.

23 years ago2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
Michael Snyder [Tue, 6 Feb 2001 20:05:42 +0000 (20:05 +0000)]
2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
Submitted by Paul Hilfinger (hilfingr@gnat.com)
and Andrei Petrov (and@genesyslab.com).
* findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
must be allocated dynamically, since these are no longer constants.
* infcmd.c: Ditto.
* regcache.c: Ditto.
* remote.c: Ditto.
* sol-thread.c: Ditto.
* valops.c: Ditto.
* config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
work-around for a missing Sun header file in solaris for sparc64.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 6 Feb 2001 19:59:06 +0000 (19:59 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
* config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
GET_THREAD_SIGNALS): Define.
* arm-linux-nat.c (fill_gregset): Correct type of argument.
(supply_gregset): Likewise.
(fill_fpregset): Likewise.
(supply_fpregset): Likewise.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:43:19 +0000 (19:43 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
checking.
(pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
external_PEI_IMAGE_hdr.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:35:48 +0000 (19:35 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.

23 years ago2001-02-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 6 Feb 2001 19:04:20 +0000 (19:04 +0000)]
2001-02-06  Kazu Hirata  <kazu@hxi.com>

* elf-m10200.c: Fix formatting.

23 years ago * valops.c (value_cast): If casting a scalar to a pointer, do not
David Taylor [Tue, 6 Feb 2001 18:07:48 +0000 (18:07 +0000)]
* valops.c (value_cast): If casting a scalar to a pointer, do not
  issue a message about truncation unless it exceeds the length of
  an address, not the length of a pointer.  This is because what the
  user gives us is an address, not a pointer, and we will ultimately
  convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
  to a pointer.  This allows things like "print *(int *)0x01000234"
  to work without generating a misleading message on a target having
  two byte pointers and four byte addresses.

23 years agoFix spacing.
Christopher Faylor [Tue, 6 Feb 2001 05:04:40 +0000 (05:04 +0000)]
Fix spacing.

23 years ago* win32-nat.c: Change PTR to void * throughout.
Christopher Faylor [Tue, 6 Feb 2001 05:01:04 +0000 (05:01 +0000)]
* win32-nat.c: Change PTR to void * throughout.

23 years ago* signals.h: Removed.
J.T. Conklin [Tue, 6 Feb 2001 04:17:03 +0000 (04:17 +0000)]
* signals.h: Removed.
* event-top.c (#include <signal.h>): Changed from signals.h.
* inflow.c: Likewise.
* mac-xdep.c: Likewise.
* ser-pipe.c: Likewise.
* ser-tcp.c: Likewise.
* standalone.c: Likewise.
* top.c: Likewise.
* utils.c: Likewise.
* Makefile.in: Removed signals.h from dependencies.

23 years agoChange suggested by Dean Luick <luick@cray.com>
Christopher Faylor [Tue, 6 Feb 2001 04:03:23 +0000 (04:03 +0000)]
Change suggested by Dean Luick <luick@cray.com>
* inferior.h (step_over_calls_kind): Remove trailing comma from last enum
element.
(step_over_calls): Declare as extern rather than global.

23 years agoRevert accidental breakage from Nick's 2000-12-16 checkin.
Jim Wilson [Tue, 6 Feb 2001 02:42:20 +0000 (02:42 +0000)]
Revert accidental breakage from Nick's 2000-12-16 checkin.
* ia64-asmtab.c: Revert 2000-12-16 change.

23 years ago2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 6 Feb 2001 02:00:44 +0000 (02:00 +0000)]
2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

      * sh-tdep.c: Update copyright.
      (sh_extract_return_value): Rewrite.
      (sh3e_sh4_extract_return_value): New function.
      (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
      version of the function for sh3e and sh4 CPUs.

23 years ago2001-02-05 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 5 Feb 2001 21:09:21 +0000 (21:09 +0000)]
2001-02-05  Michael Chastain  <chastain@redhat.com>

* hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
to conform with interface change.

23 years ago2001-02-04 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 5 Feb 2001 02:24:55 +0000 (02:24 +0000)]
2001-02-04  Fernando Nasser  <fnasser@redhat.com>

* library/plugins/plugins.tcl: Fix typos and remove "-transient"
parameter from open command.
* library/plugins/HOW-TO: New file.  Describes how to add a plug-in
window to Insight.

23 years agoDo not convert reloc addend to PC rel, it will be handled later on.
Nick Clifton [Sun, 4 Feb 2001 22:14:19 +0000 (22:14 +0000)]
Do not convert reloc addend to PC rel, it will be handled later on.

23 years ago * config.guess: Import from subversions.gnu.org (revision 1.181).
Michael Sokolov [Sun, 4 Feb 2001 18:17:30 +0000 (18:17 +0000)]
* config.guess: Import from subversions.gnu.org (revision 1.181).
* config.sub: Import from subversions.gnu.org (revision 1.199).

23 years ago * config/djgpp/fnchange.lst: Tweak to make consistent with the
Eli Zaretskii [Sun, 4 Feb 2001 07:56:38 +0000 (07:56 +0000)]
* config/djgpp/fnchange.lst: Tweak to make consistent with the
new files.

23 years ago * config/djgpp/djconfig.sh: Use explicit absolute file name when
Eli Zaretskii [Sun, 4 Feb 2001 07:52:33 +0000 (07:52 +0000)]
* config/djgpp/djconfig.sh: Use explicit absolute file name when
invoking `find'.

23 years ago * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
Eli Zaretskii [Sun, 4 Feb 2001 07:48:18 +0000 (07:48 +0000)]
* ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
UART_FIFO_WORKS is defined.  Otherwise use outportb.
From Francisco Pastor <fpastor.etra-id@etra.es>

23 years ago * go32-nat.c (go32_xfer_memory): Make the argument list consistent
Eli Zaretskii [Sun, 4 Feb 2001 07:24:57 +0000 (07:24 +0000)]
* go32-nat.c (go32_xfer_memory): Make the argument list consistent
with target.h's to_xfer_memory member.

23 years agoFix typo
Nick Clifton [Sat, 3 Feb 2001 00:53:10 +0000 (00:53 +0000)]
Fix typo

23 years ago Binutils portion of fix for syntax array elements when max
Patrick Macdonald [Fri, 2 Feb 2001 23:04:40 +0000 (23:04 +0000)]
Binutils portion of fix for syntax array elements when max
operands is greater than 127.

2001-02-02  Patrick Macdonald  <patrickm@redhat.com>

* cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short.
(CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES.
(CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS.

* fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
* m32r-desc.h: Regenerate.

23 years ago* ppc-bdm.c (#include <signal.h>): Removed.
J.T. Conklin [Fri, 2 Feb 2001 23:04:14 +0000 (23:04 +0000)]
* ppc-bdm.c (#include <signal.h>): Removed.
* remote-array.c: Likewise.
* remote-bug.c: Likewise.
* remote-e7000.c: Likewise.
* remote-mips.c: Likewise.
* remote-os9k.c: Likewise.
* remote-st.c: Likewise.
* remote-udi.c: Likewise.
* remote-vx29k.c: Likewise.
* remote-vx68.c: Likewise.
* remote-vx960.c: Likewise.
* remote-vxmips.c: Likewise.
* remote-vxsparc.c: Likewise.

23 years agomerge from gcc
DJ Delorie [Fri, 2 Feb 2001 20:08:59 +0000 (20:08 +0000)]
merge from gcc

23 years agoChanged free() to xfree() where appropriate. Also changed Copyright to
John R. Moore [Fri, 2 Feb 2001 20:01:16 +0000 (20:01 +0000)]
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.

23 years ago* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
John R. Moore [Fri, 2 Feb 2001 19:37:48 +0000 (19:37 +0000)]
* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
Also changed Copyright to include 2001.

23 years ago* monitor.c (#include "gdb_wait.h"): Removed.
J.T. Conklin [Fri, 2 Feb 2001 19:14:33 +0000 (19:14 +0000)]
* monitor.c (#include "gdb_wait.h"): Removed.
* ocd.c: Likewise.
* ppc-bdm.c: Likewise.
* remote-adapt.c: Likewise.
* remote-array.c: Likewise.
* remote-bug.c: Likewise.
* remote-e7000.c: Likewise.
* remote-eb.c: Likewise.
* remote-es.c: Likewise.
* remote-mips.c: Likewise.
* remote-mm.c: Likewise.
* remote-nindy.c: Likewise.
* remote-os9k.c: Likewise.
* remote-rdi.c: Likewise.
* remote-rdp.c: Likewise.
* remote-sds.c: Likewise.
* remote-sim.c: Likewise.
* remote-st.c: Likewise.
* remote-udi.c: Likewise.
* remote-vx.c: Likewise.
* remote-vx29k.c: Likewise.
* remote-vx68.c: Likewise.
* remote-vx960.c: Likewise.
* remote-vxmips.c: Likewise.
* remote-vxsparc.c: Likewise.
* remote.c: Likewise.
* ser-pipe.c: Likewise.
* ser-unix.c: Likewise.
* Makefile.in: Updated dependencies.
-------------------------------------------------------------------

23 years agomerge from gcc
DJ Delorie [Fri, 2 Feb 2001 18:58:51 +0000 (18:58 +0000)]
merge from gcc

23 years ago2001-02-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 2 Feb 2001 02:41:45 +0000 (02:41 +0000)]
2001-02-01  Fernando Nasser  <fnasser@redhat.com>

* library/images/insight.gif: New splash screen/about graphics.
* library/images2/insight.gif: New splash screen/about graphics.
* library/about.tcl: Update copyright, window title and change colors
to match new splash screen/about images.

23 years ago2001-02-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 1 Feb 2001 22:56:27 +0000 (22:56 +0000)]
2001-02-01  Fernando Nasser  <fnasser@redhat.com>

* library/gdbtoolbar.itcl (add): New method.  Emulate the style of the
toolbar iwidget commands.
(toolbar_show): Old name.
        (show): New name.
(toolbar_create_button): Old name.
        (create): New name.
(toolbar_configure_button): Old name.
        (itemconfigure): New name.
        (toolbar_bind_button): Old name.
        (itembind): New name.
        (toolbar_set_button_balloon): Old name.
        (itemballoon): New name.
        (toolbar_add_button): Make private.
        (toolbar_add_label): Ditto.
        (toolbar_add_button_separator): Ditto.
(toolbar_remove_button): Ditto.
(tollbar_insert_button): Ditto.
* library/srcbar.itcl: Adjust to the above syntax.
* library/plugins/rhabout/rhabout.itcl: Ditto.

23 years ago2001-02-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 1 Feb 2001 21:03:43 +0000 (21:03 +0000)]
2001-02-01  Fernando Nasser  <fnasser@redhat.com>

* library/gdbmenubar.itcl (constructor): Remove unused code.
(add): New method.  Emulate the style of the menubar iwidget commands.
(menubar_show): Old name.
(show): New name.
(menubar_menu_exists): Old name.
(exists): New name.
(menubar_clear_menu): Old name.
(clear): New name.
(menubar_delete_menu): Old name.
        (delete): New name.
(menubar_new_menu): Make private.  Does not return anything.
(menubar_add_menu_command): Make private.
(menubar_add_menu_separator): Ditto.
(menubar_change_menu_state): Ditto.
* library/srcbar.itcl: Adjust to the above syntax.
* library/plugins/plugins.tcl: Ditto.
* library/plugins/rhabout/rhabout.itcl: Ditto.

23 years agoAdd parentheses ready for future conbtribution
Nick Clifton [Thu, 1 Feb 2001 20:56:35 +0000 (20:56 +0000)]
Add parentheses ready for future conbtribution

23 years agoUpdate base address register after restoring register bank.
Nick Clifton [Thu, 1 Feb 2001 20:39:51 +0000 (20:39 +0000)]
Update base address register after restoring register bank.

23 years ago2001-02-01 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 1 Feb 2001 19:35:29 +0000 (19:35 +0000)]
2001-02-01  Kazu Hirata  <kazu@hxi.com>

* elf-m10300.c: Fix formatting.

23 years ago2001-02-01 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 1 Feb 2001 17:59:38 +0000 (17:59 +0000)]
2001-02-01  Fernando Nasser  <fnasser@redhat.com>

* library/pluginwin.itcl (contrucdtor, destructor): Use "code" to
specify callbacks.
(running, stopped, no_inferior): Make it a protected method.
(childsite): Explicitly mark as a public method.
* library/plugins/rhabout/rhabout.itcl (constructor): Add a label
widget to show status messages.
(running, stopped): Overload versions of the base class; display
status messages as an example.

23 years ago * (dis386_att, grps): Use 'T' for push/pop
Jan Hubicka [Thu, 1 Feb 2001 15:30:55 +0000 (15:30 +0000)]
* (dis386_att, grps): Use 'T' for push/pop
(putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax

23 years agov850-elf target is now building.
Jonathan Larmour [Thu, 1 Feb 2001 07:00:53 +0000 (07:00 +0000)]
v850-elf target is now building.

23 years ago * Makefile.in (gencode): Link with libopcodes in build tree rather
Jonathan Larmour [Thu, 1 Feb 2001 06:56:29 +0000 (06:56 +0000)]
* Makefile.in (gencode): Link with libopcodes in build tree rather
than building source files from there.

23 years ago2001-01-31 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 1 Feb 2001 04:56:29 +0000 (04:56 +0000)]
2001-01-31  Fernando Nasser  <fnasser@redhat.com>

* library/pluginwin.itcl: New file.  Implements the PluginWindow
class that provides some basic functionality for plug-ins.
* library/plugins/rhabout/rhabout.itcl: Inherit from the new
PluginWindow class.  Remove code dependent on ModalDlg.
(constructor): Creates menus and a toolbar to show how these
PluginWindow components are used.
* library/tclIndex: Regenerate.

23 years ago2001-01-31 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 1 Feb 2001 04:54:11 +0000 (04:54 +0000)]
2001-01-31  Fernando Nasser  <fnasser@redhat.com>

* library/pluginwin.itcl: New file.  Implements the PluginWindow
class that provides some basic functionality for plug-ins.
* library/plugins/rhabout/rhabout.itcl: Inherit from the new
PluginWindow class.  Remove code dependent on ModalDlg.
(constructor): Creates menus and a toolbar to show how these
PluginWindow components are used.

23 years agoDetect installation of SWI vector by running program as well as loading program.
Nick Clifton [Thu, 1 Feb 2001 00:14:40 +0000 (00:14 +0000)]
Detect installation of SWI vector by running program as well as loading program.

23 years ago2001-01-31 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 31 Jan 2001 23:37:20 +0000 (23:37 +0000)]
2001-01-31  Fernando Nasser  <fnasser@redhat.com>

* library/plugins/rhabout.tcl: Add load for optional sample C command
procedure.
* library/plugins/rhabout/rhabout.itcl (constructor): Try calling
optional sample C command procedure rhabout_extra_text.
* library/plugins/rhabout/rhabout.c: New file. Implement an example
plug-in shared library with a sample C command procedure.
* library/plugins/rhabout/Makefile: New file. Makefile for the sample
shared library above (Linux only).

23 years ago2001-01-31 David Smith <dsmith@redhat.com>
David Smith [Wed, 31 Jan 2001 15:46:36 +0000 (15:46 +0000)]
2001-01-31  David Smith  <dsmith@redhat.com>

* event-loop.c: Change inclusion of string.h to gdb_string.h and
updated the copyright notice.
* ser-pipe.c: Ditto.
* mi/mi-cmds.c: Ditto.
* mi/mi-console.c: Ditto.
* mi/mi-getopt.c: Ditto.
* mi/mi-parse.c: Ditto.

23 years ago2001-01-31 David Smith <dsmith@redhat.com>
David Smith [Wed, 31 Jan 2001 15:03:45 +0000 (15:03 +0000)]
2001-01-31  David Smith  <dsmith@redhat.com>

* MAINTAINERS: Add David Smith to Write After Approval list.

23 years ago(elf64_hppa_object_p): Set architecture and machine from elf header flags.
Alan Modra [Wed, 31 Jan 2001 13:28:50 +0000 (13:28 +0000)]
(elf64_hppa_object_p): Set architecture and machine from elf header flags.

23 years agoMove putchar_filtered() to utils.c.
Andrew Cagney [Wed, 31 Jan 2001 03:46:23 +0000 (03:46 +0000)]
Move putchar_filtered() to utils.c.

23 years ago2001-01-28 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 31 Jan 2001 03:04:21 +0000 (03:04 +0000)]
2001-01-28  Fernando Nasser  <fnasser@redhat.com>

* library/plugins: New directory.  Sample plug-in directory to help
developers of Insight plug-ins.  See README file in that directory.
* library/plugins/plugins.tcl: New file. Sample version of a code
fragment file which adds entries to the PlugIn menu of the Source
Window to activate custom plug-in windows.
* library/plugins/pkgIndex.tcl: New file.  Sample version of a file
with package information for the installed plug-ins.
* library/plugins/rhabout.tcl: New file. Sample file providing a
plug-in package.
* library/plugins/rhabout: New directory.  Sample plug-in.
* library/plugins/rhabout/rhabout.itcl: New file.  Sample class
implementing a plug-in window.
* library/plugins/rhabout/tclIndex: New file.  Tcl index for the sample
plug-in implementation.

23 years agoCleanup autoconfigury of vfork().
Andrew Cagney [Wed, 31 Jan 2001 02:08:23 +0000 (02:08 +0000)]
Cleanup autoconfigury of vfork().

23 years agoReplace strsave() with xstrdup().
Andrew Cagney [Wed, 31 Jan 2001 01:24:03 +0000 (01:24 +0000)]
Replace strsave() with xstrdup().

23 years ago* cli/cli-script.c (define_command): Check for a bad hook value in
Andrew Cagney [Wed, 31 Jan 2001 00:50:01 +0000 (00:50 +0000)]
* cli/cli-script.c (define_command): Check for a bad hook value in
switch statement.

23 years ago* configure/sh/embed.mt: New file.
J.T. Conklin [Tue, 30 Jan 2001 23:37:07 +0000 (23:37 +0000)]
* configure/sh/embed.mt: New file.
* configure/sh/linux.mt: New file.
* configure/sh/sh.mt: Removed.
* configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
(sh-*-*): Removed.

23 years ago* interp.c (sim_create_inferior): Record program arguments for
Alexandre Oliva [Tue, 30 Jan 2001 23:03:56 +0000 (23:03 +0000)]
* interp.c (sim_create_inferior): Record program arguments for
later inspection by the trap handler.
(count_argc): New function.
(prog_argv): Declare static.
(sim_write): Declare.
(trap): Implement argc, argnlen and argn system calls. Do not
abort on unknown system calls--simply return -1.
* syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.

23 years agoReplace blanked lines from earlier commit with comment stating that
Kevin Buettner [Tue, 30 Jan 2001 22:18:21 +0000 (22:18 +0000)]
Replace blanked lines from earlier commit with comment stating that
the reason why the space is empty.

23 years agoRemove unused printf() definition.
Kevin Buettner [Tue, 30 Jan 2001 16:45:23 +0000 (16:45 +0000)]
Remove unused printf() definition.

23 years agoWrite out millicode functions with the right elf symbol type.
Alan Modra [Tue, 30 Jan 2001 13:40:08 +0000 (13:40 +0000)]
Write out millicode functions with the right elf symbol type.

23 years ago * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
Richard Henderson [Tue, 30 Jan 2001 09:52:27 +0000 (09:52 +0000)]
    * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
        before mdebug.

23 years agoRemoved files structs3.c structs3.exp.
Michael Chastain [Tue, 30 Jan 2001 04:48:50 +0000 (04:48 +0000)]
Removed files structs3.c structs3.exp.
These were added by accident.  Whoops!

23 years ago2001-01-29 Michael Chastain <chastain@redhat.com>
Michael Chastain [Tue, 30 Jan 2001 02:49:36 +0000 (02:49 +0000)]
2001-01-29  Michael Chastain  <chastain@redhat.com>

* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
symbol comparisons in binary search.

23 years agoHandle hppa64-linux systems.
Alan Modra [Tue, 30 Jan 2001 02:17:40 +0000 (02:17 +0000)]
Handle hppa64-linux systems.

23 years ago2001-01-28 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sun, 28 Jan 2001 23:49:43 +0000 (23:49 +0000)]
2001-01-28  Michael Chastain  <chastain@redhat.com>

* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
to call when tests fail.  It takes gdb out of the overloaded
function choice menu back to the main prompt, so that the test
program stays synchronized.
(set_bp_overloaded): New proc to collect all the common
code for setting a breakpoint on an overloaded name.  Calls
take_gdb_out_of_choice_menu when needed.
(menu_overload1arg): New variable to collect the repeated
instances of the expected menu for an overloaded name. Change
the regular expression to handle changes in g++ type encoding:
"void" can be either "void" or "", and "unsigned int" can be
either "unsigned int" or "unsigned".
(continue_to_bp_overloaded): Change regular expressions to handle
changes in g++ type encoding.
(no proc): Call take_gdb_out_of_choice_menu when needed.
Remove redundant calls to "info break".  Accept either "canceled"
or "cancelled".  Change regular expressions in "info break"
calls to handle changes in g++ type encoding.  Give all tests
unique strings.

23 years ago2001-01-28 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 28 Jan 2001 18:52:48 +0000 (18:52 +0000)]
2001-01-28  Fernando Nasser  <fnasser@redhat.com>

* library/main.tcl: Add plugin subdirectory, if existent, to auto_path.
* library/srcbar.itcl (create_plugin_menu): New method.  Create a pull
down menu for plugins if there are any for this target configuration.
(create_menu_items): Invoke the new method above.

23 years ago2001-01-28 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 28 Jan 2001 18:39:00 +0000 (18:39 +0000)]
2001-01-28  Fernando Nasser  <fnasser@redhat.com>

* library/gdbmenubar.itcl (menubar_new_menu): Save lable of a menu to
use as index.
(menubar_delete_menu): New function.  Delete a menu.

23 years ago2001-01-28 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 28 Jan 2001 18:08:58 +0000 (18:08 +0000)]
2001-01-28  Fernando Nasser  <fnasser@redhat.com>

* library/gdbmenubar.itcl (menu_list): Add missing declararion for
global variable.

23 years ago2001-01-28 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 28 Jan 2001 18:06:29 +0000 (18:06 +0000)]
2001-01-28  Fernando Nasser  <fnasser@redhat.com>

* library/gdbmenubar.itcl (set_class_state): Turn off verbose debug
messages.
* library/gdbtoolbar.itcl (set_class_state): Ditto.

23 years ago2001-01-27 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sat, 27 Jan 2001 22:18:15 +0000 (22:18 +0000)]
2001-01-27  Fernando Nasser  <fnasser@redhat.com>

From Momchil Velikov  <velco@fadata.bg>
* mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory
attributes argument in the call to `xfer_memory'.

23 years ago * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Michael Sokolov [Sat, 27 Jan 2001 19:36:45 +0000 (19:36 +0000)]
* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Don't unset, it's non-portable and no longer necessary, set to empty
instead.

23 years ago * ltconfig: Shell portability fix for the tagname validity check.
Michael Sokolov [Sat, 27 Jan 2001 19:34:13 +0000 (19:34 +0000)]
* ltconfig: Shell portability fix for the tagname validity check.

23 years ago* win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23
Christopher Faylor [Sat, 27 Jan 2001 19:32:32 +0000 (19:32 +0000)]
* win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23
change.

23 years ago * ltcf-cxx.sh: Use parentheses around eval $ac_compile.
Michael Sokolov [Sat, 27 Jan 2001 19:29:31 +0000 (19:29 +0000)]
* ltcf-cxx.sh: Use parentheses around eval $ac_compile.

23 years ago* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
Alexandre Oliva [Sat, 27 Jan 2001 19:22:59 +0000 (19:22 +0000)]
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

23 years ago* ui-out.c (do_list_end): New function.
Mark Kettenis [Sat, 27 Jan 2001 17:57:53 +0000 (17:57 +0000)]
* ui-out.c (do_list_end): New function.
(make_cleanup_ui_out_list_end): New function.
* ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
* stack.c (print_frame) [UI_OUT]: Call
make_cleanup_ui_out_list_end to make sure we mark the end of the
list if we do a non-local exit.  At the end of the function,
instead of calling ui_out_list_end directly, let do_cleanups
handle it.

23 years agoRemove extraneous tab from the blank line after the most recent entry
Michael Sokolov [Sat, 27 Jan 2001 17:28:11 +0000 (17:28 +0000)]
Remove extraneous tab from the blank line after the most recent entry

23 years ago2001-01-26 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sat, 27 Jan 2001 00:50:29 +0000 (00:50 +0000)]
2001-01-26  Fernando Nasser  <fnasser@redhat.com>

        * generic/gdbtk-cmds.c (gdb_clear_file): Call exec_file_clear() and
        symbol_file_clear() instead of exec_file_command() and
        symbol_file_command().
        (gdb_find_file_command): Return the proper error text.

23 years ago2001-01-26 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sat, 27 Jan 2001 00:43:26 +0000 (00:43 +0000)]
2001-01-26  Fernando Nasser  <fnasser@redhat.com>

        Fix double parsing of filenames passed as command line arguments
        to GDB (causes weird handling of escape characters).
        Also, remove dependencies on the CLI from libgdb.
        * call-cmds.h: Remove declaration of exec_file_command().
        * gdbcore.h: Remove declaration of exec_file_command().
        Add declarations for exec_open() and exec_file_clear().
        * symfile.h: Add declarations for symbol_file_add_main() and
        symbol_file_clear().
        * exec.c (exec_open): New function. Implements to_open for exec
        targets.
        (exec_file_clear): New function. Makes GDB forget about a previously
        specified executable file.
        (exec_file_attach): Move parsing of arguments from here ...
        (exec_file_command): ... to here.
        (init_exec_ops): Use exec_open(), not exec_file_command() to
        implement to_open for exec targets.
        * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()        with default values.  Used when the file name has already been parsed.
        (symbol_file_clear): New function. Makes GDB forget about previously
        read symbols.
        (symbol_file_command): Call the above function instead of inline code.
        * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
        "call-cmds.h".
        (captured_main): Call exec_file_attach() and symbol_file_add_main()
        instead of exec_file_command() and symbol_file_command().
        (captured_main): Add comment.
        * corefile.c: Include "symfile.h".
        (core_file_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        (reopen_exec_file): Call exec_open() instead of exec_file_command().
        * infcmd.c: Include "symfile.h".
        (attach_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        * infrun.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (follow_exec): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-es.c: Include "symfile.h".
        (es1800_load): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-vx.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (vx-wait): Call symbol_file_add_main() instead of
        symbol_file_command().
        * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
        instead of symbol_file_command().
        * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
        symbol_file_add_main() instead of exec_file_command() and
        symbol_file_command().
        * Makefile.in: Update dependencies.

23 years ago * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
Richard Henderson [Sat, 27 Jan 2001 00:04:09 +0000 (00:04 +0000)]
    * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
        for non-default visibility.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
        delete ugly macro and replace with pretty function.

23 years ago2001-01-24 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Fri, 26 Jan 2001 19:47:23 +0000 (19:47 +0000)]
2001-01-24  Jeff Holcomb  <jeffh@redhat.com>

        * remote-udi.c (udi_open): Change strdup to xstrdup.
        * thread.c (thread_apply_all_command): Change strdup to xstrdup.
        Update copyright message.
        * varobj.c (delete_variable_1): Likewise.

        * gdb_string.h: Remove declaration of strdup.  Update copyright
        message.
        * config/xm-mpw.h: Likewise.
        * config/i386/xm-i386mach.h: Likewise.
        * config/m68k/xm-apollo68b.h: Likewise.
        * config/m68k/xm-hp300bsd.h: Likewise.
        * config/rs6000/xm-rs6000.h: Likewise.
        * config/vax/xm-vaxult.h: Remove declaration of strdup.
        * config/vax/xm-vaxult2.h: Likewise.

23 years ago2001-01-26 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Fri, 26 Jan 2001 19:40:21 +0000 (19:40 +0000)]
2001-01-26  Jeff Holcomb  <jeffh@redhat.com>

        * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.

23 years ago* target.c (target_xfer_memory_partial): Return -1 on failure due
J.T. Conklin [Fri, 26 Jan 2001 02:30:15 +0000 (02:30 +0000)]
* target.c (target_xfer_memory_partial): Return -1 on failure due
to invalid access mode attribute.

23 years ago* win32-nat.c (_initialize_core_win32): Prototype correctly.
Christopher Faylor [Thu, 25 Jan 2001 22:35:01 +0000 (22:35 +0000)]
* win32-nat.c (_initialize_core_win32): Prototype correctly.

23 years agoDJGPP config tweaks
Nick Clifton [Thu, 25 Jan 2001 21:08:10 +0000 (21:08 +0000)]
DJGPP config tweaks

23 years ago2001-01-25 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 25 Jan 2001 20:17:45 +0000 (20:17 +0000)]
2001-01-25  Kazu Hirata  <kazu@hxi.com>

* bfd-in2.h: Fix formatting.
* libbfd.h: Likewise.

23 years ago2001-01-25 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 25 Jan 2001 20:12:49 +0000 (20:12 +0000)]
2001-01-25  Kazu Hirata  <kazu@hxi.com>

* chew.c: Do not output trailing whitespaces in type and
functionname.  Update copyright.

23 years ago* config/alpha/tm-fbsd.h: Update copyright.
Mark Kettenis [Thu, 25 Jan 2001 18:41:23 +0000 (18:41 +0000)]
* config/alpha/tm-fbsd.h: Update copyright.
(USE_STRUCT_CONVENTION): Define in terms of
alphabsd_use_struct_convention.
* config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
* alphafbsd-tdep.c: New file.

23 years ago2001-01-25 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 18:29:09 +0000 (18:29 +0000)]
2001-01-25  Fernando Nasser  <fnasser@redhat.com>

* library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar
for the Source Window (code previously in srcmenubar.itcl and
srctoolbar.itcl).
* library/srcmenubar.itcl: Remove obsolete file.
* library/srctoolbar.itcl: Remove obsolete file.
* library/srcbar.tcl: Remove obsolete file.
* library/gdbmenubar.itcl (menubar_show): New method. Associate the
menu with the toplevel window.
        * library/srcwin.itb (_build_win): Use SrcBar.
* library/tclIndex: Regenerate.

23 years ago2001-01-25 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 17:49:22 +0000 (17:49 +0000)]
2001-01-25  Fernando Nasser  <fnasser@redhat.com>

* library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar
for the Source Window (code previously in srcmenubar.itcl and
srctoolbar.itcl).
* library/srcmenubar.itcl: Remove obsolete file.
* library/srctoolbar.itcl: Remove obsolete file.
* library/srcbar.tcl: Remove obsolete file.
        * library/srcwin.itb (_build_win): Use SrcBar.
* library/tclIndex: Regenerate.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 16:35:05 +0000 (16:35 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change
strsave() to xstrdup().

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 15:19:30 +0000 (15:19 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

* top.c (print_gdb_version): Update Copyright year.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 03:04:41 +0000 (03:04 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change
strsave() to xstrdup().

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 25 Jan 2001 03:01:38 +0000 (03:01 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

From  Martin Hunt  <hunt@cygnus.com>
* generic/gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Fix call
to xfer_memory().

23 years ago2001-01-24 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 24 Jan 2001 22:38:31 +0000 (22:38 +0000)]
2001-01-24  Kazu Hirata  <kazu@hxi.com>

* chew.c: Do not output a trailing whitespace.

23 years ago* dcache.c (dcache_write_line): Fix typo.
J.T. Conklin [Wed, 24 Jan 2001 21:01:02 +0000 (21:01 +0000)]
* dcache.c (dcache_write_line): Fix typo.

* memattr.c (delete_mem_region): Replace free() with xfree().
(mem_number): Add explicit type.

* sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
(rw_common): Likewise.

23 years ago* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
Alexandre Oliva [Wed, 24 Jan 2001 20:09:37 +0000 (20:09 +0000)]
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.

23 years ago2001-01-24 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 24 Jan 2001 16:28:20 +0000 (16:28 +0000)]
2001-01-24  Fernando Nasser  <fnasser@redhat.com>

        * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
        for the inferior program arguments.
        (run_command, run_no_args_command, init_infcmd)): Use accessor
        functions to set the inferior program arguments.
        * inferior.h: Add definitions to the accessor functions above.

23 years ago* interp.c (trap): Implement time.
Alexandre Oliva [Wed, 24 Jan 2001 13:17:01 +0000 (13:17 +0000)]
* interp.c (trap): Implement time.

23 years agoFix swapgs instruction.
Alan Modra [Wed, 24 Jan 2001 07:32:34 +0000 (07:32 +0000)]
Fix swapgs instruction.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 24 Jan 2001 04:56:29 +0000 (04:56 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Rebuild.

23 years ago* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
Alexandre Oliva [Wed, 24 Jan 2001 02:27:02 +0000 (02:27 +0000)]
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.