OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
Mark Kettenis [Thu, 10 Nov 2005 19:21:51 +0000 (19:21 +0000)]
* MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
longer broken.

18 years ago * m68k-dis.c (print_insn_m68k): Only match FPU insns with
Andreas Schwab [Thu, 10 Nov 2005 14:32:28 +0000 (14:32 +0000)]
* m68k-dis.c (print_insn_m68k): Only match FPU insns with
coprocessor ID 1.

18 years ago2005-11-10 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Thu, 10 Nov 2005 11:05:31 +0000 (11:05 +0000)]
2005-11-10  Andrew Stubbs  <andrew.stubbs@st.com>

* interp.c (sim_memory_size): Use same amount of memory on Windows as
elsewhere.

18 years ago*** empty log message ***
gdbadmin [Thu, 10 Nov 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 9 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-11-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 9 Nov 2005 15:45:55 +0000 (15:45 +0000)]
2005-11-09  Randolph Chung <tausq@debian.org>

* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.

18 years ago2005-11-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 9 Nov 2005 07:22:40 +0000 (07:22 +0000)]
2005-11-09  Randolph Chung <tausq@debian.org>

* hppa-linux-nat.c (_initialize_hppa_linux_nat): Use
hppa_linux_{store,fetch}_inferior_registers instead of
arm_linux_{store,fetch}_inferior_registers.

18 years ago2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Wed, 9 Nov 2005 07:09:05 +0000 (07:09 +0000)]
2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>

        * remote-m32r-sdi.c: Update copyright years.
        (m32r_resume): Write DBT at word-aligned addresses.
        (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.

18 years agogdb.base/break.exp: Fix a comment typo.
Wu Zhou [Wed, 9 Nov 2005 06:41:30 +0000 (06:41 +0000)]
gdb.base/break.exp: Fix a comment typo.

18 years ago*** empty log message ***
gdbadmin [Wed, 9 Nov 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 8 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* m32c-desc.c: Regenerated.
Nick Clifton [Tue, 8 Nov 2005 16:16:47 +0000 (16:16 +0000)]
* m32c-desc.c: Regenerated.

18 years agobfd:
Nathan Sidwell [Tue, 8 Nov 2005 11:15:13 +0000 (11:15 +0000)]
bfd:
Add ms2.
* archures.c (bfd_mach_ms2): Define.
* cpu-ms1.c (arch_info_struct): Add ms2 stanza.
* elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
(ms1_elf_merge_private_bfd_data): Remove unused variables.  Add
correct merging logic, with workaround.
(ms1_elf_print_private_bfd_data): Add ms2 case.
* reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.

cpu:
Add ms2
* ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
model.
(f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
f-cb2incr, f-rc3): New fields.
(LOOP): New instruction.
(JAL-HAZARD): New hazard.
(imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
New operands.
(mul, muli, dbnz, iflush): Enable for ms2
(jal, reti): Has JAL-HAZARD.
(ldctxt, ldfb, stfb): Only ms1.
(fbcb): Only ms1,ms1-003.
(wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
fbcbincrs, mfbcbincrs): Enable for ms2.
(loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
* ms1.opc (parse_loopsize): New.
(parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
(print_pcrel): New.

gas:
Add ms2.
* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
(ms1_architectures): Add ms2.
(md_parse_option): Add ms2.
(md_show_usage): Add ms2.
(md_assemble): Add JAL_HAZARD detection logic.
(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
* doc/c-ms1.texi: New.
* doc/all.texi: Add MS1.
* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
* doc/Makefile.in: Rebuilt.
* doc/Makefile: Rebuilt.

gas/testsuite:
Add ms2.
* gas/ms1/allinsn.d: Adjust pcrel disassembly.
* gas/ms1/errors.exp: Fix target triplet.
* gas/ms1/ms1-16-003.d: Adjust pcrel disassembly.
* gas/ms1/ms1-16-003.s: Tweak label.
* gas/ms1/ms1.exp: Adjust target triplet.  Add ms2 test.
* gas/ms1/ms2.d, gas/ms1/ms2.s: New.
* gas/ms1/relocs.d: Adjust expected machine name and pcrel
disassembly.
* gas/ms1/relocs.exp: Adjust target triplet.

include:
Add ms2.
* elf/ms1.h (EF_MS1_CPU_MS2): New.

opcodes:
Add ms2.
* ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c,
ms1-opc.c, ms1-opc.h: Regenerated.

18 years ago2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Tue, 8 Nov 2005 05:54:22 +0000 (05:54 +0000)]
2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>

* m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
of 'unsigned char'.
(m32r_linux_sigtramp_start): Likewise.
(linux_rt_sigtramp_code): Likewise.
(m32r_linux_rt_sigtramp_start): Likewise.
(m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead
of 'void *'.
* m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte'
instead of 'char'.
(m32r_memory_remove_breakpoint): Likewise.
(m32r_breakpoint_from_pc): Likewise.
(m32r_store_return_value): Likewise.
(decode_prologue): Likewise.
(m32r_push_dummy_call): Likewise.
(m32r_return_value): Use 'gdb_byte *' instead of 'void *'.
* remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of
'char'.

18 years ago * ia64-tdep.c (floatformat_valid): Change type of `from' from
Kevin Buettner [Tue, 8 Nov 2005 01:42:53 +0000 (01:42 +0000)]
* ia64-tdep.c (floatformat_valid): Change type of `from' from
`const char *' to `const void *'.

18 years agoVarious gdb_byte related changes for FRV targets.
Kevin Buettner [Tue, 8 Nov 2005 01:01:34 +0000 (01:01 +0000)]
Various gdb_byte related changes for FRV targets.

18 years ago*** empty log message ***
gdbadmin [Tue, 8 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 7 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * configure: Regenerate after modifying bfd/warning.m4.
Steve Ellcey [Mon, 7 Nov 2005 22:21:48 +0000 (22:21 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.

18 years ago * warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
Steve Ellcey [Mon, 7 Nov 2005 22:14:12 +0000 (22:14 +0000)]
* warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
if compiler is not GCC.
* configure: Regenerate

18 years ago * configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
Steve Ellcey [Mon, 7 Nov 2005 21:55:14 +0000 (21:55 +0000)]
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.

18 years ago2005-10-24 Paul Gilliam <pgilliam@us.ibm.com
Paul Gilliam [Mon, 7 Nov 2005 20:37:58 +0000 (20:37 +0000)]
2005-10-24  Paul Gilliam  <pgilliam@us.ibm.com

* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
ppc_sysv_abi_return_value() to handle a vector return value.

18 years agomerge from gcc
DJ Delorie [Mon, 7 Nov 2005 16:36:16 +0000 (16:36 +0000)]
merge from gcc

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 7 Nov 2005 15:27:07 +0000 (15:27 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.h (return_child_result, return_child_result_value): Declare.
* infrun.c: Include main.h.
(print_stop_reason): Remove declaration of return_child_result_value.
* top.c: Include main.h.
(quit_force): Remove declarations of return_child_result_value and
return_child_result.
* Makefile.in (top.o, infrun.o): Add main.h to dependencies.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 7 Nov 2005 15:12:48 +0000 (15:12 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 7 Nov 2005 13:56:48 +0000 (13:56 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
Add new options --eval-command and alias -ex.
Adjust --command to use the new struct cmdarg.
Execute commands given with --eval-command.
(print_gdb_help): Add new options --eval-command, -ex and mention -x.

docs/

* gdb.texinfo (Choosing files): Add --eval-command.

18 years ago2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 7 Nov 2005 13:40:08 +0000 (13:40 +0000)]
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (main): Use INTERP_TUI instead of "tui".
Set interpreter to INTERP_INSIGHT when '-w' given.
* interps.h (INTERP_INSIGHT): New define.
* tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
of "tui".

18 years ago * i386-dis.c (ckprefix): Handle rex on fwait. Don't print
Alan Modra [Mon, 7 Nov 2005 00:19:12 +0000 (00:19 +0000)]
* i386-dis.c (ckprefix): Handle rex on fwait.  Don't print
ignored rex prefixes here.
(print_insn): Instead, handle them similarly to fwait followed
by non-fp insns.

18 years ago * elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
Dave Anglin [Mon, 7 Nov 2005 00:08:35 +0000 (00:08 +0000)]
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.

18 years ago*** empty log message ***
gdbadmin [Mon, 7 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 6 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 6 Nov 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 5 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 5 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 4 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 4 Nov 2005 11:49:12 +0000 (11:49 +0000)]
2005-11-04  Andrew Stubbs  <andrew.stubbs@st.com>

* infrun.c (print_stop_reason): Set return_child_result_value on exit.
* main.c (return_child_result): New variable.
(return_child_result_value): Likewise.
(captured_main): Add option --return-child-result.
Replace call to target_detach and exit (in batch mode) with quit_force.
(print_gdb_help): Add option --return-child-result.
* top.c (quit_force): Return child result if appropriate.

docs/
* gdb.texinfo (Choosing modes): Add --return-child-result.

18 years ago2005-11-03 Wu Zhou <woodzltc@cn.ibm.com>
Elena Zannoni [Fri, 4 Nov 2005 02:50:30 +0000 (02:50 +0000)]
2005-11-03  Wu Zhou  <woodzltc@cn.ibm.com>

        Checked in by Elena Zannoni  <ezannoni@redhat.com>

       * dwarf2read.c (read_structure_type): Add IBM XL C++
       specific code to set TYPE_VPTR_FIELDNO and TYPE_VPTR_BASETYPE
       of a virtual class if a field named "__vfp" is found.

18 years ago2005-11-03 Jim Blandy <jimb@redhat.com>
Elena Zannoni [Fri, 4 Nov 2005 02:48:51 +0000 (02:48 +0000)]
2005-11-03  Jim Blandy  <jimb@redhat.com>

        Checked in by Elena Zannoni  <ezannoni@redhat.com>

       * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.

18 years ago2005-11-03 Jim Blandy <jimb@redhat.com>
Elena Zannoni [Fri, 4 Nov 2005 02:46:45 +0000 (02:46 +0000)]
2005-11-03  Jim Blandy  <jimb@redhat.com>

        Checked in by Elena Zannoni  <ezannoni@redhat.com>

       * dwarf2read.c (file_full_name): Cope with file numbers that are
       out of range for the given line header.

18 years ago2005-11-03 Daniel Jacobowitz <dan@codesourcery.com>
Elena Zannoni [Fri, 4 Nov 2005 02:44:25 +0000 (02:44 +0000)]
2005-11-03  Daniel Jacobowitz  <dan@codesourcery.com>

        Checked in by Elena Zannoni  <ezannoni@redhat.com>

       * elfread.c (elf_symtab_read): Add number_of_symbols and
       symbol_table as arguments.  Do not load the symbol table
       here.
       (elf_symfile_read): Load the static and dynamic symbol tables
       here, before calling elf_symtab_read.  Also load any synthetic
       symbols and process those.

18 years ago2005-11-03 Andrew Cagney <cagney@gnu.org>
Elena Zannoni [Fri, 4 Nov 2005 02:42:34 +0000 (02:42 +0000)]
2005-11-03 Andrew Cagney  <cagney@gnu.org>

       Checked in by Elena Zannoni  <ezannoni@redhat.com>

       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Handle DW_OP_piece
       reads.

18 years ago*** empty log message ***
gdbadmin [Fri, 4 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 3 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * linux-nat.c (linux_nat_resume): Add more debugging messages. Do
Daniel Jacobowitz [Thu, 3 Nov 2005 19:31:38 +0000 (19:31 +0000)]
* linux-nat.c (linux_nat_resume): Add more debugging messages.  Do
not short-circuit resuming all threads if the signal will be ignored
in linux_nat_wait.

18 years ago * configure.in: Check for fopen64.
Daniel Jacobowitz [Thu, 3 Nov 2005 16:06:11 +0000 (16:06 +0000)]
* configure.in: Check for fopen64.
* libbfd-in.h (real_fopen): New prototype.
* configure, config.in, libbfd.h: Regenerated.
* bfdio.c (real_fopen): New function.
* opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it.
* cache.c (bfd_open_file): Likewise.

18 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Handle only
Thiemo Seufer [Thu, 3 Nov 2005 11:45:14 +0000 (11:45 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Handle only
forced local symbols here.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment.

18 years ago * elf.c (elf_fake_sections): When calculating tbss size, just use
Alan Modra [Thu, 3 Nov 2005 02:53:38 +0000 (02:53 +0000)]
* elf.c (elf_fake_sections): When calculating tbss size, just use
the last link_order.
(assign_file_positions_for_segments): Likewise.
* elflink.c (bfd_elf_final_link): Likewise.
(elf_reloc_link_order): Correct comment.

18 years ago * bfdlink.h (struct bfd_link_order): Tweak comment.
Alan Modra [Thu, 3 Nov 2005 02:52:51 +0000 (02:52 +0000)]
* bfdlink.h (struct bfd_link_order): Tweak comment.

18 years ago*** empty log message ***
gdbadmin [Thu, 3 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 2 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * configure.srv (x86_64-*-linux*): Turn on thread_db support.
Daniel Jacobowitz [Wed, 2 Nov 2005 19:54:44 +0000 (19:54 +0000)]
* configure.srv (x86_64-*-linux*): Turn on thread_db support.
* linux-x86-64-low.c (x86_64_breakpoint, x86_64_breakpoint_len)
(x86_64_get_pc, x86_64_set_pc, x86_64_breakpoint_at): New.
(the_low_target): Update.

18 years ago2005-11-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 2 Nov 2005 16:58:31 +0000 (16:58 +0000)]
2005-11-02  H.J. Lu  <hongjiu.lu@intel.com>

* iq2000-desc.c: Regenerated.
* iq2000-desc.h: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-opc.c: Likewise.

18 years ago2005-11-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 2 Nov 2005 16:53:11 +0000 (16:53 +0000)]
2005-11-02  Paul Brook  <paul@codesourcery.com>

* arm-dis.c (print_insn_thumb32): Word align blx target address.

18 years ago2005-11-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Wed, 2 Nov 2005 15:22:24 +0000 (15:22 +0000)]
2005-11-02  Andrew Stubbs  <andrew.stubbs@st.com>

* monitor.c (monitor_xfer_memory): Change char to gdb_byte.
(monitor_insert_breakpoint): Likewise.
(monitor_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
* sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte.
(sh_return_value_fpu): Likewise.
(sh_pseudo_register_read): Likewise.
(sh_pseudo_register_write): Likewise.
(sh_frame_prev_register): Likewise.
* sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte.
(sh64_return_value): Change void to gdb_byte.
(sh64_pseudo_register_read): Likewise.
(sh64_pseudo_register_write): Likewise.
(sh64_frame_prev_register): Likewise.

18 years ago * gdb.arch/gdb1558.c: Include stdio.h.
Corinna Vinschen [Wed, 2 Nov 2005 11:03:02 +0000 (11:03 +0000)]
* gdb.arch/gdb1558.c: Include stdio.h.

18 years ago * event-top.c (gdb_setup_readline): Add missing type in extern
Joel Brobecker [Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)]
    * event-top.c (gdb_setup_readline): Add missing type in extern
        declaration.

18 years ago*** empty log message ***
gdbadmin [Wed, 2 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 1 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update

18 years ago PR ld/1775 gdb_6_4-2005-11-01-branchpoint
Alan Modra [Tue, 1 Nov 2005 22:57:23 +0000 (22:57 +0000)]
PR ld/1775
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
parentheses.

18 years ago * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
Paul Gilliam [Tue, 1 Nov 2005 19:32:36 +0000 (19:32 +0000)]
    * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
         bfd_mach_ppc64 has altivec unit, just like bfd_mach_ppc.

18 years ago2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 1 Nov 2005 17:40:25 +0000 (17:40 +0000)]
2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>

* tui/tui-data.h (tui_line_or_address): Encapsulate the union in a
struct with a tag.
(tui_source_element, tui_source_info): Update.
* tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union.
* tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise.
* tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise.
* tui/tui-winsource.h: Likewise.

18 years ago* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
Christopher Faylor [Tue, 1 Nov 2005 14:07:00 +0000 (14:07 +0000)]
* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
(_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h.
(win32_add_thread): Use XZALLOC rather than xmalloc/memset.
(register_loaded_dll): Ditto.
(handle_load_dll): Call solib_add here.
(handle_unload_dll): Ditto.
(info_dll_command): Delete.
(handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING.
(win32_current_sos): Duplicate table to pass off to caller rather than deleting
our version.
(set_win32_aliases): New function.
(_initialize_win32_nat): Remove local handling of "info shared".  Set
deprecated_init_ui_hook to allow late setting of "info dll" alias.

18 years ago2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 1 Nov 2005 11:09:18 +0000 (11:09 +0000)]
2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>

* event-top.c (gdb_setup_readline): Don't set gdb_stdout when
--batch-silent option was given.
* main.c (batch_silent): New variable.
(captured_main): Add new option --batch-silent.
(print_gdb_help): Likewise.

doc/
* gdb.texinfo (Choosing modes): Add --batch-silent.

18 years ago* NEWS: Mention VAX floating point support.
Mark Kettenis [Tue, 1 Nov 2005 07:30:47 +0000 (07:30 +0000)]
* NEWS: Mention VAX floating point support.

18 years ago* win32-nat.c (get_relocated_section_addrs): Reinstate.
Christopher Faylor [Tue, 1 Nov 2005 05:08:29 +0000 (05:08 +0000)]
* win32-nat.c (get_relocated_section_addrs): Reinstate.
(solib_symbols_add): New function.
(lm_info): Remove end_addr field.
(register_loaded_dll): Don't try to find end_addr since gdb will do this
automatically now.  Make so_original_name == so_name for now.  Eliminate strcpy
by using so_name directly.  Read in symbols if new paramater "readsyms" is
true.
(handle_load_dll): Pass auto_solib_add to register_loaded_dll to control when
symbols should be read.
(win32_free_so): Don't free objfile here.
(win32_create_inferior_hook): New function.
(handle_unload_dll): Remove left-over cruft.
(win32_special_symbol_handling): New (dummy) function.
(map_single_dll_code_section): Reinstate.
(dll_code_sections_add): Reinstate.
(core_section_load_dll_symbols): Reinstate.  Don't issue an error on duplicate
attempts to read same dll.  Make sure that UNIX-like name is used to register
DLL.
(win32_current_sos): Handle core files.  Reset private list before passing
start of list pointer to gdb.
(init_win32_ops): Fill out (currently unused) solib_create_inferior_hook.  Fill
out special_symbol_handling.
* config/i386/tm-cygwin.h: Remove most special solib stuff.

18 years ago* win32-nat.c: Remove comment intended only for debugging.
Christopher Faylor [Tue, 1 Nov 2005 00:40:09 +0000 (00:40 +0000)]
* win32-nat.c: Remove comment intended only for debugging.

18 years ago*** empty log message ***
gdbadmin [Tue, 1 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* doublest.c (floatformat_normalize_byteorder): Handle
Mark Kettenis [Mon, 31 Oct 2005 23:35:52 +0000 (23:35 +0000)]
* doublest.c (floatformat_normalize_byteorder): Handle
floatformat_vax.
(convert_doublest_to_floatformat): Use
floatformat_normalize_byteorder to swap bytes if necessary.
* vax-tdep.c: Include floatformat.h.
(vax_gdbarch_init): Set float_format, double_format,
long_double_format and long_double_bit.
* Makefile.in (vax-tdep.o): Update dependencies.

18 years agodaily update
Alan Modra [Mon, 31 Oct 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agoChange child_ to win32_ throughout.
Christopher Faylor [Mon, 31 Oct 2005 22:50:58 +0000 (22:50 +0000)]
Change child_ to win32_ throughout.
* win32-nat.c (win32_ops): New variable.
(win32_so_ops): Ditto.
(psapi_get_dll_name): Make function static.
(struct so_stuff): Delete.
(struct lm_info): New struct.
(solib_start, solib_end): Redefine as struct so_list.
(safe_symbol_file_add_stub): Use so_list rather than so_stuff.
(register_loaded_dll): Ditto.  Special-case ntdll.dll.  Fill in lm_info field
of so_list with information previously stored in so_stuff.
(get_image_name): Make function static.
(max_dll_name_len): Make variable static.
(win32_free_so): New function.
(win32_current_sos): Ditto.
(win32_relocate_section_addresses): Ditto.
(handle_unload_dll): Use so_list rather than so_stuff.  Call free_so to delete
shared library.
(solib_address): Delete function.
(child_solib_loaded_library_pathname): Ditto.
(win32_clear_solib): Rename from child_clear_solibs.  Use so_list rather than
so_stuff.  Just clear win32-specific stuff.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Ditto.
(info_dll_command): Make static.  Use lm_info field from so_list to retrieve
load address.
(fake_create_process): Make function static.
(win32_xfer_memory): Ditto.
(win32_kill_inferior): Ditto.
(win32_resume): Ditto.
(cygwin_pid_to_str): Ditto.
(do_initial_win32_stuff): Use win32_ops rather than deprecated_child_ops.
(child_detach): Ditto.
(win32_mourn_inferior): Ditto.
(_initialize_win32_nat): Ditto.
(init_win32_ops): Ditto.  Fill out win32_so_ops and set current_target_so_ops
to win32_so_ops.
(core_dll_symbols_add): Delete.
(map_single_dll_code_section): Ditto.
(dll_code_sections_add): Ditto.
(core_section_load_dll_symbols): Ditto.
(child_solib_add): Ditto.

18 years ago* gdb.asm/asm-source.exp: Use -e instead of --entry.
Mark Kettenis [Mon, 31 Oct 2005 20:33:22 +0000 (20:33 +0000)]
* gdb.asm/asm-source.exp: Use -e instead of --entry.

18 years ago2005-10-31 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 31 Oct 2005 19:11:35 +0000 (19:11 +0000)]
2005-10-31  Andrew Stubbs  <andrew.stubbs@st.com>

* tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
getenv() before using it.

18 years agomerge from gcc
DJ Delorie [Mon, 31 Oct 2005 18:01:19 +0000 (18:01 +0000)]
merge from gcc

18 years ago* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
Mark Kettenis [Mon, 31 Oct 2005 16:00:46 +0000 (16:00 +0000)]
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.

18 years ago * arm-dis.c (print_insn): Warning fix.
Alan Modra [Mon, 31 Oct 2005 06:10:33 +0000 (06:10 +0000)]
* arm-dis.c (print_insn): Warning fix.

18 years ago*** empty log message ***
gdbadmin [Mon, 31 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 30 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agold/
H.J. Lu [Sun, 30 Oct 2005 17:40:28 +0000 (17:40 +0000)]
ld/
binutils/
opcodes/

2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* dep-in.sed: Replace " ./" with " ".

18 years ago*** empty log message ***
gdbadmin [Sun, 30 Oct 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 Oct 2005 23:47:42 +0000 (23:47 +0000)]
2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* dep-in.sed: Replace " ./" with " ".

18 years ago2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)]
2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>

* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
define.
* osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
* sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
if SCO5_CORE is defined.

18 years agodaily update
Alan Modra [Sat, 29 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* hppa-tdep.h (HPPA_INSN_SIZE): New define.
Mark Kettenis [Sat, 29 Oct 2005 21:31:45 +0000 (21:31 +0000)]
* hppa-tdep.h (HPPA_INSN_SIZE): New define.
* hppa-hpux-tdep.c (hppa_hpux_search_pattern)
(hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
assumption on sizeof(unsigned).

18 years ago* inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
Mark Kettenis [Sat, 29 Oct 2005 21:22:39 +0000 (21:22 +0000)]
* inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
code; return TARGET_WAITKIND_STOPPED instead.

18 years ago* Makefile.am: Run "make dep-am".
Mark Kettenis [Sat, 29 Oct 2005 21:16:20 +0000 (21:16 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years agodaily update
Alan Modra [Sat, 29 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 29 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:58:11 +0000 (19:58 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
        CGEN_ATTR_VALUE_TYPE.
        * mloop.in: Ditto.
        * pipeline.c: Ditto.
        * traps.c: Ditto.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:49:22 +0000 (19:49 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        * All CGEN-generated sources: Regenerate.

        Contribute the following changes:
        2005-09-19  Dave Brolley  <brolley@redhat.com>

        * disassemble.c (disassemble_init_for_target): Add 'break' to case for
        bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for
        bfd_arch_m32c case.

        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen-opc.c: Likewise.

        2003-11-28  Richard Sandiford  <rsandifo@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas.
        * *-dis.c: Regenerate.

        2003-06-05  DJ Delorie  <dj@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign
        it, as it may point to a reused buffer. Set prev_isas when we
        change cpus.

        2002-12-13  Dave Brolley  <brolley@redhat.com>

        * cgen-opc.c (cgen_isa_mask_create): New support function for
        CGEN_ISA_MASK.
        (cgen_isa_mask_init): Ditto.
        (cgen_isa_mask_clear): Ditto.
        (cgen_isa_mask_add): Ditto.
        (cgen_isa_mask_set): Ditto.
        (cgen_isa_supported): Ditto.
        (cgen_isa_mask_compare): Ditto.
        (cgen_isa_mask_intersection): Ditto.
        (cgen_isa_mask_copy): Ditto.
        (cgen_isa_mask_combine): Ditto.
        * cgen-dis.in (libiberty.h): #include it.
        (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *).
        (print_insn_@arch@): Use CGEN_ISA_MASK and support functions.
        * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm.
        * Makefile.in: Regenerated.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:41:01 +0000 (19:41 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
        more exotic underlying types to be used.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:38:59 +0000 (19:38 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen.h: Likewise.

18 years ago* ppc-tdep.h (PPC_INSN_SIZE): Define.
Mark Kettenis [Fri, 28 Oct 2005 18:23:32 +0000 (18:23 +0000)]
* ppc-tdep.h (PPC_INSN_SIZE): Define.

18 years ago* inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
Mark Kettenis [Fri, 28 Oct 2005 18:20:35 +0000 (18:20 +0000)]
* inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
(inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
(inf_ttrace_target): Resort assignments.

18 years ago * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
Eli Zaretskii [Fri, 28 Oct 2005 17:20:03 +0000 (17:20 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
"The -var-update Command".

18 years ago From Eric Botcazou <botcazou@adacore.com>
Joel Brobecker [Fri, 28 Oct 2005 16:25:48 +0000 (16:25 +0000)]
    From Eric Botcazou  <botcazou@adacore.com>
        * coffcode.h (coff_compute_section_file_positions): Fix small
        error in preprocessor directives.

18 years ago Mostly from Eric Botcazou <botcazou@adacore.com>
Joel Brobecker [Fri, 28 Oct 2005 16:24:35 +0000 (16:24 +0000)]
    Mostly from Eric Botcazou <botcazou@adacore.com>
        * rs6000-core.c: ANSIfy all function definitions.
        Add missing function prototypes.
        (ptr_to_uint): New type.
        (rs6000coff_core_p): Use it as intermediate step in casts.
        (rs6000coff_core_file_matches_executable_p): Likewise.
        * xcoff-target.h (rs6000coff_core_p): Fix prototype.
        (rs6000coff_core_file_matches_executable_p): Likewise.

18 years ago2005-10-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 28 Oct 2005 13:50:57 +0000 (13:50 +0000)]
2005-10-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1472
* aoutx.h (NAME (aout, machine_type)): Handle
bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
and bfd_mach_sparc_v9b.

18 years agoSync with Emacs 22.0.50.
Nick Roberts [Fri, 28 Oct 2005 03:26:19 +0000 (03:26 +0000)]
Sync with Emacs 22.0.50.

18 years ago*** empty log message ***
Nick Roberts [Fri, 28 Oct 2005 03:25:41 +0000 (03:25 +0000)]
*** empty log message ***

18 years ago PR ld/1567
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:29:44 +0000 (00:29 +0000)]
PR ld/1567
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set
complain_on_overflow field to complain_overflow_dont.