OSDN Git Service
sje [Mon, 7 Nov 2005 22:19:01 +0000 (22:19 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:17:58 +0000 (22:17 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.
sje [Mon, 7 Nov 2005 22:15:44 +0000 (22:15 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.
sje [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
sje [Mon, 7 Nov 2005 21:55:14 +0000 (21:55 +0000)]
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
pgilliam [Mon, 7 Nov 2005 20:37:57 +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.
danglin [Mon, 7 Nov 2005 18:53:10 +0000 (18:53 +0000)]
PR gas/1804
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
output constant data.
mmitchel [Mon, 7 Nov 2005 18:07:12 +0000 (18:07 +0000)]
* doc/Makefile.am (asconfig.texi): Set top_srcdir.
* doc/Makefile.in: Regenerated.
* doc/as.texinfo: Document "@FILE".
nickc [Mon, 7 Nov 2005 17:57:00 +0000 (17:57 +0000)]
PR binutils/1568
* config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x'
attribute. Remember the actions of the 'w' and 'n' attributes and do not
allow the 'x','s' or 'd' attributes to change them.
corinna [Mon, 7 Nov 2005 17:08:08 +0000 (17:08 +0000)]
* times.cc (futimes): Redirect to utimes_worker if given file
descriptor is opened R/O.
dj [Mon, 7 Nov 2005 16:36:16 +0000 (16:36 +0000)]
merge from gcc
ams [Mon, 7 Nov 2005 15:27:06 +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.
ams [Mon, 7 Nov 2005 15:12:47 +0000 (15:12 +0000)]
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
* Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.
ams [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.
ams [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".
ams [Mon, 7 Nov 2005 12:46:37 +0000 (12:46 +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".
jbeulich [Mon, 7 Nov 2005 08:04:53 +0000 (08:04 +0000)]
gas/testsuite/
2005-11-07 Jan Beulich <jbeulich@novell.com>
* gas/all/redef2.[sd]: New.
* gas/all/gas.exp: Run new test.
* gas/elf/redef.d: New.
* gas/elf/elf.exp: Run new test.
amodra [Mon, 7 Nov 2005 06:03:50 +0000 (06:03 +0000)]
* gas/i386/divide.s: Test line comment starting with '/'.
* gas/i386/divide.d: Pass --divide to gas.
* gas/i386/intelok.d: Likewise.
* gas/i386/i386.exp (divide): Run for all targets.
amodra [Mon, 7 Nov 2005 06:01:18 +0000 (06:01 +0000)]
* config/tc-i386.h (tc_comment_chars): Define.
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.
amodra [Mon, 7 Nov 2005 02:15:47 +0000 (02:15 +0000)]
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
amodra [Mon, 7 Nov 2005 01:47:54 +0000 (01:47 +0000)]
* macro.c (buffer_and_nest): Skip labels regardless of
NO_PSEUDO_DOT and flag_m68k_mri.
amodra [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.
danglin [Mon, 7 Nov 2005 00:08:35 +0000 (00:08 +0000)]
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
gdbadmin [Mon, 7 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 6 Nov 2005 23:12:36 +0000 (23:12 +0000)]
* ldmain.c (main): Add \n to error message.
amodra [Sun, 6 Nov 2005 23:04:53 +0000 (23:04 +0000)]
* gas/z80/z80.exp: Added "suffix" test.
* gas/z80/suffix.s: New file.
* gas/z80/suffix.d: New file.
amodra [Sun, 6 Nov 2005 23:04:10 +0000 (23:04 +0000)]
* expr.c (integer_constant): Match only 'B' as binary suffix if
NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
otherwise.
amodra [Sun, 6 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
cgf [Sun, 6 Nov 2005 14:02:33 +0000 (14:02 +0000)]
* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
by subsequent handle creation.
gdbadmin [Sun, 6 Nov 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 5 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 5 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 4 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update
kevinb [Fri, 4 Nov 2005 21:16:29 +0000 (21:16 +0000)]
* thread-db.c (ALWAYS_UPDATE_THREAD_LIST): Define to be 0.
(handle_thread_db_event): Update thread list upon receipt of
TD_CREATE or TD_DEATH events.
(thread_db_check_child_state): Potentially disable, depending upon
value of ALWAYS_UPDATE_THREAD_LIST, the thread list update.
(thread_db_check_child_state): Update thread list for signal based
event model too.
cgf [Fri, 4 Nov 2005 20:45:56 +0000 (20:45 +0000)]
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
* hires.h (hires_ms::minperiod): Remove static designation.
(hires::began_period): New field.
* signal.cc: Include headers required for cygheap.h now that gtod lives in the
cygheap.
* timer.c: Ditto.
* times.cc (gtod): Delete variable.
(gtod::minperiod): Ditto.
(gtod::began_period): Define.
(hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when
!began_period.
hjl [Fri, 4 Nov 2005 19:53:02 +0000 (19:53 +0000)]
2005-11-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/padlock.d: Support 64bit BFD.
aoliva [Fri, 4 Nov 2005 19:45:23 +0000 (19:45 +0000)]
gas/ChangeLog:
* read.c (s_weakref): Do not permit redefinitions.
* symbols.c (colon): Do not permit redefinitions of equated
symbols.
gas/testsuite/ChangeLog:
* gas/all/gas.exp: Remove weakref xfail. Run weakref4.s.
* gas/all/weakref1.s: Move redefinition bits to...
* gas/all/weakref4.s: ... new file.
* gas/all/weakref1.d: Remove command moved to weakref1u. Adjust
remaining command for leading tabs. Regenerate.
* gas/all/weakref1l.d: Regenerate.
* gas/all/weakref1u.d: Likewise.
* gas/all/wealref1w.d: Likewise.
cgf [Fri, 4 Nov 2005 17:38:32 +0000 (17:38 +0000)]
* times.cc (hires_ms::prime): More debugging.
(hires_ms::usecs): Ditto.
amodra [Fri, 4 Nov 2005 13:26:53 +0000 (13:26 +0000)]
* ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
(output_statement_newfunc): Rewrite.
(lang_output_section_find_1): Merge into..
(lang_output_section_find): ..here.
(lang_output_section_statement_lookup_1): Rewrite to handle
multiple sections with the same name.
(output_statement_table_init): Commonise error message.
(lang_init, open_output): Likewise.
jbeulich [Fri, 4 Nov 2005 13:25:59 +0000 (13:25 +0000)]
gas/testsuite/
2005-11-04 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: xfail weakref dump tests for all targets.
ams [Fri, 4 Nov 2005 11:49:09 +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.
ezannoni [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.
ezannoni [Fri, 4 Nov 2005 02:48:50 +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.
ezannoni [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.
ezannoni [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.
ezannoni [Fri, 4 Nov 2005 02:42:32 +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.
dannysmith [Fri, 4 Nov 2005 02:19:26 +0000 (02:19 +0000)]
2005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>
* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.
cgf [Fri, 4 Nov 2005 02:01:45 +0000 (02:01 +0000)]
* times.cc (stupid_printf): Define and use throughout -- temporarily.
gdbadmin [Fri, 4 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 3 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 3 Nov 2005 20:47:50 +0000 (20:47 +0000)]
2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
* libc/unix/getlogin.c: Ditto.
* libc/unix/getpass.c: Ditto.
* libc/unix/getut.c: Ditto.
* libc/unix/ttyname.c: Ditto.
drow [Thu, 3 Nov 2005 19:31:37 +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.
jjohnstn [Thu, 3 Nov 2005 16:52:13 +0000 (16:52 +0000)]
2005-11-03 Shaun Jackman <sjackman@gmail.com>
* libc/include/sys/unistd.h (readlink, symlink): Provide these
prototypes by default.
* libc/sys/linux/include/unistd.h (readlink): Remove this
prototype.
* libc/sys/linux/sys/unistd.h (readlink, symlink): New
prototypes.
drow [Thu, 3 Nov 2005 16:06:09 +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.
pbrook [Thu, 3 Nov 2005 15:01:58 +0000 (15:01 +0000)]
2005-11-03 Paul Brook <paul@codesourcery.com>
* scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
* scripttempl/armbpabi.sc: Make init/fini array consistent with
elf.sc.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
cgf [Thu, 3 Nov 2005 14:59:22 +0000 (14:59 +0000)]
* times.cc (hires_ms::prime): Add lots of temporary debugging output.
ths [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.
dannysmith [Thu, 3 Nov 2005 08:21:18 +0000 (08:21 +0000)]
* lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,
CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx,
CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs.
Thanks to: F Richter <res2002 at users dot sourceforge dot net>
Fix some ChangeLog whitespace.
amodra [Thu, 3 Nov 2005 02:54:09 +0000 (02:54 +0000)]
* ldlang.h (lang_output_section_statement_type): Rearrange. Remove
memspec. Make "processed" a bitfield.
(lang_data_statement_type, lang_reloc_statement_type): Rename
output_vma to output_offset.
* ldlang.c (lang_output_section_statement_lookup_1): Init
all_input_readonly. Don't init memspec.
(init_os): Remove incorrect comment.
(print_data_statement, print_reloc_statement): Adjust for
lang_data_statement_type and lang_reloc_statement_type change.
(lang_size_sections_1, lang_add_reloc): Likewise.
* ldwrite.c (build_link_order): Likewise.
amodra [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.
amodra [Thu, 3 Nov 2005 02:52:51 +0000 (02:52 +0000)]
* bfdlink.h (struct bfd_link_order): Tweak comment.
cgf [Thu, 3 Nov 2005 02:41:51 +0000 (02:41 +0000)]
* times.cc (hires_ms::minperiod): Make copy-on-fork.
(gettimeofday): Remove temporary debugging.
(hires_us::prime): Add lots of temporary debugging output.
gdbadmin [Thu, 3 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 2 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
drow [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.
cgf [Wed, 2 Nov 2005 18:28:40 +0000 (18:28 +0000)]
* times.cc (gettimeofday): Add temporary debugging output.
hjl [Wed, 2 Nov 2005 16:58:30 +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.
pbrook [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.
ams [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.
corinna [Wed, 2 Nov 2005 11:03:02 +0000 (11:03 +0000)]
* gdb.arch/gdb1558.c: Include stdio.h.
brobecke [Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)]
* event-top.c (gdb_setup_readline): Add missing type in extern
declaration.
gdbadmin [Wed, 2 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 1 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
amodra [Tue, 1 Nov 2005 22:57:22 +0000 (22:57 +0000)]
PR ld/1775
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
parentheses.
jjohnstn [Tue, 1 Nov 2005 22:26:21 +0000 (22:26 +0000)]
2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
pgilliam [Tue, 1 Nov 2005 19:32:35 +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.
ams [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.
cgf [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.
ams [Tue, 1 Nov 2005 11:09:17 +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.
ths [Tue, 1 Nov 2005 10:23:55 +0000 (10:23 +0000)]
PR gas/1299
* Makefile.am: Disable -Werror for the itbl-lex.o rule.
* Makefile.in: Regenerate.
kettenis [Tue, 1 Nov 2005 07:30:46 +0000 (07:30 +0000)]
* NEWS: Mention VAX floating point support.
cgf [Tue, 1 Nov 2005 05:55:30 +0000 (05:55 +0000)]
* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the
process is being debugged. A WIP.
cgf [Tue, 1 Nov 2005 05:08:28 +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.
ths [Tue, 1 Nov 2005 01:59:28 +0000 (01:59 +0000)]
* config/tc-mips.c (md_parse_option): Fix typo in comment.
cgf [Tue, 1 Nov 2005 00:40:09 +0000 (00:40 +0000)]
* win32-nat.c: Remove comment intended only for debugging.
gdbadmin [Tue, 1 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
amodra [Mon, 31 Oct 2005 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Mon, 31 Oct 2005 22:50:57 +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.
kettenis [Mon, 31 Oct 2005 20:33:22 +0000 (20:33 +0000)]
* gdb.asm/asm-source.exp: Use -e instead of --entry.
ams [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.
jjohnstn [Mon, 31 Oct 2005 18:47:20 +0000 (18:47 +0000)]
2005-10-31 Darin Johnson <darin@usa.net>
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
correct for constants.
dj [Mon, 31 Oct 2005 18:01:16 +0000 (18:01 +0000)]
merge from gcc
kettenis [Mon, 31 Oct 2005 16:00:46 +0000 (16:00 +0000)]
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
amodra [Mon, 31 Oct 2005 06:10:33 +0000 (06:10 +0000)]
* arm-dis.c (print_insn): Warning fix.
hp [Mon, 31 Oct 2005 04:08:40 +0000 (04:08 +0000)]
PR ld/1501
* ld-mmix/bpo-10.d: Adjust for empty-section-removal.
gdbadmin [Mon, 31 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 30 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update
mmitchel [Sun, 30 Oct 2005 18:08:51 +0000 (18:08 +0000)]
* as.c (show_usage): Document "@FILE".
* gprof.c (usage): Document "@FILE".
* lexsup.c (help): Document "@FILE".
hjl [Sun, 30 Oct 2005 17:40:27 +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 " ".