OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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:36 +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 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:51 +0000 (10:14 +0000)]
Add MSP430 variants

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 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 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*** 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 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

21 years agoFix typo
Nick Clifton [Wed, 6 Aug 2003 09:02:50 +0000 (09:02 +0000)]
Fix typo

21 years ago * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
Alan Modra [Wed, 6 Aug 2003 01:27:11 +0000 (01:27 +0000)]
* elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
SEC_LINKER_CREATED.

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

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

21 years ago2003-08-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 5 Aug 2003 19:55:17 +0000 (19:55 +0000)]
2003-08-05  Andrew Cagney  <cagney@redhat.com>

* mi-cmd-env.c (env_execute_cli_command): Use an explicit "%s %s"
when constructing the run command.
(mi_cmd_env_cd, mi_cmd_env_path, mi_cmd_env_dir): Simplify command
string removing the "%s".

21 years ago2003-08-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 5 Aug 2003 18:08:59 +0000 (18:08 +0000)]
2003-08-05  Andrew Cagney  <cagney@redhat.com>

* reggroups.c (reggroup_next): Check for the final entry.

21 years ago * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
Daniel Jacobowitz [Tue, 5 Aug 2003 16:24:12 +0000 (16:24 +0000)]
* elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it.

21 years ago2003-08-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 5 Aug 2003 14:58:29 +0000 (14:58 +0000)]
2003-08-05  Andrew Cagney  <cagney@redhat.com>

* generic/gdbtk-register.c (gdb_reggrouplist): Update, use
reggroup_next.
(gdb_reggroup): Ditto.

21 years agoAdd new Dutch translation.
Nick Clifton [Tue, 5 Aug 2003 09:39:31 +0000 (09:39 +0000)]
Add new Dutch translation.

21 years agoDetect and issue a warning message if the line number table could not be read.
Nick Clifton [Tue, 5 Aug 2003 08:25:17 +0000 (08:25 +0000)]
Detect and issue a warning message if the line number table could not be read.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 5 Aug 2003 02:44:50 +0000 (02:44 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT.
* cli/cli-script.c (define_command): Call query directly, instead
of passing it a buffer.
* ocd.c (ocd_error): Pass error a constant format string.
* remote-mips.c (mips_error): Use fputs_filtered.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 5 Aug 2003 02:38:06 +0000 (02:38 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* solib-svr4.c (_initialize_svr4_solib): Update
register_gdbarch_data call.
* mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.

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

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

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 23:18:50 +0000 (23:18 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* mi-cmds.h (struct mi_cli): Define.
(struct mi_cmd): Change type of "cli" to "struct mi_cli".
* mi-cmds.c (mi_cmds): Update table.
* mi-parse.c (mi_parse): Update.
* mi-main.c (mi_execute_cli_command): Add "args_p" parameter, make
others constant.
(mi_cmd_execute): Update call.
(captured_mi_execute_command): Ditto.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 22:24:44 +0000 (22:24 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (gdbarch_data_free_ftype): Delete declaration.
(register_gdbarch_data): Delete "free" parameter.  Update
comments.
* gdbarch.h, gdbarch.c: Re-generate.
* reggroups.c (_initialize_reggroup): Update.
* gnu-v3-abi.c (init_gnuv3_ops): Update.
* frame-base.c (_initialize_frame_base): Update.
* frame-unwind.c (_initialize_frame_unwind): Update.
* user-regs.c (_initialize_user_regs): Update.
* remote.c (_initialize_remote): Update.
* regcache.c (_initialize_regcache): Update.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 21:12:46 +0000 (21:12 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* regcache.c (xfree_regcache_descr): Delete function.
(_initialize_regcache): Update call to register_gdbarch_data.
(init_regcache_descr, init_legacy_regcache_descr): Use
GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 20:52:27 +0000 (20:52 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* remote.c (free_remote_state): Delete function.
(_initialize_remote): Update register_gdbarch_data.
(init_remote_state): Use GDBARCH_OBSTACK_XALLOC and
GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 20:43:57 +0000 (20:43 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* agentexpr.texi: Delete @bye.
* Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi"
(stabs.info): Add $(srcdir) to include search path.
(html): Depend on "annotate_toc.html", and not "annotate.html".
* stabs.texinfo: Ditto.  Include "fdl.texi".
* gdbint.texinfo: Update copyright statement's list of invariant
sections.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 20:34:10 +0000 (20:34 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* reggroups.c (struct reggroup_el): Define.
(struct reggroups): Delete field "nr_group".  Replace array
"group" with a "first" to "last" linked list.
(reggroups_init): Update.  Allocate using gdbarch's obstack.
(reggroups_free): Delete function.
(add_group): Update.  Add "el" parameter.
(reggroup_add): Pass gdbarch obstack allocated space to add_group.
(default_groups): Update.
(reggroup_next): Replace reggroups.
(reggroups_dump): Update.
(_initialize_reggroup): Pass XMALLOC allocated space to add_group.
* regcache.c (regcache_dump): Use reggroup_next instead of reggroups.
* infcmd.c (registers_info): Use reggroup_next instead of reggroups.

21 years ago * tui-interp.c: Include "cli-out.h".
Daniel Jacobowitz [Mon, 4 Aug 2003 19:28:17 +0000 (19:28 +0000)]
* tui-interp.c: Include "cli-out.h".
(tui_resume): Update tui_old_uiout's stream to gdb_stdout.

21 years ago * Makefile.in (tui-interp.o): Update dependencies.
Daniel Jacobowitz [Mon, 4 Aug 2003 19:28:05 +0000 (19:28 +0000)]
* Makefile.in (tui-interp.o): Update dependencies.

21 years ago2003-08-04 David Carlton <carlton@kealia.com>
David Carlton [Mon, 4 Aug 2003 17:08:24 +0000 (17:08 +0000)]
2003-08-04  David Carlton  <carlton@kealia.com>

* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
to internal_error call.
* source.c (forward_search_command): Add "%s" format argument.
(reverse_search_command): Ditto.
* top.c (quit_confirm): Ditto.
* cli/cli-setshow.c (do_setshow_command): Ditto.
* cp-valprint.c (cp_print_class_method): Replace
{f,}printf_{un,}filtered by {f,}puts_{un,}filtered.
(cp_print_class_member): Ditto.
* event-top.c (command_line_handler): Ditto.
* linux-proc.c (linux_info_proc_cmd): Ditto.
* p-typeprint.c (pascal_type_print_base): Ditto.
* p-valprint.c (pascal_object_print_class_method): Ditto.
(pascal_object_print_class_member): Ditto.
* printcmd.c (print_scalar_formatted,printf_command): Ditto.
* remote.c (remote_cisco_section_offsets): Ditto.
* top.c (command_line_input): Ditto.
* utils.c (vwarning,error_stream,quit): Ditto.
* valprint.c (print_floating,print_binary_chars)
(print_octal_chars,print_decimal_chars,print_hex_chars): Ditto.

2003-08-04  David Carlton  <carlton@kealia.com>

* mi-main.c (mi_error_last_message): Add "%s" second argument to
xasprintf call.

2003-08-04  David Carlton  <carlton@kealia.com>

* generic/gdbtk.c (gdbtk_source_start_file): Add "%s" first
argument to error call.
(tk_command): Ditto.
(view_command): Ditto.

21 years ago2003-08-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 4 Aug 2003 15:42:43 +0000 (15:42 +0000)]
2003-08-04  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_func_unwind): Use frame_unwind_address_in_block.

21 years agoPrefix .gnu.warning section messages with "warning: ".
Nick Clifton [Mon, 4 Aug 2003 11:32:51 +0000 (11:32 +0000)]
Prefix .gnu.warning section messages with "warning: ".

21 years ago * elfcode.h: Convert to C90, remove unneeded casts and prototypes.
Alan Modra [Mon, 4 Aug 2003 09:39:46 +0000 (09:39 +0000)]
* elfcode.h: Convert to C90, remove unneeded casts and prototypes.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elf.c (sym_is_global): Remove INLINE.
(align_file_position): Replace INLINE with inline.
* elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE.
(elf_file_p): Replace INLINE with inline.

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

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

21 years ago2003-08-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 3 Aug 2003 02:42:16 +0000 (02:42 +0000)]
2003-08-02  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc,
gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and
amd64fbsd-nat.c.

21 years ago2003-08-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 3 Aug 2003 01:57:13 +0000 (01:57 +0000)]
2003-08-02  Andrew Cagney  <cagney@redhat.com>

* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.

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

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

21 years ago2003-08-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 2 Aug 2003 20:11:48 +0000 (20:11 +0000)]
2003-08-02  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Update all dependencies and definitions.

21 years ago * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
Kaz Kojima [Sat, 2 Aug 2003 13:46:43 +0000 (13:46 +0000)]
* elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.

* ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test.

21 years ago* linespec.c (is_objc_method_format): New function
Adam Fedor [Sat, 2 Aug 2003 03:59:40 +0000 (03:59 +0000)]
* linespec.c (is_objc_method_format): New function
(decode_line_1, locate_first_half): Use it.
Fixes PR objc/1298

21 years ago Merge from gcc:
Nathanael Nerode [Sat, 2 Aug 2003 02:00:38 +0000 (02:00 +0000)]
Merge from gcc:

2003-08-01  Matt Kraai  <kraai@alumni.cmu.edu>
* Makefile.tpl (check, check-c++): Express dependencies using
dependencies rather than commands.
* Makefile.in: Regenerate.

2003-07-31  Geoffrey Keating  <geoffk@apple.com>
* Makefile.tpl (libsubdir): Use gcc instead of gcc-lib.
* Makefile.in: Update.

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

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

21 years ago2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Aug 2003 22:46:16 +0000 (22:46 +0000)]
2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (get_got): Align the .got section at 8 bytes.

21 years ago2003-08-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 1 Aug 2003 22:42:26 +0000 (22:42 +0000)]
2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
ElfNN_External_Rela instead of Elf64_External_Rela.

21 years ago2003-08-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 1 Aug 2003 21:35:02 +0000 (21:35 +0000)]
2003-08-01  Andrew Cagney  <cagney@redhat.com>

* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
* configure: Ditto.

21 years ago2003-08-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 1 Aug 2003 21:14:33 +0000 (21:14 +0000)]
2003-08-01  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention that m32r is multi-arch.
From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>:
* configure.tgt: Recognize m32r-*-*.
* config/m32r/tm-m32r.h: Delete file.
* config/m32r/m32r.mt: New file.
* m32r-rom.c (m32r_upload_command): Use hostent only when
        gethostname succeeds, in order to avoid a compilation
        warning.
* m32r-tdep.c (m32r_store_return_value): Add a cast to remove a
compiler warning.

21 years ago2003-08-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Aug 2003 19:52:49 +0000 (19:52 +0000)]
2003-08-01  Michael Snyder  <msnyder@redhat.com>

* sh-tdep.c (sh_frame_align): New gdbarch method.
(sh_gdbarch_init): Set up frame_align method.

21 years agoAdd code to catch obsolete configurations and warn about them unless
Nick Clifton [Fri, 1 Aug 2003 08:35:04 +0000 (08:35 +0000)]
Add code to catch obsolete configurations and warn about them unless
--enable-obsolete is used.  Use this to mark vax-vms port as obsolete.

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

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

21 years ago2003-07-31 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 31 Jul 2003 23:41:25 +0000 (23:41 +0000)]
2003-07-31  Michael Snyder  <msnyder@redhat.com>

        * value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change,
        which is already covered by the new frames infrastructure.

21 years ago2003-07-31 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 31 Jul 2003 21:42:39 +0000 (21:42 +0000)]
2003-07-31  Andrew Cagney  <cagney@redhat.com>

* user-regs.c (struct user_reg): Add "next" link.
(struct user_regs): Replace "user" with "first" and "last" links.
(append_user_reg): Add pre-allocated "reg" parameter.
(builtin_user_regs): Provide initial value for "last".
(user_reg_add_builtin): XMALLOC memory for append_user_reg.
(user_regs_init): Allocate memory from the gdbarch obstack.
(user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg.
(user_reg_map_name_to_regnum): Rewrite to search the user_reg
linked list.
(usernum_to_user_reg): New function.
(user_reg_map_regnum_to_name): Use usernum_to_user_reg.
(value_of_user_reg): Use usernum_to_user_reg.
(user_regs_free): Delete function.
(_initialize_user_regs): Update register_gdbarch_data call.

21 years ago * dwarf2read.c (new_symbol): Use var_decode_location for parameters.
Daniel Jacobowitz [Thu, 31 Jul 2003 21:05:38 +0000 (21:05 +0000)]
* dwarf2read.c (new_symbol): Use var_decode_location for parameters.

21 years ago * elf32-ppc.c (ppc_elf_install_value): Tidy.
Alan Modra [Thu, 31 Jul 2003 14:38:15 +0000 (14:38 +0000)]
* elf32-ppc.c (ppc_elf_install_value): Tidy.
(ppc_elf_relax_section): Remove dead code.  Remove unnecessary casts.
Formatting.
* elfxx-target.h: Remove PARAMS macro.  Formatting.

21 years ago * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
Alan Modra [Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)]
* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
* elf64-ppc.c (get_fdh): New function, split out from
ppc64_elf_edit_opd.
(ppc64_elf_check_relocs): Use get_fdh.
(func_desc_adjust): Likewise.  Tidy.
(ppc64_elf_edit_opd): Tighten reloc checks.  Free local_syms on error
exit.  Use get_fdh.  Account for superfluous dynamic relocs.
(ppc64_elf_relocate_section): Warning fix.

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

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

21 years ago2003-07-30 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 30 Jul 2003 21:37:35 +0000 (21:37 +0000)]
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * coff-i860.c: Convert to ISO C90.  Remove superflous prototypes.

21 years ago2003-07-30 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 30 Jul 2003 21:10:12 +0000 (21:10 +0000)]
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * i860-dis.c: Convert to ISO C90.  Remove superflous prototypes.

21 years ago2003-07-30 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 30 Jul 2003 20:59:10 +0000 (20:59 +0000)]
2003-07-30  Michael Snyder  <msnyder@redhat.com>

* structs.h (value_being_returned): Add a struct_addr argument.
* infcall.c (call_function_by_hand): Pass struct_addr to
value_being_returned.
* infcmd.c (print_return_value): Pass zero as struct_addr.
* values.c (value_being_returned): If struct_addr is passed,
use it instead of trying to recover it from the inferior.

21 years ago * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
Kevin Buettner [Wed, 30 Jul 2003 20:44:46 +0000 (20:44 +0000)]
* mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so that
the prologue analyzer won't need to attempt to extract the pc
value from the woefully incomplete dummy frame.
(mn10300_analyze_prologue): Avoid calls to get_frame_pc() when
possible.  Disable code which modifies the frame.

21 years agobfd:
Jason Eckhardt [Wed, 30 Jul 2003 20:24:54 +0000 (20:24 +0000)]
bfd:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * elf32-i860.c: Convert to ISO C90.  Remove superflous prototypes.

gas:
2003-07-30  Jason Eckhardt  <jle@rice.edu>

        * config/tc-i860.c: Convert to ISO C90.

21 years ago* configure.in: Enable libgcj for darwin.
DJ Delorie [Wed, 30 Jul 2003 20:12:58 +0000 (20:12 +0000)]
* configure.in: Enable libgcj for darwin.
* configure: Rebuild.

21 years agoUpdated Romanian translation
Nick Clifton [Wed, 30 Jul 2003 15:53:12 +0000 (15:53 +0000)]
Updated Romanian translation

21 years ago2003-07-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 30 Jul 2003 04:14:38 +0000 (04:14 +0000)]
2003-07-28  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (INFO_DEPS): Add annotate.info.
(dvi, ps, html, pdf): Add annotate.
(ANNOTATE_DOC_SOURCE_INCLUDES): New macro.
(ANNOTATE_DOC_BUILD_INCLUDES): New macro.
(ANNOTATE_DOC_FILES): New macro.
(ANNOTATE_TEX_TMPS): New macro.
(annotate.info, annotate_toc.html): Specify dependencies.
(annotate.ps, annotate.pdf, annotate.dvi): Ditto.
* annotate.texinfo: Rename annotate.texi.  Get building.  Add
"Migrating to GDB/MI" and "Limitations of the Annotation
Interface" chapters.  Mention why it is not part of the user
guide.  Update copyright notice.  Include "fdl.texi".

21 years ago * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
Alan Modra [Wed, 30 Jul 2003 02:15:07 +0000 (02:15 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
* elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.

21 years ago * elf.c: Convert to C90, remove unnecessary prototypes and casts.
Alan Modra [Wed, 30 Jul 2003 02:08:06 +0000 (02:08 +0000)]
* elf.c: Convert to C90, remove unnecessary prototypes and casts.
Replace PTR with void *.  Formatting.
(_bfd_elf_assign_file_position_for_section): Remove INLINE.
(make_mapping): Likewise.

21 years ago * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
Nathanael Nerode [Wed, 30 Jul 2003 01:35:07 +0000 (01:35 +0000)]
* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.