OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago*** empty log message ***
gdbadmin [Tue, 23 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * aix-thread.c (ops): Rename to aix_thread_ops.
Kevin Buettner [Mon, 22 Jul 2002 22:11:03 +0000 (22:11 +0000)]
* aix-thread.c (ops): Rename to aix_thread_ops.
(base_ops): Rename to base_target.
(ops_attach): Rename to aix_thread_attach.
(ops_detach): Rename to aix_thread_detach.
(ops_resume): Rename to aix_thread_detach.
(ops_wait):   Rename to aix_thread_wait.
(ops_kill):   Rename to aix_thread_kill.
(init_ops):   Rename to init_aix_thread_ops.
(ops_fetch_register): Rename to aix_thread_fetch_register.
(ops_store_register): Rename to aix_thread_store_register.
(ops_mourn_inferior): Rename to aix_thread_mourn_inferior.
(ops_thread_alive):   Rename to aix_thread_thread_alive.
(ops_extra_thread_info: Rename to aix_thread_extra_thread_info.
(ops_pid_to_str):  Rename to aix_thread_pid_to_str.
(ops_xfer_memory): Rename to aix_thread_xfer_memory.
(fetch_regs_lib):  Rename to fetch_regs_user_thread.
(fetch_regs_kern): Rename to fetch_regs_kernel_thread.
(store_regs_lib):  Rename to store_regs_user_thread.
(store_regs_kern): Rename to store_regs_kernel_thread.

22 years ago * aix-thread.c (ops_prepare_to_store): Eliminate.
Kevin Buettner [Mon, 22 Jul 2002 19:56:07 +0000 (19:56 +0000)]
* aix-thread.c (ops_prepare_to_store): Eliminate.
(init_ops): Don't initialize ops.prepare_to_store.
(store_regs_kern): Pre-fetch register buffers from child,
because some registers may not be in the cache.  Copy
regs from register cache only if they are cached.
(store_regs_lib): Copy regs from register cache only
if they are cached.
(fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32,
fill_gprs64): Ditto.

22 years ago * aix-thread.c (gdb_assert.h): Include.
Kevin Buettner [Mon, 22 Jul 2002 19:20:21 +0000 (19:20 +0000)]
* aix-thread.c (gdb_assert.h): Include.
(fill_sprs64, fill_sprs32): Add selected asserts to make sure that
register sizes (from register cache) match size of buffer holding
register data.
(fill_sprs32): Change parameter types to match those in the ptrace()
buffer.
(store_regs_lib): Likewise, but for 32-bit temporary variables.
(ops_prepare_to_store): Rename loop variable ``i'' to ``regno''.

* aix-thread.c (supply_sprs64): Cosmetic change.
(supply_sprs32): Cosmetic change.
(fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs.
(fill_sprs64): Use regcache_collect instead of read_register.
(store_regs_lib): Use regcache_collect instead of
read_register.  Use fill_sprs32 instead of fill_sprs64,
if debugging a 32-bit architecture.
(store_regs_kern): Use fill_gprs64 etc. to pull the values
out of the register cache, instead of passing a pointer into
the register cache directly to ptrace.  Use regcache_collect
insteaad of read_register.
(ops_prepare_to_store): Use target_read_registers instead
of read_register_bytes.

22 years ago*** empty log message ***
gdbadmin [Mon, 22 Jul 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 22 Jul 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 21 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 21 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-07-20 Aidan Skinner <aidan@velvet.net>
Aidan Skinner [Sat, 20 Jul 2002 16:18:07 +0000 (16:18 +0000)]
2002-07-20  Aidan Skinner <aidan@velvet.net>

* MAINTAINERS: Add self under write after approval.

22 years ago2002-07-20 Aidan Skinner <aidan@velvet.net>
Aidan Skinner [Sat, 20 Jul 2002 16:08:49 +0000 (16:08 +0000)]
2002-07-20  Aidan Skinner <aidan@velvet.net>

* ada-tasks.c: Change k&r style function definitions to prototyped
form.

22 years ago* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
Jason Thorpe [Sat, 20 Jul 2002 04:09:30 +0000 (04:09 +0000)]
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
DT_PLTGOT into the dynamic section if there is a PLT.

22 years agodaily update
Alan Modra [Sat, 20 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 20 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
Thiemo Seufer [Fri, 19 Jul 2002 21:34:02 +0000 (21:34 +0000)]
* elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
elf32-mips.c.
(_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype.
(_bfd_mips_elf_write_section): Likewise.
* elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c.
(elf32_mips_write_section): Likewise.
* elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it.
(_bfd_mips_elf_write_section): Likewise.

22 years ago2002-07-19 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 19 Jul 2002 19:40:28 +0000 (19:40 +0000)]
2002-07-19  Daniel Jacobowitz  <drow@mvista.com>

        * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
        Improve support for reusing an exec file.  Copy exec file
        to target, and run gdbserver on the target instead of on the host.

22 years ago[ dejagnu/ChangeLog ]
Chris Demetriou [Fri, 19 Jul 2002 18:24:48 +0000 (18:24 +0000)]
[ dejagnu/ChangeLog ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update from ../config.guess.
        * config.sub: Update from ../config.sub.

[ readline/ChangeLog.gdb ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * support/config.guess: Update from ../config.guess.
        * support/config.sub: Update from ../config.sub.

22 years ago* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
Andrew Cagney [Fri, 19 Jul 2002 18:22:14 +0000 (18:22 +0000)]
* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
* x86-64-tdep.c: Include "objfiles.h".
(x86_64_gdbarch_init): Set in_solib_call_trampoline to
in_plt_section.  From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.

22 years ago2002-07-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 19 Jul 2002 18:16:30 +0000 (18:16 +0000)]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS: Clarify updates of config.guess and config.sub, and
add one instance of them which was missed to the list to update.

22 years ago2002-07-17 Michal Ludvig <michal@suse.cz>
Michal Ludvig [Fri, 19 Jul 2002 09:40:51 +0000 (09:40 +0000)]
2002-07-17  Michal Ludvig  <michal@suse.cz>

* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
(update_context): Initialise cfa variable.

22 years agoAdd IP2k GAS and OPCODES support.
Nick Clifton [Fri, 19 Jul 2002 07:52:40 +0000 (07:52 +0000)]
Add IP2k GAS and OPCODES support.

22 years ago * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
Alan Modra [Fri, 19 Jul 2002 01:10:28 +0000 (01:10 +0000)]
* elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
PT_IA_64_UNWIND segments for a given section.

22 years ago* gdb.base/ending-run.exp: Don't expect to see the program end in
Jim Blandy [Fri, 19 Jul 2002 00:02:34 +0000 (00:02 +0000)]
* gdb.base/ending-run.exp: Don't expect to see the program end in
some orderly fashion when we're running on a real stand-alone
board.

22 years ago*** empty log message ***
gdbadmin [Fri, 19 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Fri, 19 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* gdb.base/interrupt.exp: Correct logic for skipping tests on
Jim Blandy [Thu, 18 Jul 2002 23:52:49 +0000 (23:52 +0000)]
* gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.

22 years ago2002-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 18 Jul 2002 19:26:14 +0000 (19:26 +0000)]
2002-07-17  Michael Snyder  <msnyder@redhat.com>

* aix-thread.c: Shorten some long lines.
Bring comments into line with code spec.

22 years ago * infrun.c: Re-indent using gdb_indent.sh.
Joel Brobecker [Thu, 18 Jul 2002 17:53:50 +0000 (17:53 +0000)]
    * infrun.c: Re-indent using gdb_indent.sh.

22 years ago * infrun.c (handle_inferior_event): Remove unneeded extra brace.
Joel Brobecker [Thu, 18 Jul 2002 17:51:27 +0000 (17:51 +0000)]
    * infrun.c (handle_inferior_event): Remove unneeded extra brace.
        Leave the indentation temporarily untouched, to minimize the diffs.

22 years ago2002-07-18 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 18 Jul 2002 17:22:50 +0000 (17:22 +0000)]
2002-07-18  Elena Zannoni  <ezannoni@redhat.com>

* stabsread.c: Make os9k sections of the code obsolete,
for real this time.
* stabsread.h: Make os9k sections of the code obsolete.

22 years ago2002-07-18 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 18 Jul 2002 15:18:02 +0000 (15:18 +0000)]
2002-07-18  Michal Ludvig  <mludvig@suse.cz>

* linux-low.c (regsets_store_inferior_registers): Add free()
at the end of a loop to prevent memory leak.
* linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers.
(X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.

22 years ago* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h
Michal Ludvig [Thu, 18 Jul 2002 12:12:42 +0000 (12:12 +0000)]
* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h

22 years ago2002-07-18 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 18 Jul 2002 10:10:49 +0000 (10:10 +0000)]
2002-07-18  Michal Ludvig <mludvig@suse.cz>
* config/sparc/tm-sp64linux.h: Make the rest of #endif
line a comment.

22 years agoDelete w65 directory.
Andrew Cagney [Thu, 18 Jul 2002 00:05:41 +0000 (00:05 +0000)]
Delete w65 directory.

22 years agodaily update
Alan Modra [Thu, 18 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 18 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoIndex: sim/common/ChangeLog
Andrew Cagney [Wed, 17 Jul 2002 21:20:09 +0000 (21:20 +0000)]
Index: sim/common/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Declare.  Moved
to here from "gdb/remote-sim.h".

Index: include/gdb/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h: Update copyright.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Delete.  Moved to
"sim/common/run-sim.h".

22 years ago* macrocmd.c (info_macro_command): Remove newline from error
Jim Blandy [Wed, 17 Jul 2002 21:16:33 +0000 (21:16 +0000)]
* macrocmd.c (info_macro_command): Remove newline from error
message.

22 years agoinclude/gdb:
Joern Rennecke [Wed, 17 Jul 2002 18:43:28 +0000 (18:43 +0000)]
include/gdb:
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.

22 years ago2002-07-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 17 Jul 2002 17:53:28 +0000 (17:53 +0000)]
2002-07-17  H.J. Lu <hjl@gnu.org>

* Makefile.am: Fix a typo.
* Makefile.in: Regenerate.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 17 Jul 2002 14:18:37 +0000 (14:18 +0000)]
oops - omitted from previous delta

22 years agoAdd IP2k support to BFD and LD
Nick Clifton [Wed, 17 Jul 2002 14:15:50 +0000 (14:15 +0000)]
Add IP2k support to BFD and LD

22 years agoFrom: Ian Rickards <irickard@arm.com>
Richard Earnshaw [Wed, 17 Jul 2002 12:17:18 +0000 (12:17 +0000)]
From: Ian Rickards  <irickard@arm.com>
* dwarf2.c (concat_filename): If we can't establish the directory
just return the filename.

22 years ago2002-07-17 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Wed, 17 Jul 2002 07:27:40 +0000 (07:27 +0000)]
2002-07-17  David Mosberger  <davidm@hpl.hp.com>

* ia64-opc-b.c (bWhc): New macro.
(mWhc): Ditto.
(OpPaWhcD): Ditto.
(ia64_opcodes_b): Correct patterns for indirect call
instructions to use 3-bit "wh" field.
* ia64-asmtab.c: Regnerate.

22 years ago2002-07-16 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 17 Jul 2002 00:17:14 +0000 (00:17 +0000)]
2002-07-16  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2002-07-09 version.
        * config.sub: Update to 2002-07-03 version.

22 years ago*** empty log message ***
gdbadmin [Wed, 17 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 17 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * dwarf2read.c (read_initial_length): Handle older, non-standard,
Kevin Buettner [Tue, 16 Jul 2002 21:00:43 +0000 (21:00 +0000)]
* dwarf2read.c (read_initial_length): Handle older, non-standard,
64-bit DWARF2 format.

22 years ago * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
Joel Brobecker [Tue, 16 Jul 2002 17:14:38 +0000 (17:14 +0000)]
    * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
        <sys/proc.h> when not available.

22 years agoObsolete i[3456]86-*-os9k.
Andrew Cagney [Tue, 16 Jul 2002 15:19:19 +0000 (15:19 +0000)]
Obsolete i[3456]86-*-os9k.

22 years agoObsolete fr30.
Andrew Cagney [Tue, 16 Jul 2002 14:30:14 +0000 (14:30 +0000)]
Obsolete fr30.

22 years ago * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
Alan Modra [Tue, 16 Jul 2002 13:35:58 +0000 (13:35 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.

22 years ago * elflink.h: Formatting fixes, tidy prototypes.
Alan Modra [Tue, 16 Jul 2002 12:31:35 +0000 (12:31 +0000)]
* elflink.h: Formatting fixes, tidy prototypes.
(elf_link_assign_sym_version): Move common code out of loop.

22 years ago * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
Alan Modra [Tue, 16 Jul 2002 09:00:42 +0000 (09:00 +0000)]
* elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
reloc section size is zero.  Correct reloc output location.

22 years ago2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 16 Jul 2002 07:42:25 +0000 (07:42 +0000)]
2002-07-16  Pierre Muller  <muller@ics.u-strasbg.fr>

* blockframe.c (get_pc_function_start): return 0 if the minimal symbol
found is not inside a section.

22 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
Alan Modra [Tue, 16 Jul 2002 02:26:30 +0000 (02:26 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
the final type for the e_fsel selector when generating PA2.0W code.
(elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1
relocations.

22 years ago * aix-thread.c (ptrace_check): Use safe_strerror() instead of
Kevin Buettner [Tue, 16 Jul 2002 00:22:45 +0000 (00:22 +0000)]
* aix-thread.c (ptrace_check): Use safe_strerror() instead of
strerror().
(pdc_realloc): Use xrealloc() instead of realloc().

22 years ago*** empty log message ***
gdbadmin [Tue, 16 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 16 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * aix-thread.c (PD_ERROR, CALL_BASE): Delete.
Kevin Buettner [Mon, 15 Jul 2002 23:33:09 +0000 (23:33 +0000)]
* aix-thread.c (PD_ERROR, CALL_BASE): Delete.
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
(ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
macros.

22 years ago * aix-thread.c (ptrace_check): Eliminate goto.
Kevin Buettner [Mon, 15 Jul 2002 20:06:12 +0000 (20:06 +0000)]
* aix-thread.c (ptrace_check): Eliminate goto.
(sync_threadlists): Eliminate gotos.  Also, fix array overrun
problem.

22 years ago * aix-thread.c (gdbcmd.h): Include.
Kevin Buettner [Mon, 15 Jul 2002 18:55:04 +0000 (18:55 +0000)]
* aix-thread.c (gdbcmd.h): Include.
(DEBUG, DBG, DBG2, dbg): Eliminate.
(debug_aix_thread): New static global.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
(fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
invocations to DBG and DBG2 macros to test against
``debug_aix_thread'' and call fprintf_unfiltered().
(_initialize_aix_thread): Add new command "set debug aix-thread".

22 years agoFrom Gerhard Tonn <TON@de.ibm.com>:
Andrew Cagney [Mon, 15 Jul 2002 16:50:51 +0000 (16:50 +0000)]
From Gerhard Tonn <TON@de.ibm.com>:
* s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
instead of supply_register.

22 years ago* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
Andrew Cagney [Mon, 15 Jul 2002 16:13:12 +0000 (16:13 +0000)]
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
avoid possible longjmp problems with automatic variable siggnal.

22 years ago* dwarf2cfi.c: Include "gdb_assert.h".
Andrew Cagney [Mon, 15 Jul 2002 16:01:31 +0000 (16:01 +0000)]
* dwarf2cfi.c: Include "gdb_assert.h".
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is
non-NULL.
(update_context): Do not use __func__.  Add missing ``break''.
(update_context): Do not use __func__.

22 years ago2002-07-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 15 Jul 2002 15:09:55 +0000 (15:09 +0000)]
2002-07-15  Elena Zannoni  <ezannoni@redhat.com>

        * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
        and its setting.  Set gdbarch instruction printing functions
        directly.  For non-rs6000 case use new function
        gdb_print_insn_powerpc.
        (gdb_print_insn_powerpc): New function.

22 years agobfd/
H.J. Lu [Mon, 15 Jul 2002 02:23:26 +0000 (02:23 +0000)]
bfd/
2002-07-14  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_assign_sym_version): Hide the default
definition if there is a hidden versioned definition.

ld/
2002-07-14  H.J. Lu <hjl@gnu.org>

* ld.texinfo: Document a .symver takes precedence over a
version script.

22 years ago*** empty log message ***
gdbadmin [Mon, 15 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 15 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoFrom 2002-07-11 Momchil Velikov <velco@fadata.bg>:
Andrew Cagney [Sun, 14 Jul 2002 17:03:39 +0000 (17:03 +0000)]
From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
* Make-common.in (installdirs): Make $(libdir) too, needed when
installing libsim.a.

22 years agoMention d30v obsolete in news file.
Andrew Cagney [Sun, 14 Jul 2002 00:28:46 +0000 (00:28 +0000)]
Mention d30v obsolete in news file.

22 years agoObsolete the d30v.
Andrew Cagney [Sun, 14 Jul 2002 00:15:20 +0000 (00:15 +0000)]
Obsolete the d30v.

22 years agodaily update
Alan Modra [Sun, 14 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 14 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * ada-tasks.c (add_task_entry): replace calls to
Aidan Skinner [Sat, 13 Jul 2002 12:25:16 +0000 (12:25 +0000)]
* ada-tasks.c (add_task_entry): replace calls to
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()

* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()

22 years ago From Nicholas Duffek (with minor changes by Martin Hunt,
Kevin Buettner [Sat, 13 Jul 2002 00:29:37 +0000 (00:29 +0000)]
From Nicholas Duffek (with minor changes by Martin Hunt,
Louis Hamilton, and Kevin Buettner):
* aix-thread.c: New file.

22 years agodaily update
Alan Modra [Sat, 13 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 13 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-07-12 Petr Sorfa <petrs@caldera.com>
Petr Sorfa [Fri, 12 Jul 2002 19:55:10 +0000 (19:55 +0000)]
2002-07-12  Petr Sorfa <petrs@caldera.com>

        *  dwarf2read.c (dwarf2_invalid_attrib_class): New
        complaint for invalid attribute class or form.
        (read_func_scope): DW_AT_frame_base
        better handling of DW_AT_block*.
        (dwarf2_add_member_fn): DW_AT_vtable_elem_location
        better handling of DW_AT_block*.
        (read_common_block): DW_AT_location
        better handling of DW_AT_block*.
        (read_partial_die): DW_AT_location better handling
        of DW_AT_block*.
        (new_symbol): DW_AT_external better handling of
        DW_AT_block*. Proper initialization of variable
        "addr".
        (attr_form_is_block): New function that returns true
        if the attribute's form is of DW_FORM_block*.

22 years ago2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
Daniel Jacobowitz [Fri, 12 Jul 2002 19:15:30 +0000 (19:15 +0000)]
2002-07-12  Peter Schauer  <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>

        * valops.c (find_method_list): Remove comment about
        removed STATIC_MEMFUNCP argument.
        (value_find_oload_method_list): Likewise.

22 years ago From Nicholas Duffek:
Kevin Buettner [Fri, 12 Jul 2002 18:42:05 +0000 (18:42 +0000)]
From Nicholas Duffek:
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.

22 years ago From Nicholas Duffek:
Kevin Buettner [Fri, 12 Jul 2002 18:30:15 +0000 (18:30 +0000)]
From Nicholas Duffek:
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
csect.

22 years ago* MAINTAINERS: Mention --enable-sim-build-warnings.
Andrew Cagney [Fri, 12 Jul 2002 17:14:32 +0000 (17:14 +0000)]
* MAINTAINERS: Mention --enable-sim-build-warnings.
(m68hc11-elf): Disable sim build warnings.
(m32r-elf): Mark as broken obsolete candidate.
(x86_64-linux-gnu): Mark as buildable with -Werror.
(arm-elf): Change -w to ``,'' which enables warnings but not
-Werror.

22 years ago * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
Hans-Peter Nilsson [Fri, 12 Jul 2002 15:54:57 +0000 (15:54 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
dynamic reference test in assertion when initializing GOT with
static contents.  Just assert that there are either no dynamic
sections, the symbol is defined in the regular objects or that the
symbol is undef weak.  Tweak comment.
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program
only if the symbol isn't defined in the program and isn't undef
weak.
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting
rid of PLT entry: only do it if the symbol isn't defined in a DSO.
When doing so, clear ELF_LINK_HASH_NEEDS_PLT.  Tweak comments.
(elf_cris_discard_excess_program_dynamics): Don't consider
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs.

22 years ago* bcache.h: Update copyright.
Andrew Cagney [Fri, 12 Jul 2002 15:23:10 +0000 (15:23 +0000)]
* bcache.h: Update copyright.
(struct bstring, struct bcache): Move definition to "bcache.c".
Replaced by opaque declaration.
(bcache_xfree): Replace free_bcache.
(bcache_xmalloc, bcache_memory_used): Declare.

* bcache.c: Update copyright.
(struct bstring, struct bcache): Moved to here from "bcache.h".
Update comments.
(bcache_xmalloc, bcache_memory_used): New functions.
(bcache_xfree): Replace function free_bcache.

* Makefile.in (objfiles.o): Add $(bcache_h).
(objfiles_h): Remove $(bcache_h).
(symfile.o): Add $(bcache_h).

* symmisc.c: Update copyright.
(print_symbol_bcache_statistics): Pass psymbol_cache by value.
(print_objfile_statistics): Use bcache_memory_used.

* symfile.c: Include "bcache.h".
(reread_symbols): Use bcache_xfree.
(reread_symbols): Use bcache_xmalloc and bcache_xfree.
(add_psymbol_to_list): Pass psymbol_cache by value.
(add_psymbol_with_dem_name_to_list): Ditto.

* objfiles.h: Update copyright.
(struct bcache): Declare opaque.  Do not include "bcache.h".
(struct objfile): Change psymbol_cache and macro_cache to ``struct
bcache'' pointers.
* dwarf2read.c (macro_start_file): Pass macro_cache by value.

* objfiles.c: Include "bcache.h".  Update copyright.
(allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
macro_cache.
(free_objfile): Use bcache_xfree.

22 years agodaily update
Alan Modra [Fri, 12 Jul 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 12 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* monitor.c (monitor_fetch_register): Make name a constant.
Grace Sainsbury [Thu, 11 Jul 2002 21:00:39 +0000 (21:00 +0000)]
* monitor.c (monitor_fetch_register): Make name a constant.
(monitor_store_register): Same.

22 years ago2002-07-11 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 11 Jul 2002 20:46:19 +0000 (20:46 +0000)]
2002-07-11  Daniel Jacobowitz  <drow@mvista.com>

Based on patch from Daniel Berlin <dberlin@dberlin.org>.
* buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
(finish_block) For non-function blocks, hash the symbol table.  For
function blocks, mark the symbol table as unhashed.
* minsyms.c (msymbol_hash): Return hash value without taking modulus.
(msymbol_hash_iw): Likewise.
(add_minsym_to_hash_table): Take modulus of msymbol_hash's return
value.
(add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
(lookup_minimal_symbol): Likewise for both.
* symtab.h (struct block): Add `hashtable' flag.  Comment the
hashtable.
(BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
(ALL_BLOCK_SYMBOLS): Update.
(BLOCK_SHOULD_SORT): Do not sort hashed blocks.
(struct symbol): Add `hash_next' pointer.
* symtab.c (lookup_block_symbol): Search using the hash table when
possible.
(find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
(search_symbols, find_addr_symbol): Likewise.

* dstread.c (process_dst_block): Clear hashtable bit for new block.
(read_dst_symtab): Likewise.
* jv-lang.c (get_java_class_symtab): Likewise.
* mdebugread.c: Include "gdb_assert.h".
(shrink_block): Assert that the block being modified is not hashed.
* coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
* symmisc.c (free_symtab_block): Walk the hash table when freeing
symbols.
(dump_symtab): Recognize hashed blocks.
* printcmd.c (print_frame_args):  Assert that function blocks do not
have hashed symbol tables.
* ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Likewise.
(ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS.  Handle hash tables.

22 years ago* configure.in: Remove two redundant tests.
DJ Delorie [Thu, 11 Jul 2002 20:14:41 +0000 (20:14 +0000)]
* configure.in: Remove two redundant tests.

22 years ago* configure.in (mips*-*-irix6*o32): Enable stabs.
DJ Delorie [Thu, 11 Jul 2002 19:38:34 +0000 (19:38 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.

22 years ago * stack.c (print_frame): Use result of frame_address_in_block()
Corinna Vinschen [Thu, 11 Jul 2002 19:29:08 +0000 (19:29 +0000)]
* stack.c (print_frame): Use result of frame_address_in_block()
instead of fi->pc when evaluating symbols.
(backtrace_command_1): Ditto.

22 years ago* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Andrew Cagney [Thu, 11 Jul 2002 19:25:13 +0000 (19:25 +0000)]
* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Make static.
* arm-tdep.c (arm_register_name): Make return type constant.

22 years agoFix some K&R isms.
Andrew Cagney [Thu, 11 Jul 2002 13:50:50 +0000 (13:50 +0000)]
Fix some K&R isms.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Don't complain about
Alan Modra [Thu, 11 Jul 2002 05:33:28 +0000 (05:33 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

22 years ago * gdb.base/attach.exp: Add patterns to match output from /proc-based
Joel Brobecker [Thu, 11 Jul 2002 00:51:37 +0000 (00:51 +0000)]
   * gdb.base/attach.exp: Add patterns to match output from /proc-based
       systems.
       Move comments in expect statements to inside the actions, so that they
       don't get matched against.

22 years agodaily update
Alan Modra [Thu, 11 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 11 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
Mark Kettenis [Wed, 10 Jul 2002 23:00:57 +0000 (23:00 +0000)]
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
function when asleep" test.

22 years ago* wince.c (_initialize_wince): Rename _initialize_inftarg.
Andrew Cagney [Wed, 10 Jul 2002 22:38:05 +0000 (22:38 +0000)]
* wince.c (_initialize_wince): Rename _initialize_inftarg.
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.

22 years ago* gdb.base/page.exp: Rewrite to handle problems with very long
Andrew Cagney [Wed, 10 Jul 2002 21:57:56 +0000 (21:57 +0000)]
* gdb.base/page.exp: Rewrite to handle problems with very long
`info set' output.  Update copyright.