external/binutils.git
21 years ago * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
Joel Brobecker [Thu, 14 Aug 2003 00:23:51 +0000 (00:23 +0000)]
   * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correct
       bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization
       routine.

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

21 years ago*** empty log message ***
gdbadmin [Thu, 14 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Aug 2003 21:59:20 +0000 (21:59 +0000)]
2003-08-13  Michael Snyder  <msnyder@redhat.com>

        * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
(frv_saved_pc_after_call): Use deprecated ftype.
        (stupid_useless_init_extra_frame_info): Remove orphan prototype.
(frv_remote_translate_xfer_address): Remove.
(frv_gdbarch_init): Use generic_remote_translate_xfer_address.

21 years ago * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
Joel Brobecker [Wed, 13 Aug 2003 18:57:01 +0000 (18:57 +0000)]
   * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarch
       initialization after the common gdbarch initialization, not before.

21 years ago * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
Joel Brobecker [Wed, 13 Aug 2003 18:05:40 +0000 (18:05 +0000)]
   * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.
       (ADDR_BITS_REMOVE): Remove, redundant.

21 years ago * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
Joel Brobecker [Wed, 13 Aug 2003 17:09:09 +0000 (17:09 +0000)]
    * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_remove
        gdbarch method to clear the 2 low bits of text addresses.

21 years ago * genscripts.sh (libpath.exp): Only generate for first emulation.
Alan Modra [Wed, 13 Aug 2003 08:38:23 +0000 (08:38 +0000)]
* genscripts.sh (libpath.exp): Only generate for first emulation.
(LIB_PATH): Correct order of paths.  Don't add $tool_lib when
already present or when LIB_PATH is set to ":".

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

21 years ago*** empty log message ***
gdbadmin [Wed, 13 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-08-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 12 Aug 2003 22:27:19 +0000 (22:27 +0000)]
2003-08-12  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/float.exp: Add test for SH.

21 years ago2003-08-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 12 Aug 2003 19:34:20 +0000 (19:34 +0000)]
2003-08-12  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (dsrec.o): Update dependencies.
* dsrec.c: Include "gdb_assert.h".
(make_srec): Use snprintf instead of sprintf, use a literal format
string.

21 years ago2003-08-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 12 Aug 2003 17:45:13 +0000 (17:45 +0000)]
2003-08-12  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of
FRAME_OBSTACK_ZALLOC.

21 years ago * ldmain.c (undefined_symbol): Change parameter name from `fatal'
Ian Lance Taylor [Tue, 12 Aug 2003 16:46:17 +0000 (16:46 +0000)]
* ldmain.c (undefined_symbol): Change parameter name from `fatal'
to `error'.  If only a warning, put warning in the reported
string.  Consistently set failure flag when not a warning.

21 years ago * i386-tdep.c (i386_gdbarch_init): Enable default support for
Kevin Buettner [Tue, 12 Aug 2003 16:12:33 +0000 (16:12 +0000)]
* i386-tdep.c (i386_gdbarch_init): Enable default support for
SSE registers.

21 years agomerge from gcc
DJ Delorie [Tue, 12 Aug 2003 12:23:42 +0000 (12:23 +0000)]
merge from gcc

21 years ago * elf64-ppc.c (ppc64_elf_next_input_section): Update comment.
Alan Modra [Tue, 12 Aug 2003 05:58:10 +0000 (05:58 +0000)]
* elf64-ppc.c (ppc64_elf_next_input_section): Update comment.
(ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs,
use the function sym from the previous reloc.

21 years agodaily update
Alan Modra [Tue, 12 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 12 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 11 Aug 2003 23:20:05 +0000 (23:20 +0000)]
2003-07-22  Michael Snyder  <msnyder@redhat.com>

        * gdb.disasm/8300s.s: Fix syntax of bsr insn.

        * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
        patterns to be more general, accepting old and new output.
        Some output chars (such as '+') also must be quoted.
        Some addresses are displayed numerically instead of
        symbolically.

21 years ago2003-08-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 11 Aug 2003 19:36:23 +0000 (19:36 +0000)]
2003-08-11  Michael Snyder  <msnyder@redhat.com>

        * macl.s: New file.
        * macw.s: New file.
        * allinsn.exp: Add new tests for mac.w and mac.l.

21 years ago2003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>
Michael Snyder [Mon, 11 Aug 2003 19:28:05 +0000 (19:28 +0000)]
2003-08-11  Shrinivas Atre  <shrinivasa@KPITCummins.com>
* sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and
        correction for MAC.W handler
        * sim/sh/interp.c ( macl ): New Function. Implementation of
        MAC.L handler.

21 years ago* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
Mark Kettenis [Mon, 11 Aug 2003 16:55:21 +0000 (16:55 +0000)]
* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
amd64fbsd_sc_reg_offset): Add extern declarations.
* amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern
declarations.

21 years ago * readelf.c (process_archive): Fix error handling. Remove memory
Ian Lance Taylor [Mon, 11 Aug 2003 16:34:18 +0000 (16:34 +0000)]
* readelf.c (process_archive): Fix error handling.  Remove memory
leak.

21 years ago * elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
Jakub Jelinek [Mon, 11 Aug 2003 14:26:11 +0000 (14:26 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
fatal if -pie.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_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.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
(ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error
on undefined symbols if -pie.
* elf32-sh.c (sh_elf_relocate_section): Likewise.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
Alan Modra [Mon, 11 Aug 2003 11:31:01 +0000 (11:31 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
branch to __libc_start_main.

21 years agoAdd ability for readelf to parse archives
Nick Clifton [Mon, 11 Aug 2003 09:15:55 +0000 (09:15 +0000)]
Add ability for readelf to parse archives

21 years agodaily update
Alan Modra [Mon, 11 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 11 Aug 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * MAINTAINERS (write after approval): Update my mail address.
Ben Elliston [Sun, 10 Aug 2003 22:05:14 +0000 (22:05 +0000)]
* MAINTAINERS (write after approval): Update my mail address.

21 years ago2003-08-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 10 Aug 2003 19:58:21 +0000 (19:58 +0000)]
2003-08-10  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (monitor.o): Do not build monitor.c with -Werror.

21 years ago* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
Mark Kettenis [Sun, 10 Aug 2003 18:32:09 +0000 (18:32 +0000)]
* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386obsd_sigtramp_start, i386obsd_sigtramp_end,
i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset,
i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset,
i386bsd_sc_reg_offset): Add extern declarations.
* i386obsd-nat.c: Include "i386-tdep.h"
(_initialize_i386obsd_nat): Remove extern declarations.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern
declarations.
* i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern
declarations.

21 years ago* i386-tdep.c (i386_register_to_value): Use get_frame_register
Mark Kettenis [Sun, 10 Aug 2003 18:06:05 +0000 (18:06 +0000)]
* i386-tdep.c (i386_register_to_value): Use get_frame_register
instead of frame_read_register.
(i386_fetch_pointer_argument): Use get_frame_register_unsigned
instead of frame_read_register.  Use I386_ESP_REGNUM instead of
SP_REGNUM.
(i386_frame_prev_register): Use frame_unwind_register_unsigned
instead of frame_unwind_unsigned_register.  Use
I386_EFLAGS_REGISTER instead of PS_REGNUM.
(i386_get_longjmp_target): Use regcache_read_unsigned_register
instead of read_register.  Use builtin_type_void_data_ptr instead
of builtin_type_void_func_ptr when extracting the address of the
jmp_buf.
(i386_extract_return_value, i386_store_return_value,
i386_pseudo_register_read, i386_pseudo_register_write): Use
register_size instead REGISTER_RAW_SIZE.

(i387_print_float_info): Use get_frame_register and
get_frame_register_unsigned instead of frame_register_read.

21 years ago2003-08-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 10 Aug 2003 17:19:23 +0000 (17:19 +0000)]
2003-08-10  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Use xstrprintf instead of
sprintf.  Make "name" constant.

21 years ago* i387-tdep.c (i387_register_to_value): Use get_frame_register
Mark Kettenis [Sun, 10 Aug 2003 17:01:32 +0000 (17:01 +0000)]
* i387-tdep.c (i387_register_to_value): Use get_frame_register
instead of frame_read_register.

21 years ago* i386fbsd-nat.c: Include "i386-tdep.h".
Mark Kettenis [Sun, 10 Aug 2003 16:46:08 +0000 (16:46 +0000)]
* i386fbsd-nat.c: Include "i386-tdep.h".
(child_resume): Make `eflags' an ULONGEST.  Use
regcache_cooked_read_unsigned and regcache_cooked_write_unsigned
instead of register_read and register_write.

21 years ago* i386bsd-nat.c (fetch_inferior_registers,
Mark Kettenis [Sun, 10 Aug 2003 16:22:15 +0000 (16:22 +0000)]
* i386bsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Don't use && at the end of a line.
(_initialize_i386bsd_nat): Fix typo.

21 years ago* frame.c (_initialize_frame): Add missing backslash.
Mark Kettenis [Sun, 10 Aug 2003 14:56:23 +0000 (14:56 +0000)]
* frame.c (_initialize_frame): Add missing backslash.

21 years ago* sol-thread.c (sol_thread_store_registers): Use regcache_collect
Mark Kettenis [Sun, 10 Aug 2003 14:05:47 +0000 (14:05 +0000)]
* sol-thread.c (sol_thread_store_registers): Use regcache_collect
and supply_register instead of manipulating the register buffer
directly.

From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):

21 years agoFrom Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
Mark Kettenis [Sun, 10 Aug 2003 13:49:33 +0000 (13:49 +0000)]
From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
* config/i386/nm-i386sol2.h
(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.

21 years agoBased on a patch from Michael Elizabeth Chastain (mec@shout.net):
Mark Kettenis [Sun, 10 Aug 2003 12:15:16 +0000 (12:15 +0000)]
Based on a patch from Michael Elizabeth Chastain (mec@shout.net):
* i386-tdep.c (i386_analyze_frame_setup): Recognize more
instructions that GCC likes to mingle into the prologue.  Fixes
gdb/1253 and gdb/1255.

21 years ago* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
Mark Kettenis [Sun, 10 Aug 2003 11:55:58 +0000 (11:55 +0000)]
* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.

21 years ago * MAINTAINERS: Update my mail address.
Ben Elliston [Sun, 10 Aug 2003 10:42:22 +0000 (10:42 +0000)]
* MAINTAINERS: Update my mail address.

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

21 years agodaily update
Alan Modra [Sun, 10 Aug 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 9 Aug 2003 15:10:09 +0000 (15:10 +0000)]
2003-08-09  Andrew Cagney  <cagney@redhat.com>

Fix GDB PR cli/926.
* cli/cli-decode.c (add_setshow_uinteger_cmd): New function.
* command.h (add_setshow_uinteger_cmd): Declare.
* frame.c (set_backtrace_cmd): New function.
(show_backtrace_cmd): New function.
* frame.c (_initialize_frame): Replace "set/show
backtrace-below-main" with "set/show backtrace past-main".  Add
command "set/show backtrace limit".
(backtrace_past_main): Rename "backtrace_below_main".
(backtrace_limit): New variable.
(get_prev_frame): Update.  Check the backtrace_limit.

2003-08-09  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main"
with "set/show backtrace past-main" and "set/show backtrace
limit".

Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.174
diff -u -r1.174 gdb.texinfo
--- doc/gdb.texinfo 8 Aug 2003 01:58:00 -0000 1.174
+++ doc/gdb.texinfo 9 Aug 2003 14:57:10 -0000
@@ -3922,27 +3922,40 @@
 value, indicating that your program has stopped at the beginning of the
 code for line @code{993} of @code{builtin.c}.

-@kindex set backtrace-below-main
-@kindex show backtrace-below-main
+@kindex set backtrace past-main
+@kindex show backtrace past-main
+@kindex set backtrace limit
+@kindex show backtrace limit

-Most programs have a standard entry point---a place where system libraries
-and startup code transition into user code.  For C this is @code{main}.
-When @value{GDBN} finds the entry function in a backtrace it will terminate
-the backtrace, to avoid tracing into highly system-specific (and generally
-uninteresting) code.  If you need to examine the startup code, then you can
-change this behavior.
+Most programs have a standard user entry point---a place where system
+libraries and startup code transition into user code.  For C this is
+@code{main}.  When @value{GDBN} finds the entry function in a backtrace
+it will terminate the backtrace, to avoid tracing into highly
+system-specific (and generally uninteresting) code.
+
+If you need to examine the startup code, or limit the number of levels
+in a backtrace, you can change this behavior:

 @table @code
-@item set backtrace-below-main off
+@item set backtrace past-main
+@itemx set backtrace past-main on
+Backtraces will continue past the user entry point.
+
+@item set backtrace past-main off
 Backtraces will stop when they encounter the user entry point.  This is the
 default.

-@item set backtrace-below-main
-@itemx set backtrace-below-main on
-Backtraces will continue past the user entry point to the top of the stack.
+@item show backtrace past-main
+Display the current user entry point backtrace policy.
+
+@item set backtrace limit @var{n}
+@itemx set backtrace limit 0
+@cindex backtrace limit
+Limit the backtrace to @var{n} levels.  A value of zero means
+unlimited.

-@item show backtrace-below-main
-Display the current backtrace policy.
+@item show backtrace limit
+Display the current limit on backtrace levels.
 @end table

 @node Selection

21 years ago2003-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 9 Aug 2003 14:57:30 +0000 (14:57 +0000)]
2003-08-09  Andrew Cagney  <cagney@redhat.com>

* defs.h (xstrprintf): Declare.
* utils.c (xstrprintf): New function.
* breakpoint.c (insert_breakpoints): Replace sprintf and
non-literal format strings, with xstrprintf and cleanups.
(delete_breakpoint,breakpoint_re_set): Ditto.
(commands_command, insert_breakpoints): Ditto.
(bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto.
(break_at_finish_command_1): Ditto.

21 years ago2003-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 9 Aug 2003 14:38:53 +0000 (14:38 +0000)]
2003-08-09  Andrew Cagney  <cagney@redhat.com>

* MAINTAINERS (language support): List Adam Fedor as Objective C
maintainer.

21 years ago2003-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 9 Aug 2003 14:10:49 +0000 (14:10 +0000)]
2003-08-09  Andrew Cagney  <cagney@redhat.com>

* MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
maintenance.  List igen and sh maintainers.  Mention that target
and global maintainers pick up the slack.

21 years agofix typo in ChangeLog
Michael Meissner [Sat, 9 Aug 2003 00:46:53 +0000 (00:46 +0000)]
fix typo in ChangeLog

21 years agoregenerate cgen files after prototype fix
Michael Meissner [Sat, 9 Aug 2003 00:39:21 +0000 (00:39 +0000)]
regenerate cgen files after prototype fix

21 years ago*** empty log message ***
gdbadmin [Sat, 9 Aug 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 9 Aug 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years agoFix typos in last change
Michael Meissner [Fri, 8 Aug 2003 23:01:28 +0000 (23:01 +0000)]
Fix typos in last change

21 years ago * NEWS (Multi-arched targets): Document that all hppa-hpux targets
Joel Brobecker [Fri, 8 Aug 2003 22:26:38 +0000 (22:26 +0000)]
    * NEWS (Multi-arched targets): Document that all hppa-hpux targets
        are now multiarched.

21 years ago * config/pa/tm-hppa64.h: Remove lots of macros that are no
Joel Brobecker [Fri, 8 Aug 2003 22:10:48 +0000 (22:10 +0000)]
   * config/pa/tm-hppa64.h: Remove lots of macros that are no
       longer necessary now that hppa64 is partially multiarch'ed.

21 years agofix changelog date
Michael Meissner [Fri, 8 Aug 2003 21:22:41 +0000 (21:22 +0000)]
fix changelog date

21 years agoConvert cgen to C-90
Michael Meissner [Fri, 8 Aug 2003 21:21:24 +0000 (21:21 +0000)]
Convert cgen to C-90

21 years ago * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
Stephane Carrez [Fri, 8 Aug 2003 21:02:24 +0000 (21:02 +0000)]
* dv-m68hc11tim.c (cycle_to_string): Add flags parameter to better
control the translation.
(m68hc11tim_print_timer): Update cycle_to_string conversion.
(m68hc11tim_timer_event): Fix handling of output
compare register with its interrupts.
(m68hc11tim_io_write_buffer): Check output compare
after setting M6811_TMSK1.
(m68hc11tim_io_read_buffer): Fix compilation warning.
* dv-m68hc11.c (m68hc11_option_handler): Likewise.
* dv-m68hc11spi.c (m68hc11spi_info): Likewise.
* dv-m68hc11sio.c (m68hc11sio_info): Likewise.
* interrupts.c (interrupts_info): Likewise.
(interrupts_reset): Recognize bootstrap mode.
* sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines.
(_sim_cpu): Add cpu_start_mode.
(cycle_to_string): Add flags member.
* m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option.
(cpu_options): Declare new option bootstrap.
(cpu_option_handler): Handle it.
(cpu_info): Update call to cycle_to_string.

21 years ago * sim-main.h (phys_to_virt): Use memory bank parameters to translate
Stephane Carrez [Fri, 8 Aug 2003 20:42:21 +0000 (20:42 +0000)]
* sim-main.h (phys_to_virt): Use memory bank parameters to translate
the physical address in virtual address.
(struct _sim_cpu): Add memory bank members.
* m68hc11_sim.c (cpu_initialize): Clear memory bank parameters.
* interp.c (sim_hw_configure): Create memory bank according to memory
bank parameters.
(sim_get_bank_parameters): New function to obtain memory bank config
from the symbol table.
(sim_prepare_for_program): Call it to obtain the memory bank parameters.
(sim_open): Call sim_prepare_for_program.
* dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters
to check if address is within bank window.
(m68hc11cpu_io_read_buffer): Likewise.
(attach_m68hc11_regs): Map the memory bank according to memory bank
parameters.

21 years ago * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.
Stephane Carrez [Fri, 8 Aug 2003 20:31:10 +0000 (20:31 +0000)]
* sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.

21 years ago * m68hc11_sim.c (print_io_word): New function to print 16-bit value.
Stephane Carrez [Fri, 8 Aug 2003 20:25:50 +0000 (20:25 +0000)]
* m68hc11_sim.c (print_io_word): New function to print 16-bit value.
* sim-main.h (print_io_word): Declare.
* dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1.
(tflg1_desc): Likewise for TFLG1.
(m68hc11tim_info): Print input and output compare registers

21 years ago2003-08-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 8 Aug 2003 19:00:08 +0000 (19:00 +0000)]
2003-08-08  Andrew Cagney  <cagney@redhat.com>

* interps.c (interp_set): Check for a NULL "old_interp".

Index: mi/ChangeLog
2003-08-08  Andrew Cagney  <cagney@redhat.com>

* mi-main.c (captured_mi_execute_command): Add "mi2" and "mi3" to
interpreters that hack around CLI.
* mi-interp.c (mi3_command_loop): New function.
(mi_interpreter_resume): Check for "mi3", default to "mi2".

21 years agogdb/
H.J. Lu [Fri, 8 Aug 2003 17:30:37 +0000 (17:30 +0000)]
gdb/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (FLAGS_TO_PASS): Add DESTDIR.
(install-only): Support DESTDIR.
(uninstall): Likewise.
(install-gdbtk): Likewise.

gdb/doc/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (install-info): Support DESTDIR.
(install-html): Likewise.

gdb/gdbserver/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (install-only): Create dest dir. Support DESTDIR.
(uninstall): Support DESTDIR.

mmalloc/

2003-08-08  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (install-info): Create dest dir. Support DESTDIR.
(install): Likewise.

21 years agogas/
Andreas Schwab [Fri, 8 Aug 2003 14:46:41 +0000 (14:46 +0000)]
gas/
* config/tc-m68k.h (TARGET_USE_CFIPOP)
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT)
(tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions):
Define.
* config/tc-m68k.c: Include "dw2gencfi.h".
(tc_m68k_regname_to_dw2regnum)
(tc_m68k_frame_initial_instructions): New functions.

gas/testsuite/
* gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test.
* gas/cfi/cfi.exp (run_list_test): Run it.

21 years ago2003-08-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 8 Aug 2003 14:04:02 +0000 (14:04 +0000)]
2003-08-08  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this
contains something meaningful at all times.

21 years agoAdd MSP430 variants
Nick Clifton [Fri, 8 Aug 2003 10:14:52 +0000 (10:14 +0000)]
Add MSP430 variants

21 years agoUpdated French translation
Nick Clifton [Fri, 8 Aug 2003 08:22:06 +0000 (08:22 +0000)]
Updated French translation

21 years ago2003-08-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 8 Aug 2003 01:58:00 +0000 (01:58 +0000)]
2003-08-07  Andrew Cagney  <cagney@redhat.com>

Patch from Nick Roberts.
* gdb.texinfo (Using GDB under GNU Emacs): Fix/update key
bindings.  Remove description of send-gdb-command.

21 years agoAdd periods to my changelog entries
Brendan Conoboy [Fri, 8 Aug 2003 01:09:56 +0000 (01:09 +0000)]
Add periods to my changelog entries

21 years agoMon Jul 21 20:10:16 UTC 2003 Brendan Conoboy <blc@redhat.com>
Brendan Conoboy [Fri, 8 Aug 2003 00:47:50 +0000 (00:47 +0000)]
Mon Jul 21 20:10:16 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        * configure.host: Set gdb_host_cpu=arm when host_cpu=xscale

21 years agoMon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>
Brendan Conoboy [Fri, 8 Aug 2003 00:47:28 +0000 (00:47 +0000)]
Mon Jul 21 20:09:34 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        * configure.srv: Add xscale*linux copy of arm*linux entry.

21 years agoFri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com>
Brendan Conoboy [Fri, 8 Aug 2003 00:41:54 +0000 (00:41 +0000)]
Fri Aug  8 00:28:38 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        * MAINTAINERS (write after approval): Added self

21 years ago*** empty log message ***
gdbadmin [Fri, 8 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 8 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-08-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 7 Aug 2003 23:41:57 +0000 (23:41 +0000)]
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* inferior.h (AT_SYMBOL): Define.
* blockframe.c (inside_entry_file): Check for AT_SYMBOL.
* infcall.c (call_function_by_hand): Add code to handle AT_SYMBOL.
* mips-tdep.c (mips_call_dummy_address): Delete function.
(mips_gdbarch_init): Set call_dummy_location to AT_SYMBOL, do not
set call_dummy_address.

21 years ago2003-08-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 7 Aug 2003 22:35:03 +0000 (22:35 +0000)]
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* language.c (op_error): Delete function.
(binop_type_check): Delete function.
* language.h (type_op_error, range_op_error): Delete macros.
(op_error): Delete declaration.

21 years ago2003-08-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 7 Aug 2003 21:36:43 +0000 (21:36 +0000)]
2003-08-07  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (expand_ppi_code): Comment spelling fix.

21 years ago2003-08-07 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Thu, 7 Aug 2003 19:20:45 +0000 (19:20 +0000)]
2003-08-07  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (i860_check_label): New function.
        * config/tc-i860.h (i860_check_label): New prototype.
        (tc_check_label): Define macro as i860_check_label.

21 years ago2003-08-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 7 Aug 2003 17:58:44 +0000 (17:58 +0000)]
2003-08-07  Elena Zannoni  <ezannoni@redhat.com>

       * gdb.base/completion.exp: Remove reduntant completion test
       on filename.

21 years ago2003-08-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 7 Aug 2003 17:55:41 +0000 (17:55 +0000)]
2003-08-07  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
        gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
        gdb.trace/save-trace.exp: Make sure that full pathnames are
        escaped correctly.

21 years ago2003-08-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 7 Aug 2003 17:49:22 +0000 (17:49 +0000)]
2003-08-07  Elena Zannoni  <ezannoni@redhat.com>

        * configure.in: Don't generate config.h from config.hin.
        * configure: Regenerate.
        * config.hin: Remove file.
        * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
        * gdb.threads/pthreads.c: Ditto.

21 years agoIndex: ChangeLog
Andrew Cagney [Thu, 7 Aug 2003 17:47:42 +0000 (17:47 +0000)]
Index: ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* interps.h (INTERP_MI2, INTERP_MI3): Define.

Index: doc/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Mode Options): Mention that "mi2" was included in
GDB 6.0.

Index: mi/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
Make "mi" select "mi2".

Index: testsuite/gdb.mi/ChangeLog
2003-08-07  Andrew Cagney  <cagney@redhat.com>

* mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2.
* mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto.
* mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto.
* mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto.
* mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto.
* mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto.
* mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto.
* mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.

21 years ago2003-08-07 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 7 Aug 2003 11:26:42 +0000 (11:26 +0000)]
2003-08-07  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_push_arguments): Skip the red zone.

21 years ago * elfxx-target.h: Remove PTR cast.
Alan Modra [Thu, 7 Aug 2003 08:38:11 +0000 (08:38 +0000)]
* elfxx-target.h: Remove PTR cast.
* targets.c (bfd_target): Make backend_data const void *.
* elf-bfd.h: Constify all occurrences of struct elf_backend_data.
* elf-m10300.c: Likewise.
* elf.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-mips.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-mips.h: Likewise.
* elf.c (prep_headers): Remove useless check for null backend_data.
* bfd-in2.h: Regenerate.

21 years ago2003-08-07 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 7 Aug 2003 07:51:14 +0000 (07:51 +0000)]
2003-08-07  Michal Ludvig  <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.

21 years ago * elf-bfd.h: Remove PARAMS macro. Replace PTR with void *.
Alan Modra [Thu, 7 Aug 2003 07:25:34 +0000 (07:25 +0000)]
* elf-bfd.h: Remove PARAMS macro.  Replace PTR with void *.
(NAME): Use ## rather than CONCAT4 macro.
* elfcode.h: Remove one remaining PARAMS macro.
* elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes.
* elf-strtab.c: Likewise.
* elf-hppa.h: Likewise.
* elf32-hppa.h: Likewise.
* elf32-hppa.c: Likewise.
(elf32_hppa_add_symbol_hook): Delete.
(elf_backend_add_symbol_hook): Don't define.
* libhppa.h: Convert to C90.  Replace INLINE with inline.

21 years ago2003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Thu, 7 Aug 2003 05:22:45 +0000 (05:22 +0000)]
2003-08-07  Kei Sakamoto  <sakamoto.kei@renesas.com>

* MAINTAINERS (write after approval): Move Kei Sakamoto to the proper place.

21 years ago2003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Thu, 7 Aug 2003 05:01:32 +0000 (05:01 +0000)]
2003-08-07  Kei Sakamoto  <sakamoto.kei@renesas.com>

* MAINTAINERS (write after approval): Add myself.

21 years ago2003-08-01 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Thu, 7 Aug 2003 04:05:42 +0000 (04:05 +0000)]
2003-08-01  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (s_align_wrapper): New function and prototype.
        (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove
        surrounding OBJ_ELF ifdef, and re-format slightly.
        * doc/c-i860.texi: Document the special .align syntax available
        in Intel mode.

21 years ago From Kei Sakamoto <sakamoto.kei@renesas.com>:
Daniel Jacobowitz [Thu, 7 Aug 2003 04:04:57 +0000 (04:04 +0000)]
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.asm/asm-source.exp : Add -lgloss to link-flags.
* gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
Replace ld24 with seth/add3.

21 years agoConvert to C90.
Alan Modra [Thu, 7 Aug 2003 02:25:50 +0000 (02:25 +0000)]
Convert to C90.

21 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
Danny Smith [Thu, 7 Aug 2003 01:52:36 +0000 (01:52 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
Change second (cmdline) arg to lang_add_entry to FALSE.
(set_pe_subsystem): Change second arg to lang_add_entry to TRUE.

21 years ago*** empty log message ***
gdbadmin [Thu, 7 Aug 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 7 Aug 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agogas:
Jason Eckhardt [Wed, 6 Aug 2003 23:59:36 +0000 (23:59 +0000)]
gas:
2003-08-06  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (i860_handle_align): New function.
        * config/tc-i860.h (HANDLE_ALIGN): Define macro.
        (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.

gas/testsuite:
2003-08-06  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/dir-align01.{s,d}: New files.
        * gas/i860/i860.exp: Execute the new test above.

21 years agogas:
Jason Eckhardt [Wed, 6 Aug 2003 19:53:19 +0000 (19:53 +0000)]
gas:
2003-08-06  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c (i860_process_insn): Check that instructions
        with their dual-bit set are 8-byte aligned.

gas/testsuite:
2003-08-06  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/dual02-err.l: Update expected error message.
        * gas/i860/README.i860: Remove dual02-err from known failure list.

21 years ago2003-08-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 6 Aug 2003 15:13:10 +0000 (15:13 +0000)]
2003-08-06  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Mode Options): Mention that level three is the
highest available and that level 2 is deprecated.
(Annotations Overview): Mention annotation levels. Cross reference
to "Limitations of the Annotation Interface" in annotate.texi.
(TODO, Value Annotations, Frame Annotations): Delete section.
(Displays, Breakpoint Info): Delete.

21 years ago * elf64-ppc.c (ppc_stub_name): Tweak names for better readability.
Alan Modra [Wed, 6 Aug 2003 12:23:37 +0000 (12:23 +0000)]
* elf64-ppc.c (ppc_stub_name): Tweak names for better readability.
(ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against
function descriptors, but warn.
(ppc_build_one_stub): Remove a couple of vars.  Move code creating
stub syms so that we can avoid a stub sym if we already have a
plt sym.  Do not redefine an existing symbol.
(ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for
glink.

21 years agoUpdated French translations
Nick Clifton [Wed, 6 Aug 2003 10:15:16 +0000 (10:15 +0000)]
Updated French translations