OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago * hashtab.h (struct htab): Add member return_allocation_failure.
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:48:51 +0000 (07:48 +0000)]
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype.  Mention which functions may
return NULL when this is used.

23 years agoProtoization.
Kevin Buettner [Sat, 4 Nov 2000 00:46:46 +0000 (00:46 +0000)]
Protoization.

23 years agoIn new_symbol(), relocate symbol address by base address of the section
Kevin Buettner [Fri, 3 Nov 2000 22:38:38 +0000 (22:38 +0000)]
In new_symbol(), relocate symbol address by base address of the section
it is in instead of using the base address of the .text section.

23 years ago* TODO: Note abstraction layer violation where "ocd reset" command
J.T. Conklin [Fri, 3 Nov 2000 22:00:56 +0000 (22:00 +0000)]
* TODO: Note abstraction layer violation where "ocd reset" command
must invalidate the dcache, and how this might be fixed.

* monitor.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(monitor_open): Removed code that created local dcache.
(flush_monitor_dcache): Removed (unused function).
(monitor_resume): Removed call to dcache_invd().
(monitor_load): Likewise.
(monitor_xfer_memory): Changed to call monitor_write_memory(),
monitor_write_memory_block(), and monitor_read_memory() instead
of dcache_xfer_memory().
* monitor.h (flush_monitor_dcache): Removed (unused function).
* ocd.c (#include "dcache.h"): Removed.
(ocd_dcache): Removed.
(ocd_open): Removed code that created local dcache.
(ocd_resume): Removed call to dcache_invd().
(ocd_xfer_memory): Changed to call ocd_write_bytes() and
ocd_read_bytes() instead of dcache_xfer_memory().
(bdm_reset_command): Invalidate target dcache.
* remote-bug.c (bug_load): Remove call to dcache_invd().
(bug_resume): Likewise.
(bug_settings): Remove dcache, readfunc, and writefunc fields
from initializer.
(bug_xfer_memory): Changed to call bug_read_memory() and
bug_write_memory() instead of dcache_xfer_memory().
* remote-nindy.c (#include "dcache.h"): Removed.
(nindy_dcache): Removed.
(nindy_open): Removed code that created local dcache.
(nindy_resume): Removed call to dcache_invd().
(nindy_load): Likewise.
(nindy_xfer_inferior_memory): Changed to call ninMemPut() and
ninMemGet() instead of dcache_xfer_memory().
* remote-sds.c (#include "dcache.h"): Removed.
(sds_dcache): Removed.
(sds_open): Removed code that created local dcache.
(sds_resume): Removed call to dcache_invd().
(sds_xfer_memory): Changed to call sds_write_bytes() and
sds_read_bytes() instead of dcache_xfer_memory().
* remote-utils.c (gr_open): Removed code that created local dcache.
* remote-utils.h (#include "dcache.h"): Removed.
(struct gr_settings): Removed dcache, readfunc, and writefunc fields.
(gr_get_dcache, gr_set_dcache): Removed macro definitions.
* remote.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(remote_open_1): Removed code that created local dcache.
(remote_async_open_1): Likewise.
(remote_resume): Removed call to dcache_invd().
(remote_async_resume): Likewise.
(remote_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
* wince.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(child_create_inferior): Removed code that created local dcache.
(child_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
(child_resume): Removed call to dcache_invd().

* target.c (target_dcache): Added.
(target_load): Invalidate target_dcache.
(do_xfer_memory): New function.
(target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
(target_xfer_memory_partial): Likewise.
(initialize_targets): Create target_dcache.
* target.h (#include "dcache.h"): Added.
(target_open): Invalidate target_dcache.
(target_resume): Likewise.
(do_xfer_memory): New declaration.

* dcache.c (dcache_init): Removed reading and writing arguments.
(dcache_struct): Removed read_memory and write_memory fields.
(dcache_write_line): Call do_xfer_memory.
(dcache_read_line): Likewise.
(dcache_xfer_memory): Likewise.
(dcache_invalidate): Renamed from dcache_invd.
(dcache_init): Updated.
(dcache_xfer_memory): Updated.
* dcache.h (memxferfunc): Removed definition.

23 years ago * hashtab.c: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:55:25 +0000 (20:55 +0000)]
* hashtab.c: Change void * to PTR where necessary.
(htab_create, htab_expand): Correct formatting of comment before
function.

23 years ago * hashtab.h: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)]
* hashtab.h: Change void * to PTR where necessary.

23 years ago * objfiles.c (objfile_relocate): Relocate ei.entry_point with
Peter Schauer [Fri, 3 Nov 2000 19:00:06 +0000 (19:00 +0000)]
* objfiles.c (objfile_relocate):  Relocate ei.entry_point with
its section offset, use SECT_OFF_TEXT only as a fallback.

23 years agoAdd --srec-len and --srec-forceS3 switches to objcopy
Nick Clifton [Fri, 3 Nov 2000 01:47:13 +0000 (01:47 +0000)]
Add --srec-len and --srec-forceS3 switches to objcopy

23 years agoAdd support for -storm-chaos
Nick Clifton [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos

23 years agoAdd support for *-storm-chaos target
Nick Clifton [Thu, 2 Nov 2000 23:03:21 +0000 (23:03 +0000)]
Add support for *-storm-chaos target

23 years agoProtoization.
Kevin Buettner [Thu, 2 Nov 2000 03:18:49 +0000 (03:18 +0000)]
Protoization.

23 years agoFixed the partial implementation of the text wrapping option
Larry Smith [Wed, 1 Nov 2000 22:15:37 +0000 (22:15 +0000)]
Fixed the partial implementation of the text wrapping option
in the console window, and added a way to select the new
option from the globalprefs.

23 years ago2000-11-01 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Wed, 1 Nov 2000 15:40:35 +0000 (15:40 +0000)]
2000-11-01  Dave Brolley  <brolley@cygnus.com>

* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option"  to identify the machine to the
assembler, if specified.

23 years ago2000-10-31 Philip Blundell <philb@gnu.org>
Phil Blundell [Wed, 1 Nov 2000 07:20:04 +0000 (07:20 +0000)]
2000-10-31  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.

23 years agoadded instance variable and control logic so the "Run Program" and
Larry Smith [Tue, 31 Oct 2000 20:21:48 +0000 (20:21 +0000)]
added instance variable and control logic so the "Run Program" and
"Continue..." buttons are disabled when the "Exec" target is selected
and nicely framed and labelled separate from other controls.

23 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 31 Oct 2000 19:35:04 +0000 (19:35 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/sh/tm-linux.h: New file.  Include generic tm-linux.h,
plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
the sh target function instead of the default link map offsets.
* config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
Use sh/tm-linux.h instead of sh/tm-sh.h.
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets):
New function.  Construct target-specific link map offsets.
* i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
New function.  Construct target-specific link map offsets.
* config/i386/tm-linux.h: Use above function instead of default.

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
and inclusion of solib.h.  Move up into ../tm-linux.h.
config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.

23 years agoProtoization.
Kevin Buettner [Tue, 31 Oct 2000 05:49:55 +0000 (05:49 +0000)]
Protoization.

23 years agosolib.c relocation improvements
Kevin Buettner [Mon, 30 Oct 2000 23:31:17 +0000 (23:31 +0000)]
solib.c relocation improvements

23 years ago[left out in the previous check-in]
Michael Snyder [Mon, 30 Oct 2000 22:35:46 +0000 (22:35 +0000)]
[left out in the previous check-in]

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

23 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 30 Oct 2000 22:33:32 +0000 (22:33 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

23 years ago* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
J.T. Conklin [Mon, 30 Oct 2000 21:50:58 +0000 (21:50 +0000)]
* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c,
somread.c, tracepoint.c: Fix spelling errors in comments.
* gdbarch.c: Regenerate.

* gnu-nat.c (S_exception_raise_request): Fix typos and spelling
errors in strings.
* m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
* mcore-tdep.c (mcore_analyze_prologue): Likewise.
* mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-rdp.c (handle_swi): Likewise.
* remote-vx.c (vx_load_command): Likewise.
* sh-tdep.c (sh_do_pseudo_register): Likewise.
* sol-thread.c (td_err_string): Likewise.
* symtab.c (decode_line_2): Likewise.
-------------------------------------------------------------------

23 years ago2000-10-19 Josef Ezra <jezra@emc.com>
Michael Snyder [Mon, 30 Oct 2000 21:15:56 +0000 (21:15 +0000)]
2000-10-19  Josef Ezra <jezra@emc.com>

      * ax-gdb.c (gen_struct_ref): while generating data code, cases of
      "collect p1->p2->data" where not covered if p2 is a 'typedefed'
      type. this simple fix should forward the type pointer to the real
      type.

23 years agoAdd noconfigure dirs for m68[hc]{11|12} targets.
Nick Clifton [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.

23 years ago * eval.c (parse_and_eval_long): New function.
David Taylor [Mon, 30 Oct 2000 15:32:51 +0000 (15:32 +0000)]
* eval.c (parse_and_eval_long): New function.
* value.h: Declare it.

* breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
Call parse_and_eval_long, not parse_and_eval_address.
* command.c (do_setshow_command): Ditto.
* infcmd.c (step_1, signal_command, continue_command): Ditto.
* infrun.c (signals_info): Ditto.
* stack.c (set_backtrace_limit_command, backtrace_command_1,
up_silently_base, down_silently_base): Ditto.
* tracepoints.c (tracepoints_info, trace_find_command,
  trace_find_tracepoint_command): Ditto.
* valprint.c (set_radix): Ditto.
* values.c (show_values): Ditto.

23 years agoProtoization.
Kevin Buettner [Sat, 28 Oct 2000 22:15:09 +0000 (22:15 +0000)]
Protoization.

23 years ago2000-10-27 Philip Blundell <philb@gnu.org>
Phil Blundell [Fri, 27 Oct 2000 22:24:52 +0000 (22:24 +0000)]
2000-10-27  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise.  Print an error
message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
all mismatches, not just the first one.

23 years ago* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
J.T. Conklin [Fri, 27 Oct 2000 19:17:57 +0000 (19:17 +0000)]
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.

* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

23 years agoCorrected spelling errors in comments.
David Anderson [Fri, 27 Oct 2000 15:02:42 +0000 (15:02 +0000)]
Corrected spelling errors in comments.
gdbarch.{c,sh} removed a word from a comment.

23 years agoProtoization.
Kevin Buettner [Fri, 27 Oct 2000 01:25:10 +0000 (01:25 +0000)]
Protoization.

23 years agochanged for 100494 - Run Program and Continue from last Stop are now
Larry Smith [Thu, 26 Oct 2000 20:47:57 +0000 (20:47 +0000)]
changed for 100494 - Run Program and Continue from last Stop are now
radiobuttons rather than checkbuttons

23 years ago * attachdlg.itb (list_pids): Use "ps axw" to get pid list
Mo DeJong [Thu, 26 Oct 2000 18:31:38 +0000 (18:31 +0000)]
    * attachdlg.itb (list_pids): Use "ps axw" to get pid list
        when running under Linux. Use string match instead of
        regexp match is ps filter entry.
        * attachdlg.ith (list_pids): Change default argument to "*".

23 years ago2000-10-26 Ben Elliston <bje@redhat.com>
Elena Zannoni [Thu, 26 Oct 2000 16:21:34 +0000 (16:21 +0000)]
2000-10-26  Ben Elliston  <bje@redhat.com>

        * cgen.sh: Handle an isa argument between cpu and mach. Default to
        `all'. Pass `-i' options to cgen applications.
        * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
        cgen-desc): Pass $(isa) to cgen.sh.

23 years ago2000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 26 Oct 2000 16:08:20 +0000 (16:08 +0000)]
2000-10-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* stabsread.c (define_symbol): Update comment.

2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>

      * stabsread.c (define_symbol): Set the type_name of the type
of the new symbol to the symbol name for type symbol, if the
language is Pascal.

23 years ago * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
Peter Schauer [Thu, 26 Oct 2000 07:41:25 +0000 (07:41 +0000)]
* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
New function.
* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
* gdbarch.c, gdbarch.h:  Regenerate.
* valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
unconditionally.

* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
definition.
* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
undef.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
(rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
if not ELFOSABI_LINUX.

23 years agoPlug one of many possible memory leaks in error handling.
Nick Clifton [Wed, 25 Oct 2000 21:53:44 +0000 (21:53 +0000)]
Plug one of many possible memory leaks in error handling.

23 years agoRevert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.
Kevin Buettner [Wed, 25 Oct 2000 20:48:59 +0000 (20:48 +0000)]
Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.

23 years ago Approved by Andrew Cagney <ac131313@cygnus.com>
Fred Fish [Wed, 25 Oct 2000 20:06:30 +0000 (20:06 +0000)]
Approved by Andrew Cagney <ac131313@cygnus.com>
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
the current arch or use zero.

23 years ago * MAINTAINERS: Added self and Andrew for the ppc sim.
Geoffrey Keating [Wed, 25 Oct 2000 18:18:41 +0000 (18:18 +0000)]
* MAINTAINERS: Added self and Andrew for the ppc sim.

23 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 25 Oct 2000 14:19:38 +0000 (14:19 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * ser-unix.c (do_unix_readchar): Coding style improvement only.

23 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 25 Oct 2000 14:16:25 +0000 (14:16 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
        by calling detach_hook, if defined.

23 years agoCall end_symtab() with SECT_OFF_TEXT (objfile).
Kevin Buettner [Tue, 24 Oct 2000 21:13:08 +0000 (21:13 +0000)]
Call end_symtab() with SECT_OFF_TEXT (objfile).

23 years agoRemoved extraneous blank line from one of my entries.
Kevin Buettner [Tue, 24 Oct 2000 20:35:04 +0000 (20:35 +0000)]
Removed extraneous blank line from one of my entries.

23 years agoRestructure my 2000-10-24 solib reorg entry.
Kevin Buettner [Tue, 24 Oct 2000 20:32:38 +0000 (20:32 +0000)]
Restructure my 2000-10-24 solib reorg entry.

23 years agoReorganize solib.c.
Kevin Buettner [Tue, 24 Oct 2000 20:05:36 +0000 (20:05 +0000)]
Reorganize solib.c.

23 years ago2000-10-24 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 24 Oct 2000 18:36:32 +0000 (18:36 +0000)]
2000-10-24  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/commands.exp: Break up long lines, and re-indent.

23 years agoProtoization.
Kevin Buettner [Tue, 24 Oct 2000 17:45:35 +0000 (17:45 +0000)]
Protoization.

23 years ago * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
Geoffrey Keating [Tue, 24 Oct 2000 16:16:43 +0000 (16:16 +0000)]
* ppc-instructions (lfsux): Correct XO field of lfsux instruction.

23 years ago* solib.c (open_symbol_file_object): Update function signature to
Andrew Cagney [Tue, 24 Oct 2000 14:42:21 +0000 (14:42 +0000)]
* solib.c (open_symbol_file_object): Update function signature to
match catch_errors function argument.

23 years agoFrom 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
Andrew Cagney [Tue, 24 Oct 2000 13:10:18 +0000 (13:10 +0000)]
From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
* infttrace.c (get_dictionary_entry_of_page): Function
require_memory_page_dictionary takes no args.

23 years agoDelete gdba.el. More recent gud.el part of standard EMACS distro.
Andrew Cagney [Tue, 24 Oct 2000 05:22:11 +0000 (05:22 +0000)]
Delete gdba.el.  More recent gud.el part of standard EMACS distro.

23 years agoCleanup merge botch.
Andrew Cagney [Tue, 24 Oct 2000 04:11:02 +0000 (04:11 +0000)]
Cleanup merge botch.

23 years agoAdd mail submission addresses for autoconf and config.{guess,sub}.
Ben Elliston [Tue, 24 Oct 2000 01:08:11 +0000 (01:08 +0000)]
Add mail submission addresses for autoconf and config.{guess,sub}.

23 years ago* pendanticism
Ben Elliston [Tue, 24 Oct 2000 01:02:53 +0000 (01:02 +0000)]
* pendanticism

2000-10-24  Ben Elliston  <bje@redhat.com>

* gencode.c (tab): Delimit strings with commas where applicable.

23 years agoCorrected spelling errors in comments
David Anderson [Mon, 23 Oct 2000 22:49:29 +0000 (22:49 +0000)]
Corrected spelling errors in comments

23 years agoFix type in function name.
Fernando Nasser [Mon, 23 Oct 2000 22:45:13 +0000 (22:45 +0000)]
Fix type in function name.

23 years agoFix typo in ChangeLog entry.
Fernando Nasser [Mon, 23 Oct 2000 22:44:07 +0000 (22:44 +0000)]
Fix typo in ChangeLog entry.

23 years ago2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Mon, 23 Oct 2000 22:41:54 +0000 (22:41 +0000)]
2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * gdbtk-hooks.c (x_events): Only process events if the target is
        running.

23 years ago2000-10-23 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 23 Oct 2000 21:46:06 +0000 (21:46 +0000)]
2000-10-23  Fernando Nasser  <fnasser@cygnus.com>

        * util.tcl (find_iwidgets_library): Use the directories that were
        actually searched in the error message.

23 years ago2000-10-13 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 23 Oct 2000 21:39:28 +0000 (21:39 +0000)]
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

        With Steven Johnson <sbjohnson@ozemail.com.au>
        This change fixes part of the possible scenarios where a race condition
        would cause core dumps if there were commands changing registers or
        other target resources in a startup script.
        The remaining scenarios are fixed by a patch to generic.gdbtk.c
        * interface.tcl (gdbtk_update_safe): New function. Like gdbtk_update
        but does nothing if target is running.
        (gdbtk_register_changed): Call the above safe version.
        (gdbtk_memory_changed): Likewise.

23 years ago2000-10-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Mon, 23 Oct 2000 19:59:45 +0000 (19:59 +0000)]
2000-10-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        * gdbtk-variable.c: Removed. Obsolete file.

23 years ago[merge from gcc]
DJ Delorie [Mon, 23 Oct 2000 15:30:54 +0000 (15:30 +0000)]
[merge from gcc]
* cp-demangle.c (string_list_def): Add caret_position and comments.
(result_caret_pos): New macro.
(result_append_string): Rename to...
(result_add_string): ... this, and insert at caret position.
Rename throughout.
(result_append): Rename to...
(result_add): ... this, and insert at caret position.  Rename
throughout.
(result_append_char): Rename to...
(result_add_char): ... this, and insert at caret position.  Rename
throughout.
(result_append_space): Remove.
(string_list_new): Initialize caret position.
(result_add_separated_char): Use caret position.
(result_get_caret): New funtion.
(result_set_caret): Likewise.
(result_shift_caret): Likewise.
(result_previous_char_is_space): Likewise.
(substitution_start): Use caret position.
(substitution_add): Likewise.
(demangling_new): Initialize caret position.
(demangle_encoding): Use caret position.
(demanglin_nested_name): Put CV qualifiers after name.
(demangle_type_ptr): Use switch statement.  Handle pointers to
arrays.  Don't use result_append_space.  Use caret position.
(demangle_type): Emit CV qualifiers after underlying type.  Adjust
call to demangle_array_type.
(demangle_array_type): Add parameter to handle pointers to arrays.

23 years agoProtoization.
Kevin Buettner [Mon, 23 Oct 2000 03:21:06 +0000 (03:21 +0000)]
Protoization.

23 years agoRemove erroneously committed entry.
Christopher Faylor [Sun, 22 Oct 2000 23:56:05 +0000 (23:56 +0000)]
Remove erroneously committed entry.

23 years agogas/
Jakub Jelinek [Fri, 20 Oct 2000 10:38:47 +0000 (10:38 +0000)]
gas/
* config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
instructions to loose any special insn->architecture mask.

* config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
(sparc_md_end, sparc_arch_types, sparc_arch,
sparc_elf_final_processing): Handle v8plusb and v9b architectures.
(sparc_ip): Handle siam mode operands. Support v9b ASRs (and
request v9b architecture if they are used).

bfd/
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
elf32_sparc_object_p, elf32_sparc_final_write_processing):
Support v8plusb.
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
sparc64_elf_object_p): Support v9b.
* archures.c: Declare v8plusb and v9b machines.
* bfd-in2.h: Ditto.
* cpu-sparc.c: Ditto.

include/opcode/
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
Note that '3' is used for siam operand.

opcodes/
* sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
(compute_arch_mask): Add v8plusb and v9b machines.
(print_insn_sparc): siam mode decoding, accept ASRs up to 25.
* opcodes/sparc-opc.c: Support for Cheetah instruction set.
(prefetch_table): Add #invalidate.

23 years agoAdd Fred Fish to the Blanket Write Privs list.
Andrew Cagney [Fri, 20 Oct 2000 08:21:45 +0000 (08:21 +0000)]
Add Fred Fish to the Blanket Write Privs list.

23 years agoProtoization.
Kevin Buettner [Fri, 20 Oct 2000 00:44:49 +0000 (00:44 +0000)]
Protoization.

23 years agoFrom Daniel Berlin <dberlin@redhat.com> :
Christopher Faylor [Fri, 20 Oct 2000 00:15:30 +0000 (00:15 +0000)]
From Daniel Berlin <dberlin@redhat.com> :
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol language to auto
instead of unknown, so it will try to demangle the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.

23 years ago2000-10-19 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 19 Oct 2000 21:46:42 +0000 (21:46 +0000)]
2000-10-19  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/gdbserver.exp:  Rewritten from the ground up, to make it
        compatible with the current dejagnu tree, and to make it work with
        the new "gdbserver" in libremote.

23 years ago* cleanup
Frank Ch. Eigler [Thu, 19 Oct 2000 10:52:52 +0000 (10:52 +0000)]
* cleanup

2000-10-19  Frank Ch. Eigler  <fche@redhat.com>

On advice from Chris G. Demetriou <cgd@sibyte.com>:
* sim-main.h (GPR_CLEAR): Remove unused alternative macro.

23 years agoProtoization.
Kevin Buettner [Wed, 18 Oct 2000 03:29:25 +0000 (03:29 +0000)]
Protoization.

23 years ago2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 17 Oct 2000 20:00:21 +0000 (20:00 +0000)]
2000-10-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
        no floating point support.
        (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
        * gdb.base/call-ar-st.exp: Use above procs to skip tests.
        * gdb.base/call-rt-st.exp: Ditto.
        * gdb.base/call-strs.exp: Ditto.
        * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
        * gdb.base/varargs.exp: Skip entire test if no printf support.
        * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
        * gdb.base/shlib-call.exp: Skip several tests if no printf support.

23 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
Geoffrey Keating [Mon, 16 Oct 2000 20:49:53 +0000 (20:49 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
of a GOT reloc.

23 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
Geoffrey Keating [Mon, 16 Oct 2000 19:52:26 +0000 (19:52 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
(SYMBOL_CALLS_LOCAL): New macro.
(ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
(ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
(ppc_elf_relocate_section): Use flag variable to determine
whether the relocation refers to a local symbol.
Test whether a PLTREL24 reloc will produce a reloc by looking
to see whether a PLT entry was made.

23 years agoChange mask for OC to 0xFE00
Nick Clifton [Mon, 16 Oct 2000 18:18:47 +0000 (18:18 +0000)]
Change mask for OC to 0xFE00

23 years ago * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
Peter Schauer [Mon, 16 Oct 2000 17:19:47 +0000 (17:19 +0000)]
* sparc-tdep.c (sparc_fix_call_dummy):  Improve comments.
Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
in a call dummy works.
(sparc_gdbarch_init):  Fix setting of pc_in_call_dummy, it depends
on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.

23 years agoSpelling changes from Dmitry Sivachenko <dima@Chg.RU>.
Eli Zaretskii [Mon, 16 Oct 2000 07:34:02 +0000 (07:34 +0000)]
Spelling changes from Dmitry Sivachenko <dima@Chg.RU>.

23 years agoProtoization.
Kevin Buettner [Mon, 16 Oct 2000 06:42:28 +0000 (06:42 +0000)]
Protoization.

23 years ago * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
Geoffrey Keating [Sat, 14 Oct 2000 23:30:12 +0000 (23:30 +0000)]
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.

23 years ago2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
Ulf Carlsson [Sat, 14 Oct 2000 04:05:23 +0000 (04:05 +0000)]
2000-10-13  Ulf Carlsson  <ulfc@engr.sgi.com>

From  Ralf Baechle  <ralf@gnu.org>

* elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
local_p.  Add symbol value only for non-R_MIPS_REL32 relocations
against local symbols.
(_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.

23 years ago2000-10-13 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 21:41:21 +0000 (21:41 +0000)]
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

* remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
(read_frame): Do not call error() on communication error when
reading checksum, but return failure instead and log message.

23 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 20:50:44 +0000 (20:50 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* gdbtk.c (target_is_native): The "multi-thread" target is native.

23 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 20:42:55 +0000 (20:42 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* varobj.c (type_changeable): Arrays are not changeable.
Trying to check for updates was causing an error if the array lived
in a register as gdb value_equal() cannot handle that case yet.

23 years ago2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Fri, 13 Oct 2000 20:31:38 +0000 (20:31 +0000)]
2000-10-13  Fernando Nasser  <fnasser@totem.to.cygnus.com>

* varobj.c (varobj_update): Prevent uninitialized error code to be
returned on type_changed.  Also, prevent value_equal() to be called
for the types we do not want to test for updates.

23 years ago2000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 12 Oct 2000 22:56:31 +0000 (22:56 +0000)]
2000-10-11  Fernando Nasser  <fnasser@totem.to.cygnus.com>

        From Grant Edwards <grante@visi.com>
        This keeps the GUI alive while running an RDI target and lets the
        STOP button be used to stop the target.
        * remote-rdi.c (arm_rdi_stop): New function.  Implements target_stop.
        (init_rdi_ops): Set to_stop target vector entry to the above.
        * rdi-share/ardi.c (stop_request): New variable.  Tells when a stop
        has been requested.
        (angel_RDI_stop_request): New function. Registers that a stop has
        been requested.
        (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
        waits while target is executing.  Initialize and reset stop_request.
        * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().

23 years agoProtoization.
Kevin Buettner [Thu, 12 Oct 2000 21:39:21 +0000 (21:39 +0000)]
Protoization.

23 years ago2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 12 Oct 2000 19:34:27 +0000 (19:34 +0000)]
2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Daniel Berlin <dberlin@redhat.com> :

* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
  language to auto instead of unknown, so it will try to demangle
  the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.

23 years ago2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 12 Oct 2000 16:53:06 +0000 (16:53 +0000)]
2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Daniel Berlin <dberlin@redhat.com> :

* symtab.c (lookup_symbol_aux): New function. Renamed from
  lookup_symbol. Move code to do demangling/case sensitivity to
  lookup_symbol().
   (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
  perform case sensitivity/demangling without leaking memory.  Move
  code to do demangling/case sensitivity from old_lookup_symbol to
  here.
(lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
(lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME. Don't do linear search in case of C++.

   * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
   (compare_psymbols): Same here.

23 years agoAnother try at correcting relocations against discarded
Alan Modra [Thu, 12 Oct 2000 03:44:50 +0000 (03:44 +0000)]
Another try at correcting relocations against discarded
link-once section symbols.

23 years agomerge from gcc repository
DJ Delorie [Thu, 12 Oct 2000 02:16:48 +0000 (02:16 +0000)]
merge from gcc repository

23 years agoInclude alloca-conf.h
Alan Modra [Thu, 12 Oct 2000 01:28:06 +0000 (01:28 +0000)]
Include alloca-conf.h

23 years ago2000-10-11 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 11 Oct 2000 22:37:30 +0000 (22:37 +0000)]
2000-10-11  Fernando Nasser  <fnasser@cygnus.com>

* srctextwin.itb (build_popups): Fix typos that caused duplicate
"Jump to Here" menu entries in the breakpoint-set right-click pop-up
menu.

23 years agoRevert 2000-10-07 link-once section symbol changes.
Alan Modra [Wed, 11 Oct 2000 07:05:01 +0000 (07:05 +0000)]
Revert 2000-10-07 link-once section symbol changes.

23 years agoFix my last change to actually compile.
Alan Modra [Tue, 10 Oct 2000 23:38:27 +0000 (23:38 +0000)]
Fix my last change to actually compile.

23 years ago(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
Alan Modra [Tue, 10 Oct 2000 15:50:35 +0000 (15:50 +0000)]
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.

23 years ago* section.c (bfd_make_section_anyway): Release newsect ptr when
Alan Modra [Tue, 10 Oct 2000 15:23:38 +0000 (15:23 +0000)]
* section.c (bfd_make_section_anyway): Release newsect ptr when
newsect->symbol fails to alloc.  Use bfd_release instead of free.

23 years agoProtoization.
Kevin Buettner [Tue, 10 Oct 2000 05:17:25 +0000 (05:17 +0000)]
Protoization.

23 years ago * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
Richard Henderson [Mon, 9 Oct 2000 23:16:30 +0000 (23:16 +0000)]
    * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
        (elf64_ia64_unwind_entry_compare): New.
        (elf64_ia64_final_link): Sort the .IA_64.unwind section.

23 years ago * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
Peter Schauer [Mon, 9 Oct 2000 19:40:37 +0000 (19:40 +0000)]
* config/i386/i386sol2.mh:  Add XM_CLIBS definition to resolve
reference to gethostbyname.

23 years ago* usability improvements
Ben Elliston [Sun, 8 Oct 2000 22:37:14 +0000 (22:37 +0000)]
* usability improvements

2000-10-08  Ben Elliston  <bje@redhat.com>

* cgen-utils.c (cgen_rtx_error): New function.

2000-10-07  Ben Elliston  <bje@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
conditions for sim_core_read_buffer().

23 years agoWhitespace tweak: replace leading spaces with a hard tab.
Ben Elliston [Sun, 8 Oct 2000 22:31:22 +0000 (22:31 +0000)]
Whitespace tweak: replace leading spaces with a hard tab.