OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago * ada-lang.c: run through gdb_indent.sh
Aidan Skinner [Sun, 18 Aug 2002 18:11:12 +0000 (18:11 +0000)]
    * ada-lang.c: run through gdb_indent.sh
        * ada-lang.h: run through gdb_indent.sh
        * ada-tasks.c: run through gdb_indent.sh
        * ada-typeprint.c: run through gdb_indent.sh
        * ada-valprint.c: run through gdb_indent.sh

21 years ago2002-08-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 18 Aug 2002 17:59:57 +0000 (17:59 +0000)]
2002-08-18  Andrew Cagney  <ac131313@redhat.com>
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown
ABI.

21 years ago* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.
Mark Kettenis [Sun, 18 Aug 2002 17:37:17 +0000 (17:37 +0000)]
* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.

21 years ago* config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.
Mark Kettenis [Sun, 18 Aug 2002 17:28:50 +0000 (17:28 +0000)]
* config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.
* i386b-nat.c [FLOAT_INFO]: Remove dead code.

21 years ago* i386-tdep.c (i386_do_pop_frame, i386_store_return_value): Call
Mark Kettenis [Sun, 18 Aug 2002 17:18:45 +0000 (17:18 +0000)]
* i386-tdep.c (i386_do_pop_frame, i386_store_return_value): Call
write_register_gen instead of write_register_bytes.

21 years ago* NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* and
Mark Kettenis [Sun, 18 Aug 2002 16:32:14 +0000 (16:32 +0000)]
* NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* and
i[3456]-*-osf1mk* configurations have been made obsolete.
* configure.host: Make i[3456]86-*-mach3*, i[3456]86-*mach* and
i[3456]86-*-osf1mk* hosts obsolete.
* confighure.tgt: Make i[3456]86-*-mach3*, i[3456]86-*-osf1mk*
targets obsolete.
* config/i386/i386mach.mh, config/i386/nm-i386mach.h,
config/i386/xm-i386mach.h, config/i386/i386m3.mh,
config/i386/i386m3.mt, config/i386/nm-m3.h,
config/i386/tm-i386m3.h, config/i386/xm-i386m3.h,
config/i386/i386mk.mh, config/i386/i386mk.mt,
config/i386/tm-i386mk.h, config/i386/xm-i386mk.h: Make files
obsolete.
* i386mach-nat.c, i386m3-nat.c: Make files obsolete.
* Makefile.in (ALLDEPFILES): Remove i386mach.c i386m3-nat.c
(i386mach-nat.o, i386m3-nat.o):Make targets obsolete.

21 years ago2002-08-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 18 Aug 2002 16:09:04 +0000 (16:09 +0000)]
2002-08-18  Andrew Cagney  <ac131313@redhat.com>
* config/pa/tm-hppa.h (hppa_store_return_value): Declare.
(hppa_value_returned_from_stack): Declare.
(hppa_extract_return_value): Declare.
* config/pa/hppa.mt: New file.
* configure.tgt: Recognize hppa*-*-*.
* MAINTAINERS: Change HPPA target to hppa-elf.  Still broken.

21 years ago* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
Mark Kettenis [Sun, 18 Aug 2002 14:47:59 +0000 (14:47 +0000)]
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
comment.

21 years ago* top.c (gdb_rl_operate_and_get_next): Make sure
Mark Kettenis [Sun, 18 Aug 2002 12:39:03 +0000 (12:39 +0000)]
* top.c (gdb_rl_operate_and_get_next): Make sure
operate-and-get-next functions correctly even when the history
list is completely filled.

21 years ago2002-08-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 18 Aug 2002 04:14:02 +0000 (04:14 +0000)]
2002-08-17  Andrew Cagney  <ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu.  Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.

21 years ago2002-08-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 18 Aug 2002 04:00:46 +0000 (04:00 +0000)]
2002-08-17  Andrew Cagney  <ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu.  Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.

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

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

21 years ago* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
Andrew Cagney [Sat, 17 Aug 2002 16:09:02 +0000 (16:09 +0000)]
* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
`bfd_byte'.

21 years ago * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the
Stan Cox [Sat, 17 Aug 2002 15:31:29 +0000 (15:31 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the
IRIX 6 segment layout for NEWABI.

21 years ago* i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): Use
Mark Kettenis [Sat, 17 Aug 2002 11:39:38 +0000 (11:39 +0000)]
* i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): Use
generic_func_frame_valid instead of func_frame_valid.

21 years ago* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
Mark Kettenis [Sat, 17 Aug 2002 10:22:01 +0000 (10:22 +0000)]
* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
targets.  The problem should be fixed now.

21 years ago * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
Joel Brobecker [Sat, 17 Aug 2002 06:12:52 +0000 (06:12 +0000)]
    * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
        procfs appears to be broken when debugging on multi-processor
        machines. So enable software single stepping in order to avoid
        using the procfs interface to do next/step operations, using
        internal breakpoints instead.

        * infrun.c (handle_inferior_event): Readjust the stop_pc by
        DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to
        make this pc address equal to the value it would have if the
        system stepping capability was used. Also set a new flag used
        to ensure that we don't readjust the PC one more time later.

        * breakpoint.c (bpstat_stop_status): Do not adjust the PC
        address by DECR_PC_AFTER_BREAK when software single step is
        in use for this architecture, as this has already been taken
        care of in handle_inferior_event().

21 years ago * infrun.c (handle_inferior_event): Minor reformatting, to make
Joel Brobecker [Sat, 17 Aug 2002 00:16:54 +0000 (00:16 +0000)]
    * infrun.c (handle_inferior_event): Minor reformatting, to make
        a rather long condition expression easier to read.

21 years agoMove gdbtk gunk to end of file.
Andrew Cagney [Sat, 17 Aug 2002 00:04:36 +0000 (00:04 +0000)]
Move gdbtk gunk to end of file.

21 years ago*** empty log message ***
gdbadmin [Sat, 17 Aug 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 17 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-16 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 16 Aug 2002 23:32:04 +0000 (23:32 +0000)]
2002-08-16  Andrew Cagney  <ac131313@redhat.com>
* Makefile.in (copying.o): Separate out compile rule.
(hpux-thread.o, procfs.o, signals.o): Ditto.
(v850ice.o, z8k-tdep.o): Ditto.
(tui-file.o): Move to TUI section.
(xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section.
(nindy.o, Onindy.o, ttyflush.o): Move to separate section.

21 years ago * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
Joel Brobecker [Fri, 16 Aug 2002 22:44:00 +0000 (22:44 +0000)]
    * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
        skip_trampoline_code, for better namespace-proofing.

        * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.

21 years ago * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
Joel Brobecker [Fri, 16 Aug 2002 20:32:58 +0000 (20:32 +0000)]
   * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.

21 years ago * bfd/elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect
Stephen Clarke [Fri, 16 Aug 2002 18:40:54 +0000 (18:40 +0000)]
* bfd/elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect
symbols when looking for section referred to by a relocation.
* bfd/elf64-sh.c (sh_elf64_gc_mark_hook): Likewise.

21 years ago * infrun.c (handle_inferior_event): When receiving a SIGTRAP
Joel Brobecker [Fri, 16 Aug 2002 17:56:17 +0000 (17:56 +0000)]
    * infrun.c (handle_inferior_event): When receiving a SIGTRAP
        signal, check whether we hit a breakpoint before checking for a
        single step breakpoint. Otherwise, GDB fails to notice that a
        breakpoint has been hit when stepping onto a breakpoint.

21 years ago * gdb-events.sh (clear_gdb_event_hooks): New function.
Keith Seitz [Fri, 16 Aug 2002 16:09:07 +0000 (16:09 +0000)]
    * gdb-events.sh (clear_gdb_event_hooks): New function.
        * gdb-events.c: Regenerate.
        * gdb-events.h: Regenerate.

21 years ago* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
Andrew Cagney [Fri, 16 Aug 2002 15:37:54 +0000 (15:37 +0000)]
* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
not_a_sw_breakpoint.
* breakpoint.h (bpstat_stop_status): Add parameter names.

21 years ago * remote.c (remote_insert_hw_breakpoint)
Grace Sainsbury [Fri, 16 Aug 2002 14:52:12 +0000 (14:52 +0000)]
* remote.c (remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint): Fix calculation of length field
for Z-packet.

21 years agooops - fix typo in previous delta
Nick Clifton [Fri, 16 Aug 2002 09:38:09 +0000 (09:38 +0000)]
oops - fix typo in previous delta

21 years ago2002-08-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 16 Aug 2002 04:10:23 +0000 (04:10 +0000)]
2002-08-15  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h (FUNCTION_START_OFFSET, IN_SIGTRAMP,
REGISTER_VIRTUAL_SIZE): Delete.
(REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert
from macros to functions.

* mips-tdep.c (mips_register_convert_from_type,
        mips_register_convert_to_type): New functions.
        (mips_gdbarch_init): Set up function_start_offset,
register_virtual_size, pc_in_sigtramp.

21 years ago2002-08-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 16 Aug 2002 03:07:34 +0000 (03:07 +0000)]
2002-08-15  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_do_registers_info): Make static.
        (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch.
        * config/mips/tm-mips.h (DO_REGISTERS_INFO): Delete.

21 years ago2002-08-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 16 Aug 2002 02:36:49 +0000 (02:36 +0000)]
2002-08-15  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_gdbarch_init): Set gdbarch read_sp to
mips_read_sp.
        * config/mips/tm-mips.h (TARGET_READ_SP): Delete.

21 years ago2002-08-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 16 Aug 2002 02:01:50 +0000 (02:01 +0000)]
2002-08-15  Michael Snyder  <msnyder@redhat.com>

* irix5-nat.c (supply_gregset): Allocate plenty-big buffer
(32 bytes) instead of using MAX_REGISTER_RAW_SIZE.
(supply_fpregset): Ditto.

21 years ago2002-08-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 16 Aug 2002 01:23:17 +0000 (01:23 +0000)]
2002-08-15  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE,
MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete.
* mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch.
(mips_register_convertible, mips_register_convert_to_virtual,
mips_register_convert_to_raw): Make static.

21 years ago2002-08-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 16 Aug 2002 00:27:46 +0000 (00:27 +0000)]
2002-08-15  Andrew Cagney  <ac131313@redhat.com>

* infcmd.c (vector_info): New function.
(_initialize_infcmd): Add command "info vector".
(print_vector_info): New function.

* gdbarch.sh (PRINT_VECTOR_INFO): New method
* gdbarch.h, gdbarch.c: Regenerate.

Index: doc/ChangeLog
2002-08-15  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
PRINT_VECTOR_INFO.
* gdb.texinfo (Vector Unit): Document "info vectors" command.

21 years ago2002-08-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 16 Aug 2002 00:13:03 +0000 (00:13 +0000)]
2002-08-15  Andrew Cagney  <ac131313@redhat.com>

* infcmd.c (do_registers_info): Rename parameter ``fpregs'' to
``print_all''.  Only print vector registers when ``print_all''.

21 years ago2002-08-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 16 Aug 2002 00:01:59 +0000 (00:01 +0000)]
2002-08-15  Andrew Cagney  <ac131313@redhat.com>

* i387-tdep.h (i387_print_float_info): Add `args' parameter.
* i387-tdep.c (i387_print_float_info): Add `args' parameter.

21 years agodaily update
Alan Modra [Fri, 16 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 16 Aug 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-08-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 15 Aug 2002 23:41:20 +0000 (23:41 +0000)]
2002-08-15  Andrew Cagney  <ac131313@redhat.com>
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
Add `args' parameter.
* gdbarch.h, gdbarch.c: Regenerate.

* arm-tdep.c (arm_print_float_info): Add the parameter `args'.

* infcmd.c (float_info): Call print_float_info.
(print_float_info): New function.  By default, print the
floating-point registers.

* arch-utils.h (default_print_float_info): Delete declaration.
* arch-utils.c (default_print_float_info): Delete function.

21 years ago* config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented
Mark Kettenis [Thu, 15 Aug 2002 23:21:34 +0000 (23:21 +0000)]
* config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented
out define.

21 years agoRemove bfd/ prefix from files.
Alan Modra [Thu, 15 Aug 2002 23:19:28 +0000 (23:19 +0000)]
Remove bfd/ prefix from files.

21 years ago* i387-tdep.c (i387_print_float_info): Add comment about ignoring
Mark Kettenis [Thu, 15 Aug 2002 23:06:54 +0000 (23:06 +0000)]
* i387-tdep.c (i387_print_float_info): Add comment about ignoring
FRAME.

21 years ago* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
Mark Kettenis [Thu, 15 Aug 2002 22:51:40 +0000 (22:51 +0000)]
* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
* configure.host: Make i[3456]86-*-aix host obsolete.
* configure.tgt: Make i[3456]86-*-aix target obsolete.
* config/i386/i386aix.mh, config/i386/i386aix.mt,
config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h,
config/i386/xm-i386aix.h: Make files obsolete.
* i386aix-nat.c: Make file obsolete.
* Makefile.in (ALLDEPFILES): Remove i386aix-nat.c.
(i386aix-nat.o): Make target obsolete.

21 years ago* config/i386/nm-gnu.h: Removed.
Mark Kettenis [Thu, 15 Aug 2002 22:24:01 +0000 (22:24 +0000)]
* config/i386/nm-gnu.h: Removed.
* config/i386/nm-i386gnu.h: New file.
(THREAD_STATE_FLAVOR, THREAD_STATE_SIZE,
THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH):
Moved here from ...
* config/i386/tm-i386gnu.h: ... here.  Removed.
* config/i386/xm-i386gnu.h: Removed.
* config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h.
(NAT_FILE): Set to nm-i386gnu.h.
* config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o.
* i386-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c.
(i386gnu-tdep.o): Specify dependencies.

21 years ago* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
Mark Kettenis [Thu, 15 Aug 2002 21:16:19 +0000 (21:16 +0000)]
* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
"i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h".
Adjust a few comments to reflect reality a bit closer.
(KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT,
HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
target_insert_watchpoint, target_remove_watchpoint):
Move defines to ...
* config/i386/nm-i386sco5.h: ... here.
(kernel_u_size): Add prototype.  Improve a few comments and add
protection against multiple inclusion.

21 years ago* config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
Mark Kettenis [Thu, 15 Aug 2002 19:34:58 +0000 (19:34 +0000)]
* config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
out define.

21 years ago* uw-thread.c (SP_ARG0): Define if not already defined.
Mark Kettenis [Thu, 15 Aug 2002 19:00:47 +0000 (19:00 +0000)]
* uw-thread.c (SP_ARG0): Define if not already defined.
* config/i386/tm-i386.h (SO_ARG0): Remove define.

21 years ago* config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
Mark Kettenis [Thu, 15 Aug 2002 18:49:52 +0000 (18:49 +0000)]
* config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.

21 years ago*** empty log message ***
Mark Kettenis [Thu, 15 Aug 2002 18:38:43 +0000 (18:38 +0000)]
*** empty log message ***

21 years ago* config/i386/tm-i386.h: Don't include "regcache.h".
Mark Kettenis [Thu, 15 Aug 2002 18:35:11 +0000 (18:35 +0000)]
* config/i386/tm-i386.h: Don't include "regcache.h".

21 years ago * README: Massive update.
Keith Seitz [Thu, 15 Aug 2002 18:00:17 +0000 (18:00 +0000)]
    * README: Massive update.

21 years ago* i387-tdep.h (i387_print_float_info): New prototype.
Mark Kettenis [Thu, 15 Aug 2002 17:36:57 +0000 (17:36 +0000)]
* i387-tdep.h (i387_print_float_info): New prototype.
* i387-tdep.c (print_i387_value, print_i387_ext,
print_i387_status_word, print_i387_control_word): Add `struct
ui_file *' argument and use it for output.
(i387_print_float_info): Renamed from i387_float_info.  Add
`struct gdbarch *' and `struct ui_file *' arguments and use the
latter for output.
* i386-tdep.c: Include "i387-tdep.h".
(i386_gdbarch_init): Set print_float_info.
* config/i386/tm-i386.h (i387_float_info): Remove prototype.
(FLOAT_INFO): Remove define.

21 years ago* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
Mark Kettenis [Thu, 15 Aug 2002 17:18:50 +0000 (17:18 +0000)]
* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2002-07-24 change that removes final dots from error messages.

21 years agoCatch and ignore SWIs of -1, they can be caused by an interrupted system
Nick Clifton [Thu, 15 Aug 2002 14:28:55 +0000 (14:28 +0000)]
Catch and ignore SWIs of -1, they can be caused by an interrupted system
call being resumed by GDB.

21 years ago * elf32-i370.c: Move reloc enum to include/elf/i370.h.
Alan Modra [Thu, 15 Aug 2002 12:21:39 +0000 (12:21 +0000)]
* elf32-i370.c: Move reloc enum to include/elf/i370.h.

21 years ago * i370.h: Define relocs using reloc-macros.h.
Alan Modra [Thu, 15 Aug 2002 12:19:14 +0000 (12:19 +0000)]
* i370.h: Define relocs using reloc-macros.h.

21 years ago * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add
Hans-Peter Nilsson [Thu, 15 Aug 2002 05:20:54 +0000 (05:20 +0000)]
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add
missing check for whether the symbol is referenced by DSO before
unexporting it as an unneeded dynamic symbol.

21 years ago*** empty log message ***
gdbadmin [Thu, 15 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 15 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * README.GDBTK: Updated and renamed to README.
Keith Seitz [Wed, 14 Aug 2002 20:09:20 +0000 (20:09 +0000)]
    * README.GDBTK: Updated and renamed to README.
        * README: "New" file.

21 years ago2002-08-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 14 Aug 2002 19:17:39 +0000 (19:17 +0000)]
2002-08-13  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_push_arguments): Rename to
mips_eabi_push_arguments, and tune for EABI.
(MIPS_REGS_HAVE_HOME_P): Delete.
(struct gdbarch_tdep): Remove mips_regs_have_home_p field.
(mips_gdbarch_init): Set gdbarch push_arguments for eabi.
Delete references to mips_regs_have_home_p.

21 years ago * Makefile.in (install-gdbtk): Create insight plugin directory.
Keith Seitz [Wed, 14 Aug 2002 18:13:30 +0000 (18:13 +0000)]
    * Makefile.in (install-gdbtk): Create insight plugin directory.
        Install plugins.tcl file.

21 years ago * library/srcbar.itcl (create_plugin_menu): Deal with
Keith Seitz [Wed, 14 Aug 2002 18:10:49 +0000 (18:10 +0000)]
    * library/srcbar.itcl (create_plugin_menu): Deal with
        multi plugin directories.
        Catch any errors that might occur reading plugin.tcl.
        * library/main.tcl: Add plugins from new default directory.
        (INSIGHT_PLUGINS): New environment variable to point to other
        plugin directories.

21 years ago * library/plugins: Removed.
Keith Seitz [Wed, 14 Aug 2002 18:09:24 +0000 (18:09 +0000)]
    * library/plugins: Removed.
        * plugins/: New folder to hold plugins.
        * Makefile.am, Makefile.in, aclocal.m4, configure,
        configure.in: New files.

21 years agoRemoved. Moved to ../plugins, since the plugins could contain host-specific
Keith Seitz [Wed, 14 Aug 2002 18:06:46 +0000 (18:06 +0000)]
Removed. Moved to ../plugins, since the plugins could contain host-specific
code.

21 years agoAdd improved support for plugin handling. Much of the plugins have simply
Keith Seitz [Wed, 14 Aug 2002 18:06:06 +0000 (18:06 +0000)]
Add improved support for plugin handling. Much of the plugins have simply
been copied from ../library/plugins.

21 years ago * configure.in: Move SUBDIRS to near top of the file so that
Keith Seitz [Wed, 14 Aug 2002 17:43:16 +0000 (17:43 +0000)]
    * configure.in: Move SUBDIRS to near top of the file so that
        --enable options may add things to it.
        If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs.
        * configure: Regenerate.

21 years ago2002-08-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Aug 2002 16:42:56 +0000 (16:42 +0000)]
2002-08-14  H.J. Lu <hjl@gnu.org>

* libbfd.h: Regenerate.

21 years ago * generic/gdbtk.c (view_command): New function to display
Keith Seitz [Wed, 14 Aug 2002 15:44:24 +0000 (15:44 +0000)]
    * generic/gdbtk.c (view_command): New function to display
        location in source window.
        (gdbtk_init): Add new gdb "view" command.

21 years agoAdd "want64=yes" to 32bit Linux/mips.
H.J. Lu [Wed, 14 Aug 2002 15:18:54 +0000 (15:18 +0000)]
Add "want64=yes" to 32bit Linux/mips.

21 years agoAlways enable 64bit targets for 32bit Linux/mips.
H.J. Lu [Wed, 14 Aug 2002 15:05:40 +0000 (15:05 +0000)]
Always enable 64bit targets for 32bit Linux/mips.

21 years ago * elf32-m68hc11.c (m68hc11_relax_group): New to relax group of
Stephane Carrez [Wed, 14 Aug 2002 08:14:30 +0000 (08:14 +0000)]
* elf32-m68hc11.c (m68hc11_relax_group): New to relax group of
instructions.
(m68hc11_direct_relax): New to define table of relaxable instructions.
(find_relaxable_insn): New, find a relaxable insn.
(compare_reloc): New to compare two relocs.
(m68hc11_elf_relax_section): New, relax text sections.
(m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs.
(elf32_m68hc11_check_relocs): New function for GC support.
(elf32_m68hc11_relocate_section): New function for GC support.
(bfd_elf32_bfd_relax_section): Define to support linker relaxation.
(elf_backend_check_relocs): Likewise.
(elf_backend_relocate_section): Likewise.

21 years ago2002-08-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 14 Aug 2002 03:25:48 +0000 (03:25 +0000)]
2002-08-13  H.J. Lu <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count
definitions in shared objects when checking symbol with
undefined version.

21 years ago2002-08-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 14 Aug 2002 01:20:03 +0000 (01:20 +0000)]
2002-08-13  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_o32o64_push_arguments):  New function,
cloned from mips_push_arguments, tuned for o32/o64 ABI.
(mips_gdbarch_init): Set gdbarch_push_arguments to new func.

21 years ago2002-08-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 14 Aug 2002 00:23:59 +0000 (00:23 +0000)]
2002-08-13  Andrew Cagney  <ac131313@redhat.com>

* vax-tdep.c (vax_get_saved_register): Delete function.
(vax_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_get_saved_register): Delete function.
(ns32k_gdbarch_init): Update.
* alpha-tdep.c (alpha_get_saved_register): Delete function.
(alpha_gdbarch_init): Update.

21 years agodaily update
Alan Modra [Wed, 14 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 14 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-08-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 13 Aug 2002 23:06:40 +0000 (23:06 +0000)]
2002-08-13  Andrew Cagney  <cagney@redhat.com>

* regcache.c (init_regcache_descr): Overallocate the
raw_register_valid_p array including space for NUM_PSEUDO_REGS.
(registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with
num_raw_registers.
(set_register_cached): Add range checking assertions.  Use
current_regcache.

21 years ago * gdb.base/readline.exp: New file.
Tom Tromey [Tue, 13 Aug 2002 22:10:18 +0000 (22:10 +0000)]
* gdb.base/readline.exp: New file.

21 years ago* i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
Mark Kettenis [Tue, 13 Aug 2002 21:54:18 +0000 (21:54 +0000)]
* i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
numbers for MMX registers.

21 years ago2002-08-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 13 Aug 2002 21:39:00 +0000 (21:39 +0000)]
2002-08-13  Andrew Cagney  <ac131313@redhat.com>

* gdb.texinfo (Maintenance Commands): Document "maint print
registers", "maint print raw-registers" and "maint print
cooked-registers".

21 years ago * elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC.
Stephane Carrez [Tue, 13 Aug 2002 21:15:47 +0000 (21:15 +0000)]
* elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC.
(elf32_m68hc11_gc_sweep_hook): Likewise.
(elf_backend_gc_mark_hook): Define for GC section support.
(elf_backend_gc_sweep_hook): Likewise.
(elf_backend_can_gc_sections): Likewise.

* elf32-m68hc12.c: Likewise.

21 years agoFix integration pb for:
Stephane Carrez [Tue, 13 Aug 2002 21:04:21 +0000 (21:04 +0000)]
Fix integration pb for:
    * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
    fix masks for PC-rel relocs.
    (m68hc11_elf_ignore_reloc): New function.

21 years ago * elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New.
Stephane Carrez [Tue, 13 Aug 2002 20:56:59 +0000 (20:56 +0000)]
* elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New.
(_bfd_m68hc11_elf_merge_private_bfd_data): New function.
(_bfd_m68hc11_elf_set_private_flags): New function.
Use them to set/check/print ELF flags specific to 68HC11.

* elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New.
(_bfd_m68hc12_elf_merge_private_bfd_data): New function.
(_bfd_m68hc12_elf_set_private_flags): New function.
Use them to set/check/print ELF flags specific to 68HC12.

21 years ago * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
Stephane Carrez [Tue, 13 Aug 2002 20:43:01 +0000 (20:43 +0000)]
* elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs;
fix masks for PC-rel relocs.
(m68hc11_elf_ignore_reloc): New function.

* elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific
68HC12 banked addressing relocs.
(m68hc12_phys_addr): New to compute physical address of banked memory.
(m68hc12_phys_page): Likewise for page.
(m68hc12_addr_is_banked): New to see if address is in banked area.
(elf_m68hc12_howto_table): Add new relocs and rename to xx12.

21 years ago * reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP,
Stephane Carrez [Tue, 13 Aug 2002 20:08:49 +0000 (20:08 +0000)]
* reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP,
BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE,
BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12.
* bfd-in2.h: Regenerate.

21 years ago* i386-tdep.c (i386_gdbarch_init): Use
Andrew Cagney [Tue, 13 Aug 2002 19:14:09 +0000 (19:14 +0000)]
* i386-tdep.c (i386_gdbarch_init): Use
generic_unwind_get_saved_register.

21 years ago * m68hc11-opc.c: Update call operand to accept the page definition.
Stephane Carrez [Tue, 13 Aug 2002 19:09:01 +0000 (19:09 +0000)]
* m68hc11-opc.c: Update call operand to accept the page definition.
Identify instructions that are branches and calls to generate a
RL_JUMP relocation.

21 years ago * m68hc11-dis.c (print_insn): Take into account 68HC12 memory
Stephane Carrez [Tue, 13 Aug 2002 19:01:25 +0000 (19:01 +0000)]
* m68hc11-dis.c (print_insn): Take into account 68HC12 memory
banks and fix disassembling of call instruction.
(print_indexed_operand): New param to tell whether
it was an indirect addressing operand (for disassembling call).

21 years ago * m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
Stephane Carrez [Tue, 13 Aug 2002 19:00:40 +0000 (19:00 +0000)]
* m68hc11.h (M6812_OP_PAGE): Define to identify call operand.
(M68HC12_BANK_VIRT, M68HC12_BANK_MASK, M68HC12_BANK_BASE,
M68HC12_BANK_SHIFT, M68HC12_BANK_PAGE_MASK): Define for 68HC12
memory banks.
(M6811_OC1M5, M6811_OC1M4, M6811_MODF): Fix value.

21 years ago * procfs.c (procfs_can_use_hw_breakpoint): New function.
Kevin Buettner [Tue, 13 Aug 2002 18:03:38 +0000 (18:03 +0000)]
* procfs.c (procfs_can_use_hw_breakpoint): New function.
(init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs
target vector.
* config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Delete.  Add comment regarding this now-deleted target method.

21 years ago * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
Stephane Carrez [Tue, 13 Aug 2002 17:24:50 +0000 (17:24 +0000)]
* m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define.
(M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg).
(m68hc11_pseudo_register_read): Compute the 68HC12 PC using the
real PC and the page number (if it's within the memory bank window).
(m68hc11_pseudo_register_write): Likewise when saving.
(m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc.
(m68hc11_register_virtual_type): Return uint32 for virtual pc.
(m68hc11_register_raw_size): And use 32-bit for it.
(m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the
16K memory bank is used by the prog; also use the virtual pc.

21 years ago * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
Stephane Carrez [Tue, 13 Aug 2002 16:40:46 +0000 (16:40 +0000)]
* m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function.
(m68hc11_gdbarch_init): Install it in gdbarch.
(MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags.
(MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags.
(MSYMBOL_SIZE): New for documentation.
(insn_return_kind): Enum to specify how a function returns.
(frame_extra_info): Cleanup and record the return mode.
(gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page
register in address computation.
(m68hc11_get_return_insn): New to obtain the return instruction used
by the function.
(m68hc11_frame_init_saved_regs): Take into account the return
instruction used by the function for far and interrupt functions.
(m68hc11_init_extra_frame_info): Take into account page register.
(m68hc11_frame_args_address): Adjust according to the return mode.
(show_regs): Print page register only when it's used.

21 years ago * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
Stephane Carrez [Tue, 13 Aug 2002 16:19:22 +0000 (16:19 +0000)]
* m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register.
(M68HC11_LAST_HARD_REG, m68hc11_register_names): Update.
(m68hc11_register_virtual_type): Return a 8-bit type for 8-bit
registers.
(m68hc11_register_raw_size): Likewise.

21 years ago2002-08-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 13 Aug 2002 14:32:28 +0000 (14:32 +0000)]
2002-08-13  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c (i386_register_name): Handle mmx registers.
(mmx_regnum_p): New function.
(i386_mmx_names): New array.
(mmx_num_regs): New variable.
(i386_pseudo_register_read): New function.
(i386_pseudo_register_write): New function.
(mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.

* regcache.c (regcache_raw_read_unsigned): New function.
(regcache_raw_read_signed): New function.
* regcache.h (regcache_raw_read_unsigned): Declare.
(regcache_raw_read_signed): Declare.

21 years ago2002-08-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 13 Aug 2002 13:58:50 +0000 (13:58 +0000)]
2002-08-12  Andrew Cagney  <cagney@redhat.com>
* regcache.c (regcache_raw_read_as_address): Delete function.
(regcache_cooked_read_signed): New function.
(regcache_cooked_read_unsigned): New function.
* regcache.h (regcache_cooked_read_signed): Declare.
(regcache_cooked_read_unsigned): Declare.
(regcache_raw_read_as_address): Delete declaration.
* blockframe.c (generic_read_register_dummy): Use
regcache_cooked_read_unsigned.
* i386-tdep.c (i386_extract_struct_value_address): Use
regcache_cooked_read_unsigned.

21 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
Stephane Carrez [Tue, 13 Aug 2002 13:10:42 +0000 (13:10 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long
double sizes according to ELF ABI flags.
(gdbarch_tdep): Record elf_flags.