OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago* defs.h (read_relative_register_raw_bytes): Delete declaration.
Andrew Cagney [Fri, 12 Apr 2002 18:18:59 +0000 (18:18 +0000)]
* defs.h (read_relative_register_raw_bytes): Delete declaration.
* frame.c (frame_register_read): New function.  Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright.  Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.

22 years ago From Jimi X <jimix@watson.ibm.com>:
Kevin Buettner [Fri, 12 Apr 2002 17:12:24 +0000 (17:12 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
64-bit SysV ABI.

22 years ago From Jimi X <jimix@watson.ibm.com>:
Kevin Buettner [Fri, 12 Apr 2002 07:37:18 +0000 (07:37 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
bfd info.

22 years ago From Jimi X <jimix@watson.ibm.com>:
Kevin Buettner [Fri, 12 Apr 2002 07:20:32 +0000 (07:20 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
register sets for these processor variants.

22 years ago * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
Alan Modra [Fri, 12 Apr 2002 03:30:56 +0000 (03:30 +0000)]
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
header pad.

22 years agosync with gcc
DJ Delorie [Fri, 12 Apr 2002 01:23:53 +0000 (01:23 +0000)]
sync with gcc
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

* mh-ia64pic: New file.
* mt-ia64pic: New file.

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

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

22 years ago2002-04-11 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 11 Apr 2002 20:30:08 +0000 (20:30 +0000)]
2002-04-11  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (usr_store_inferior_registers): Support
        registers which are allowed to fail to store.
        * gdbserver/linux-low.h (linux_target_ops): Likewise.
        * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
        (ppc_cannot_store_register): FPSCR may not be storable.
        * regformats/reg-ppc.dat: Support FPSCR.

22 years agoAdd support for the fpscr register for Power / PowerPC targets.
Kevin Buettner [Thu, 11 Apr 2002 19:08:56 +0000 (19:08 +0000)]
Add support for the fpscr register for Power / PowerPC targets.

22 years ago2002-04-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 11 Apr 2002 18:32:51 +0000 (18:32 +0000)]
2002-04-11  Michael Snyder  <msnyder@redhat.com>

* configure.in: Autoconfiscate _SYSCALL32 define for solaris.
* configure: Regenerate.
* config.in: Regenerate.
* acconfig.h: Add define for _SYSCALL32.
* core-sol2.c: Remove #define _SYSCALL32.
* solib-legacy.c: Remove #define _SYSCALL32.

22 years ago2002-02-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 11 Apr 2002 18:24:08 +0000 (18:24 +0000)]
2002-02-14  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: Relax recognition of function breakpoint.

22 years ago2002-02-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 11 Apr 2002 18:13:21 +0000 (18:13 +0000)]
2002-02-13  Michael Snyder  <msnyder@redhat.com>

* config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.

22 years agoreorder cmpsd, movsd
Alan Modra [Thu, 11 Apr 2002 11:58:30 +0000 (11:58 +0000)]
reorder cmpsd, movsd

22 years ago * i386.h: Add intel mode cmpsd and movsd.
Alan Modra [Thu, 11 Apr 2002 10:21:58 +0000 (10:21 +0000)]
* i386.h: Add intel mode cmpsd and movsd.

22 years ago2002-04-10 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 11 Apr 2002 03:31:26 +0000 (03:31 +0000)]
2002-04-10  Martin M. Hunt  <hunt@redhat.com>

* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.

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

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

22 years ago* stack.c (select_frame): Cleanup internal error message, do not
Andrew Cagney [Wed, 10 Apr 2002 23:32:33 +0000 (23:32 +0000)]
* stack.c (select_frame): Cleanup internal error message, do not
use %p.

22 years ago* stack.c (select_frame): Check that selected_frame and the
Andrew Cagney [Wed, 10 Apr 2002 22:14:02 +0000 (22:14 +0000)]
* stack.c (select_frame): Check that selected_frame and the
specified level are as expected.
* blockframe.c (get_prev_frame): Set the `level' from next_frame.
Update copyright.
* frame.h (struct frame_info): Add field `level'.  Update
copyright.
Work-in-progress PR gdb/464.

22 years ago* maint.c (maint_print_section_info): Rename print_section_info.
Andrew Cagney [Wed, 10 Apr 2002 22:00:20 +0000 (22:00 +0000)]
* maint.c (maint_print_section_info): Rename print_section_info.
(print_bfd_section_info, print_objfile_section_info): Update.
* inferior.h (struct gdbarch): Add opaque declaration.
* gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
* gdbarch.h: Regenerate.

22 years ago* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.
DJ Delorie [Wed, 10 Apr 2002 16:45:31 +0000 (16:45 +0000)]
* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.

22 years ago * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
Michal Ludvig [Wed, 10 Apr 2002 12:12:36 +0000 (12:12 +0000)]
* x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
(PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
(kernel_u_size): Added.
* config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
(PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.

22 years ago2002-04-09 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 10 Apr 2002 05:11:35 +0000 (05:11 +0000)]
2002-04-09  Michael Chastain  <mec@shout.net>

* gdbint.texinfo (Obsolete Conditionals): Remove references to
PYRAMID_* macros.

22 years ago2002-04-09 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 10 Apr 2002 03:52:57 +0000 (03:52 +0000)]
2002-04-09  Michael Chastain  <mec@shout.net>

* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.

22 years ago* configure.in: Add *-*-freebsd* configurations.
DJ Delorie [Wed, 10 Apr 2002 02:13:43 +0000 (02:13 +0000)]
* configure.in: Add *-*-freebsd* configurations.

22 years ago * hashtab.c (higher_prime_number): Use 7 as minimum.
Richard Henderson [Wed, 10 Apr 2002 00:43:27 +0000 (00:43 +0000)]
    * hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

22 years ago2002-04-04 Jim Ingham <jingham@apple.com>
Jim Ingham [Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)]
2002-04-04  Jim Ingham  <jingham@apple.com>

       * valarith.c (find_size_for_pointer_math): New function, either returns
       the size for a pointer's target, returns 1 for void *, or errors for
       incomplete types.
       (value_add, value_sub): use find_size_for_pointer_math.

22 years agodaily update
Alan Modra [Wed, 10 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 10 Apr 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 23:52:06 +0000 (23:52 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * linux-low.c (linux_look_up_symbols): New hook.
        (linux_target_ops): Add linux_look_up_symbols.
        * remote-utils.c (decode_address): New function.
        (look_up_one_symbol): New function.
        * server.c (handle_query): Call target look_up_symbols hook.
        * server.h (look_up_one_symbol): Add prototype.
        * target.h (struct target_ops): Add look_up_symbols hook.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 22:58:00 +0000 (22:58 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
        * ChangeLog: Correct paths in last ChangeLog entry.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 22:44:43 +0000 (22:44 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

* linux-low.h: Remove obsolete prototypes.
(struct linux_target_ops): New.
(extern the_low_target): New.
* linux-low.c (num_regs, regmap): Remove declarations.
(register_addr): Use the_low_target explicitly.
(fetch_register): Likewise.
(usr_fetch_inferior_registers): Likewise.
(usr_store_inferior_registers): Likewise.
* linux-arm-low.c (num_regs): Remove.
(arm_num_regs): Define.
(arm_regmap): Renamed from regmap, made static.
(arm_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(arm_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-i386-low.c (num_regs): Remove.
(i386_num_regs): Define.
(i386_regmap): Renamed from regmap, made static.
(i386_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(i386_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ia64-low.c (num_regs): Remove.
(ia64_num_regs): Define.
(ia64_regmap): Renamed from regmap, made static.
(ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ia64_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-m68k-low.c (num_regs): Remove.
(m68k_num_regs): Define.
(m68k_regmap): Renamed from regmap, made static.
(m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(m68k_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-mips-low.c (num_regs): Remove.
(mips_num_regs): Define.
(mips_regmap): Renamed from regmap, made static.
(mips_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(mips_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ppc-low.c (num_regs): Remove.
(ppc_num_regs): Define.
(ppc_regmap): Renamed from regmap, made static.
(ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ppc_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-s390-low.c (num_regs): Remove.
(s390_num_regs): Define.
(s390_regmap): Renamed from regmap, made static.
(s390_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(s390_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-sh-low.c (num_regs): Remove.
(sh_num_regs): Define.
(sh_regmap): Renamed from regmap, made static.
(sh_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(sh_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
(the_low_target): New.

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 9 Apr 2002 22:33:25 +0000 (22:33 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (clear_command): Rewrite middle section to
combine two loops with identical control conditions.
Add a cleanup to eliminate a memory leak.

22 years ago* frame.c (read_relative_register_raw_bytes_for_frame): Do not
Andrew Cagney [Tue, 9 Apr 2002 22:14:39 +0000 (22:14 +0000)]
* frame.c (read_relative_register_raw_bytes_for_frame): Do not
override FP_REGNUM with frame->fp.  Update copyright.
* parse.c (num_std_regs, std_regs): Delete.
(target_map_name_to_register): Do not search std_regs.  Update
function description.
* parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
declarations.  Update copyright.
Fix PR gdb/251.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 21:25:29 +0000 (21:25 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add stamp-h target.
        * gdbserver/configure.in: Create stamp-h.
        * gdbserver/configure: Regenerated.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 21:17:45 +0000 (21:17 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/inferiors.c: New file.
        * gdbserver/target.c: New file.
        * gdbserver/target.h: New file.
        * gdbserver/Makefile.in:  Add target.o and inferiors.o.  Update
        dependencies.
        * gdbserver/linux-low.c (inferior_pid): New static variable,
        moved from server.c.
        (linux_create_inferior): Renamed from create_inferior.
        Call add_inferior.  Return 0 on success instead of a PID.
        (linux_attach): Renamed from myattach.
        (linux_kill): Renamed from kill_inferior.  Call clear_inferiors ().
        (linux_thread_alive): Renamed from mythread_alive.
        (linux_wait): Renamed from mywait.  Call clear_inferiors () if the
        child dies.
        (linux_resume): Renamed from myresume.  Add missing ``return 0''.
        (regsets_store_inferior_registers): Correct error message.
        Add missing ``return 0''.
        (linux_fetch_registers): Renamed from fetch_inferior_registers.
        (linux_store_registers): Renamed from store_inferior_registers.
        (linux_read_memory): Renamed from read_inferior_memory.
        (linux_write_memory): Renamed from write_inferior_memory.
        (linux_target_ops): New structure.
        (initialize_low): Call set_target_ops ().
        * gdbserver/remote-utils.c (unhexify): New function.
        (hexify): New function.
        (input_interrupt): Send signals to ``signal_pid''.
        * gdbserver/server.c (inferior_pid): Remove.
        (start_inferior): Update create_inferior call.
        (attach_inferior): Call add_inferior.
        (handle_query): New function.
        (main): Call handle_query for `q' packets.
        * gdbserver/server.h: Include "target.h".  Remove obsolete prototypes.
        Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 21:11:35 +0000 (21:11 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add WARN_CFLAGS.  Update configury
        dependencies.
        * gdbserver/configure.in: Check for <string.h>
        * gdbserver/configure: Regenerate.
        * gdbserver/config.in: Regenerate.
        * gdbserver/gdbreplay.c: Include needed system headers.
        (remote_open): Remove strchr prototype.
        * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
        * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
        (supply_register_by_name): Likewise.
        (collect_register): Change buf argument to void *.
        (collect_register_by_name): Likewise.
        * gdbserver/regcache.h: Add missing prototypes.
        * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
        * gdbserver/server.c (handle_query): New function.
        (attached): New static variable, moved out of main.
        (main): Quiet longjmp clobber warnings.
        * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT.  Update prototypes.
        * gdbserver/utils.c (error): Remove NORETURN.
        (fatal): Likewise.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 20:51:33 +0000 (20:51 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
        after the last symbol in a block.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 9 Apr 2002 20:48:45 +0000 (20:48 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/attach.exp: Correct target board test.

22 years agoCompute checksum for PE images.
Nick Clifton [Tue, 9 Apr 2002 16:43:26 +0000 (16:43 +0000)]
Compute checksum for PE images.

22 years ago2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 9 Apr 2002 10:52:41 +0000 (10:52 +0000)]
2002-04-09  Pierre Muller  <muller@ics.u-strasbg.fr>

* p-exp.y (yylex): Handle also the fact that is_a_field_of_this
is non zero as a found symbol.

22 years ago* findvar.c: Include "builtin-regs.h".
Andrew Cagney [Tue, 9 Apr 2002 03:06:14 +0000 (03:06 +0000)]
* findvar.c: Include "builtin-regs.h".
(value_of_register): Call value_of_builtin_reg when applicable.
* parse.c: Include "builtin-regs.h" and "gdb_assert.h".
(target_map_name_to_register): Call
builtin_reg_map_name_to_regnum.
* Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
(COMMON_OBS): Add builtin-regs.o and std-regs.o.
(builtin_regs_h): Define.
(builtin-regs.o): New target.
(findvar.o): Add $(builtin_regs_h).
* builtin-regs.c, builtin-regs.h: New files.
* std-regs.c: New file.
Partial fix for PR gdb/251.

22 years ago * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
Kevin Buettner [Tue, 9 Apr 2002 02:26:10 +0000 (02:26 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
it's no longer required.

22 years ago* Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
Andrew Cagney [Tue, 9 Apr 2002 01:52:57 +0000 (01:52 +0000)]
* Makefile.in (gdbtk-wrapper.o): Add missing dependencies.

22 years ago* generic/gdbtk-wrapper.c (wrap_get_frame_block): Add missing NULL
Andrew Cagney [Tue, 9 Apr 2002 01:51:08 +0000 (01:51 +0000)]
* generic/gdbtk-wrapper.c (wrap_get_frame_block): Add missing NULL
parameter.  Match recent get_frame_block changes.

22 years ago * rs6000-tdep.c (rs6000_software_single_step): Use
Kevin Buettner [Tue, 9 Apr 2002 01:41:46 +0000 (01:41 +0000)]
* rs6000-tdep.c (rs6000_software_single_step): Use
rs6000_breakpoint_from_pc() to fetch breakpoint instruction
and size.  Use target_insert_breakpoint() and
target_remove_breakpoint() to insert and remove breakpoints
instead of explicit memory reads and writes.

22 years ago * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
Kevin Buettner [Tue, 9 Apr 2002 00:53:28 +0000 (00:53 +0000)]
* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
* rs6000-tdep.c (rs6000_push_arguments): Eliminate
ELF_OBJECT_FORMAT ifdef.

22 years ago From Jimi X <jimix@watson.ibm.com>:
Kevin Buettner [Tue, 9 Apr 2002 00:10:09 +0000 (00:10 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().

22 years ago*** empty log message ***
gdbadmin [Tue, 9 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago From Jimi X <jimix@watson.ibm.com>:
Kevin Buettner [Mon, 8 Apr 2002 22:56:46 +0000 (22:56 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.

22 years ago2002-04-08 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 8 Apr 2002 22:43:15 +0000 (22:43 +0000)]
2002-04-08  Michael Chastain  <mec@shout.net>

* gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
in a const method.  Add some xfail and fail cases for configurations
that do not emit the "const ...".

22 years ago* fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
Mark Kettenis [Mon, 8 Apr 2002 21:53:00 +0000 (21:53 +0000)]
* fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
s/asprintf/xasprintf/.
(fbsd_make_corefile_notes): s/strdup/xstrdup/.

22 years ago * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
Alan Modra [Mon, 8 Apr 2002 11:01:43 +0000 (11:01 +0000)]
* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
(elf32_hppa_final_link): Split out sorting logic to..
* elf-hppa.h (elf_hppa_sort_unwind): ..here.
(elf_hppa_final_link): Call elf_hppa_sort_unwind.

22 years ago2002-04-07 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 8 Apr 2002 07:25:37 +0000 (07:25 +0000)]
2002-04-07  Michael Chastain  <mec@shout.net>

* gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
Accept "A * const" and "const A * const" as type of "this".
Fix spelling of getFunky throughout.  Make messages uniform.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 8 Apr 2002 00:43:22 +0000 (00:43 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        * mi-cmd-disas.c: Run through indent.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 8 Apr 2002 00:38:10 +0000 (00:38 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        * mi-cmd-disas.c (dump_insns): New function.
        (do_mixed_source_and_assembly): New function.
        (do_assembly_only): New function.
        (do_disassembly): New function.
        (mi_cmd_disassemble): Rewrite using smaller, more modular
        functions.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 8 Apr 2002 00:01:06 +0000 (00:01 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        Work around for PR gdb/285:
* gdb.asm/asm-source.exp: Bail out if multilibs are detected.

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

22 years agodaily update
Alan Modra [Mon, 8 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 23:57:23 +0000 (23:57 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.asm/asm-source.exp: Build symbolic link to arch specific
        instructions file at run time instead of configure time.
        Sometimes we run the test in a directory that is not the one we
        configured in.
        * gdb.asm/configure.in: Delete creation of symlink.
        * gdb.asm/configure: Regenerate.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 23:32:40 +0000 (23:32 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

* remote-e7000.c (write_small, e7000_read_inferior_memory,
e7000_read_inferior_memory_large, e7000_insert_breakpoint,
e7000_remove_breakpoint): Use paddr_nz() to print addresses.

22 years agoI believe Jeff Law denies responsability for this one:
Andrew Cagney [Sun, 7 Apr 2002 22:34:31 +0000 (22:34 +0000)]
I believe Jeff Law denies responsability for this one:
* config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
Work-around for PR gdb/366.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 22:13:20 +0000 (22:13 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_fp_frame_init_saved_regs,
sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
information.

22 years ago* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
Andrew Cagney [Sun, 7 Apr 2002 21:49:09 +0000 (21:49 +0000)]
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
pattern.
* configure: Re-generate.

22 years ago* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
Andrew Cagney [Sun, 7 Apr 2002 21:42:32 +0000 (21:42 +0000)]
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
is greater or equal to 4.3.3.
* configure: Regenerate.
Fix PR gdb/344.

22 years ago* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
Andrew Cagney [Sun, 7 Apr 2002 21:22:19 +0000 (21:22 +0000)]
* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
maintainer.

22 years ago* Makefile.in (do-tar-bz2): Delete rule. Replace with ...
Andrew Cagney [Sun, 7 Apr 2002 20:53:57 +0000 (20:53 +0000)]
* Makefile.in (do-tar-bz2): Delete rule.  Replace with ...
(do-tar, do-bz2): New rules.
(taz): Update.  Replace do-tar-bz2 with do-tar and do-bz2.
(gdb-tar): New rule.
(gdb-taz): Rewrite.  Use gdb-tar and do-bz2.
(insight_dejagnu.tar): New rule.
(insight.tar): New rule.
(gdb+dejagnu.tar): New rule.
(gdb.tar): New rule.

22 years ago* MAINTAINERS: Update dejagnu/
Andrew Cagney [Sun, 7 Apr 2002 19:17:07 +0000 (19:17 +0000)]
* MAINTAINERS: Update dejagnu/

22 years ago* README (Reporting Bugs in GDB): Document the bug web page as the
Andrew Cagney [Sun, 7 Apr 2002 19:09:58 +0000 (19:09 +0000)]
* README (Reporting Bugs in GDB): Document the bug web page as the
prefered way of submitting bugs.
Fix PR gdb/402.

* gdb.texinfo (Bug Reporting): Document that the web is the
prefered way of submitting bug reports.
(Bug Reporting): Delete the s-mail address as the last resort.

22 years agofix a typo in my name
Matthew Green [Sun, 7 Apr 2002 13:56:38 +0000 (13:56 +0000)]
fix a typo in my name

22 years ago* gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
Andrew Cagney [Sun, 7 Apr 2002 02:16:46 +0000 (02:16 +0000)]
* gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
-1.  Update comment.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago*** empty log message ***
gdbadmin [Sun, 7 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago * m68klinux-nat.c (fill_fpregset): Properly pass address of
Andreas Schwab [Sat, 6 Apr 2002 23:42:15 +0000 (23:42 +0000)]
* m68klinux-nat.c (fill_fpregset): Properly pass address of
buffer to regcache_collect.

22 years ago* gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
Andrew Cagney [Sat, 6 Apr 2002 20:50:10 +0000 (20:50 +0000)]
* gdbarch.sh (PS_REGNUM): Add.  Document.  Default to -1.
* gdbarch.c, gdbarch.h: Re-generate.

22 years ago* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
Andrew Cagney [Sat, 6 Apr 2002 18:28:20 +0000 (18:28 +0000)]
* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
declaration.  Fix -Werror.

22 years agoCorrect bad checkin (missing semicolon somehow)
Daniel Jacobowitz [Sat, 6 Apr 2002 03:07:59 +0000 (03:07 +0000)]
Correct bad checkin (missing semicolon somehow)

22 years ago2002-04-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 6 Apr 2002 02:39:10 +0000 (02:39 +0000)]
2002-04-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
        * gdbarch.c: Regenerate.

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 6 Apr 2002 01:52:34 +0000 (01:52 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* cli/cli-dump.c (restore_section_callback): Use paddr_nz.

22 years ago2002-04-05 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sat, 6 Apr 2002 01:51:35 +0000 (01:51 +0000)]
2002-04-05  H.J. Lu  (hjl@gnu.org)

* solib-svr4.c (bkpt_names): Add "__start".

22 years ago* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
Andrew Cagney [Sat, 6 Apr 2002 00:19:44 +0000 (00:19 +0000)]
* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
as test for 64 bit target.

22 years ago* h8500-tdep.c (h8500_write_fp): Delete function.
Andrew Cagney [Sat, 6 Apr 2002 00:02:52 +0000 (00:02 +0000)]
* h8500-tdep.c (h8500_write_fp): Delete function.
* dwarf2cfi.c (cfi_write_fp): Document as not used.
* mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
* ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
* s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
(s390_write_fp):
* sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
* x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
* d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
(d10v_write_fp): Delete function.
* inferior.h (write_fp, generic_target_write_fp): Delete
declarations.
* regcache.c (generic_target_write_fp): Delete function.
(write_fp): Delete function.
* gdbarch.sh (TARGET_WRITE_FP): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
* config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
(sparc64_write_fp): Delete declaration.
* config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
(h8500_write_fp): Delete declaration.

22 years agodaily update
Alan Modra [Sat, 6 Apr 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 6 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* sparc-tdep.c (sparc64_write_fp): Delete.
Andrew Cagney [Fri, 5 Apr 2002 23:38:07 +0000 (23:38 +0000)]
* sparc-tdep.c (sparc64_write_fp): Delete.
(sparc_push_dummy_frame): Replace write_fp call with code to store
the FP directly.
(sparc_gdbarch_init): Do not initialize write_fp.

22 years ago * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:11:32 +0000 (23:11 +0000)]
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
R_CRIS_32_PCREL>: Fix typo in name.
(cris_elf_check_relocs): Always create .rela.got here when
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen.
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here;
assume it's created.

22 years ago * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
Kevin Buettner [Fri, 5 Apr 2002 22:36:32 +0000 (22:36 +0000)]
* rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
clause.

22 years ago * generic/gdbtk-stack.c (gdb_block_vars): Update get_frame_block to
Keith Seitz [Fri, 5 Apr 2002 22:27:30 +0000 (22:27 +0000)]
    * generic/gdbtk-stack.c (gdb_block_vars): Update get_frame_block to
        match recent gdb changes.
        (gdb_get_blocks): Likewise.
        (gdb_get_vars_command): Likewise.
        (gdb_selected_block): Likewise.

22 years agogdb/ChangeLog:
Jim Blandy [Fri, 5 Apr 2002 22:04:43 +0000 (22:04 +0000)]
gdb/ChangeLog:
* stack.c (get_selected_block): Add new argument `addr_in_block',
used to return the exact code address we used to select the block,
not just the block.
* blockframe.c (get_frame_block, get_current_block): Same.
* frame.h (get_frame_block, get_current_block,
get_selected_block): Update declarations.
* linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.

gdb/mi/ChangeLog:
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
get_frame_block.  (See entry in gdb/ChangeLog.)

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 5 Apr 2002 19:16:15 +0000 (19:16 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
warning message.

22 years agoDocument the addition of the new xfullpath.exp testcase.
Joel Brobecker [Fri, 5 Apr 2002 16:45:04 +0000 (16:45 +0000)]
Document the addition of the new xfullpath.exp testcase.

22 years agoNew testcase.
Joel Brobecker [Fri, 5 Apr 2002 16:43:57 +0000 (16:43 +0000)]
New testcase.

22 years agoDocument changes relative to the new xfullpath function.
Joel Brobecker [Fri, 5 Apr 2002 16:43:14 +0000 (16:43 +0000)]
Document changes relative to the new xfullpath function.

22 years ago(lookup_symtab): Use the new xfullpath function, in order to be able to
Joel Brobecker [Fri, 5 Apr 2002 16:42:04 +0000 (16:42 +0000)]
(lookup_symtab): Use the new xfullpath function, in order to be able to
match a filename with either the real filename, or the name of any
symbolic link to this file.
(lookup_partial_symtab): Ditto.

22 years ago(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
Joel Brobecker [Fri, 5 Apr 2002 16:40:45 +0000 (16:40 +0000)]
(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
basename part of filenames when the associated file is a symbolic link.
This fixes a potential inconsistency between the filenames known to GDB
and the filenames it prints in the annotations.

22 years ago(xfullpath): Add declaration.
Joel Brobecker [Fri, 5 Apr 2002 16:39:36 +0000 (16:39 +0000)]
(xfullpath): Add declaration.

22 years ago(xfullpath): New function.
Joel Brobecker [Fri, 5 Apr 2002 16:39:11 +0000 (16:39 +0000)]
(xfullpath): New function.

22 years ago2002-04-05 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 5 Apr 2002 15:59:23 +0000 (15:59 +0000)]
2002-04-05  Elena Zannoni  <ezannoni@redhat.com>

* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
instead of tm_print_insn.
Update copyright year.