Jerome Guitton
0ad36c846a
* sim/ppc/emul_bugapi.c (emul_bugapi_create): quote the file
...
name property before parsing it.
2007-09-04 09:45:06 +00:00
Alan Modra
7bc3e93c1b
* config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
...
(md_assemble): Update init of insn. Use insn.reloc instead of
calculating from flag.
(get_imm): Set reloc rather than flag.
(calcop): Formatting.
2007-09-04 04:10:21 +00:00
Alan Modra
b427ea91a5
* elf32-spu.c (elf_howto_table): Formatting.
2007-09-04 04:09:22 +00:00
Pedro Alves
1d751abe59
Revert accidentally committed hunk... Sorry.
2007-09-04 01:38:07 +00:00
Pedro Alves
de1b3c3d02
* infcmd.c (post_create_inferior): Update comment.
...
(run_command_1): Always call post_create_inferior with 0 as
from_tty.
* i386-cygwin-tdep.h: New.
* i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h".
(win32_xfer_shared_library): Make it extern.
* win32-nat.c: Include gdb_obstack.h and xml-support.h and
i386-cygwin-tdep.h.
(win32_so_ops): Delete.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Delete.
(register_loaded_dll): Delete.
(win32_make_so): New.
(handle_load_dll): Use win32_make_so.
(win32_free_so): Free the passed in so.
(win32_relocate_section_addresses): Delete.
(win32_solib_create_inferior_hook): Delete.
(handle_unload_dll): Don't add PE offset here. Free so with
win32_free_so instead of free_so.
(win32_special_symbol_handling): Delete.
(get_win32_debug_event): Remove unneeded calls. Set state to
TARGET_WAITKIND_LOADED on a dll unload.
(do_initial_win32_stuff): Clear cygwin_load_start and
cygwin_load_end.
(map_code_section_args): Delete.
(dll_code_sections_add): Delete.
(core_section_load_dll_symbols): Delete.
(win32_xfer_shared_libraries): New.
(win32_current_sos): Delete.
(win32_xfer_partial): New.
(open_symbol_file_object): Delete.
(in_dynsym_resolve_code): Delete.
(init_win32_ops): Set win32_xfer_partial as to_xfer_partial member
of win32_ops. Remove win32_so_ops settings. Don't set
current_target_so_ops here.
* Makefile.in (i386_cygwin_tdep_h): New variable.
(i386-cygwin-tdep.o): Update dependencies.
(win32-nat.o): Update dependencies.
2007-09-04 01:12:18 +00:00
Alan Modra
892bacea17
daily update
2007-09-04 00:00:05 +00:00
gdbadmin
8afa4c23b1
*** empty log message ***
2007-09-04 00:00:04 +00:00
Pedro Alves
de58486143
* gdbarch.sh (core_xfer_shared_libraries): New.
...
* corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
* gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New.
* xml-support.c (gdb_xml_parse): Debug output tweaks.
(xml_escape_text): New.
* xml-support.h (xml_escape_text): Declare.
* config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ...
* config/i386/cygwin.mt (TDEPFILES): ... here.
* win32-nat.c: (fetch_elf_core_registers): Delete.
(win32_elf_core_fn): Delete.
(_initialize_core_win32): Delete.
* i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h",
"xml-support.h" and "gdbcore.h".
(i386_win32_gregset_reg_offset): New.
(I386_WIN32_SIZEOF_GREGSET): New.
(i386_win32_regset_from_core_section): New.
(win32_xfer_shared_library): New.
(struct cpms_data): New.
(core_process_module_section): New.
(win32_core_xfer_shared_libraries): New.
(i386_cygwin_skip_trampoline_code): Register gregset_reg_offset,
gregset_num_regs, sizeof_gregset members of tdep. Register
regset_from_core_section and core_xfer_shared_libraries callbacks.
* Makefile.in (i386-cygwin-tdep.o): Update dependencies.
* gdbarch.h, gdbarch.c: Regenerate.
2007-09-03 23:06:35 +00:00
Pedro Alves
7160c4c357
* corelow.c (core_xfer_partial): Pass writebuf to
...
deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
2007-09-03 22:31:45 +00:00
Pedro Alves
6dc134122f
* arm-tdep.h (arm_skip_stub): Declare.
...
* arm-wince-tdep.c: Don't include "solib-svr4.h". Include
"gdbcore.h".
(arm_pe_skip_trampoline_code): New function.
(arm_wince_init_abi): Register arm_pe_skip_trampoline_code as
gdbarch_skip_trampoline_code callback.
* Makefile.in (arm-wince-tdep.o): Update dependencies.
2007-09-03 22:24:24 +00:00
Pedro Alves
aec18585f0
* win32-low.c (create_process): New.
...
(win32_create_inferior): Use create_process instead of
CreateProcess. If create_process failed retry appending an ".exe"
suffix. Store the GetLastError result immediatelly after
create_process calls and use it on the call to error.
2007-09-03 22:17:27 +00:00
Pedro Alves
26669a2768
* gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
...
the dll name to unicode.
2007-09-03 22:12:13 +00:00
Pedro Alves
34d86dddf2
* win32-low.c (handle_load_dll): Don't use toolhelp when waiting.
2007-09-03 22:04:02 +00:00
Daniel Jacobowitz
ca8385e5ed
* MAINTAINERS: Move Fred Fish to Past Maintainers.
2007-09-03 21:12:47 +00:00
Daniel Jacobowitz
5c39566fee
* configure.ac: Add --with-expat.
...
* configure: Regenerated.
2007-09-03 20:47:37 +00:00
Andreas Schwab
6a30b0a545
* configure.ac: Accept --with-system-readline.
...
(READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute.
* configure: Regenerate.
* Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use
substituted values.
(CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
2007-09-03 19:00:16 +00:00
Daniel Jacobowitz
edff0c0a1d
* mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.
2007-09-03 17:51:10 +00:00
Daniel Jacobowitz
3277c0e07c
Add missed changelog entry.
2007-09-03 17:11:28 +00:00
Jan Kratochvil
c8f021f824
* gdb.base/default.exp (show version): Update the version text.
...
* gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
2007-09-03 14:58:47 +00:00
gdbadmin
25485add49
*** empty log message ***
2007-09-03 00:00:34 +00:00
Alan Modra
97f387b8bc
daily update
2007-09-03 00:00:04 +00:00
Jan Kratochvil
0b93d57c33
* top.c (print_gdb_version): Fixed a string end-of-line compiler error.
2007-09-02 21:13:56 +00:00
Daniel Jacobowitz
b8533aeca8
* top.c (print_gdb_version): Update for GPL version 3.
...
* gdb.texinfo: Update the FSF's Back-Cover Text.
2007-09-02 20:02:12 +00:00
Jan Kratochvil
f5db87141a
* NEWS: Mention the build-id .debug files verification.
2007-09-02 19:56:05 +00:00
Jan Kratochvil
83f83d7f7f
* gdb.texinfo (Separate Debug Files): Cosmetic quoting removal.
...
Fixed the ``build ID'' name. New binaries build instructions for the
build ID inclusion. Explain how the commands are specific to the build
ID vs. debug link.
2007-09-02 19:55:32 +00:00
Jan Kratochvil
d99148ef73
* linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow.
2007-09-02 14:04:31 +00:00
Jan Kratochvil
4cf31eea6a
* gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
...
New files.
2007-09-02 14:03:58 +00:00
H.J. Lu
aff90a5f25
bfd/
...
2007-09-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* dwarf2.c (new_line_sorts_after): Undo the last change.
(add_line_info): Only keep the last entry with the same address
and end sequence.
ld/testsuite/
2007-09-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* ld-ia64/line.exp: New.
* ld-ia64/undefined.s: Likewise.
* ld-x86-64/line.exp: Don't check CC.
2007-09-02 13:29:20 +00:00
gdbadmin
84a63fd9d9
*** empty log message ***
2007-09-02 00:00:34 +00:00
Alan Modra
406046cf5e
daily update
2007-09-02 00:00:05 +00:00
Daniel Jacobowitz
eeab5adb6c
PR gdb/2138
...
From readline 5.2:
* configure.in (CROSS_COMPILE): Initialize to empty.
* configure: Regenerated.
2007-09-01 20:49:09 +00:00
Eli Zaretskii
c7e83d54a2
* gdb.texinfo (Separate Debug Files): Fix last change. Add
...
indexing for ``build ID'' support.
2007-09-01 10:28:25 +00:00
Jan Kratochvil
77069918ac
* Makefile.in (symfile.o): Update dependencies.
...
* symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the
DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS.
(struct build_id): New structure.
(build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New.
(find_separate_debug_file): New variable BUILD_ID.
Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
2007-09-01 08:18:15 +00:00
Jan Kratochvil
d3750b24f6
* gdb.texinfo (Separate Debug Files): Included a BUILD ID description.
...
Enlisted BUILD ID to the debug file searching example.
Included a BUILD ID `.note.gnu.build-id' section description.
Updated/added the debug files splitting instructions for OBJCOPY.
2007-09-01 08:17:13 +00:00
Jan Kratochvil
4935890f4d
* lib/gdb.exp (build_id_debug_filename_get): New function.
...
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
Remove the generate DEBUG file for the future testcase runs.
New testcase for the NT_GNU_BUILD_ID retrieval.
Move the final testing step to ...
(test_different_dir): ... a new function.
New parameter XFAIL to XFAIL all the tests performed.
New parameter TEST_DIFFERENT_DIR parametrizing the directory.
New parameter TYPE to PF_PREFIX all the tests performed.
2007-09-01 08:16:16 +00:00
H.J. Lu
399347457c
bfd/
...
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* dwarf2.c (new_line_sorts_after): Also compare line number.
ld/testsuite/
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* ld-x86-64/line.exp: New
* ld-x86-64/undefined.s: Likewise.
2007-09-01 06:09:20 +00:00
gdbadmin
7f3e0549a5
*** empty log message ***
2007-09-01 00:00:34 +00:00
Alan Modra
cd0bcef10a
daily update
2007-09-01 00:00:09 +00:00
H.J. Lu
1afd85e30f
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
(dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
(opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
2007-08-31 20:55:13 +00:00
DJ Delorie
8969a67f0a
merge from gcc
2007-08-31 20:20:49 +00:00
Vladimir Prus
202ddcaa09
* varobj.c (struct varobj): Fix comment
...
for the type member not to lie when it can be
NULL.
2007-08-31 19:01:17 +00:00
Vladimir Prus
02142340a0
Implement -var-info-path-expression.
...
* mi/mi-cmds.h (mi_cmd_var_info_path_expression):
Declare.
* mi/mi-cmds.c (mi_cmds): Register var-info-path-expression.
* mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New.
* varobj.c (struct varobj): New field 'path_expr'.
(c_path_expr_of_child, cplus_path_expr_of_child)
(java_path_expr_of_child): New.
(struct language_specific): New field path_expr_of_child.
(varobj_create): Initialize the path_expr field.
(varobj_get_path_expr): New.
(new_variable): Initialize the path_expr field.
(free_variable): Free the path_expr field.
(adjust_value_for_children_access): New parameter
WAS_TYPE.
(c_number_of_children): Adjust.
(c_describe_child): New parameter CFULL_EXPRESSION.
Compute full expression.
(c_value_of_child, c_type_of_child): Adjust.
(cplus_number_of_children): Adjust.
(cplus_describe_child): New parameter CFULL_EXPRESSION.
Compute full expression.
(cplus_name_of_child, cplus_value_of_child)
(cplus_type_of_child): Adjust.
* varobj.h (varobj_get_path_expr): Declare.
2007-08-31 18:52:05 +00:00
H.J. Lu
144c41d992
gas/testsuite/
...
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/svme.s: Updated to accept eax in 32bit and rax in
64bit.
* gas/i386/svme.d: Updated.
* gas/i386/svme64.d: Likewise.
opcodes/
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (SVME_Fixup): Removed.
(OPC_EXT_39): New.
(OPC_EXT_RM_6): Likewise.
(grps): Use OPC_EXT_39.
(opc_ext_table): Add OPC_EXT_39.
(opc_ext_rm_table): Add OPC_EXT_RM_6.
* i386-opc.tbl: Correct SVME instructions to take register
operand only.
* i386-tbl.h: Regenerated.
2007-08-31 18:48:29 +00:00
Vladimir Prus
bccc275a13
* mi/mi-cmd-var.c (print_varobj): If a varobj
...
type is NULL, don't try to print it.
2007-08-31 18:41:50 +00:00
H.J. Lu
f469d32bb9
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerated.
* sysdep.h: Include "config.h" first.
2007-08-31 15:06:11 +00:00
Nick Clifton
3a4743fef3
* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non zerofill sections.
2007-08-31 14:55:24 +00:00
H.J. Lu
dabbade67e
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerated.
* configure.in (AC_GNU_SOURCE): Added.
(AC_PROG_CC): Moved before AC_GNU_SOURCE.
(AC_CHECK_DECLS): Add stpcpy.
* configure: Regenerated.
* config.in: Likewise.
* i386-dis.c: Include "sysdep.h" before "dis-asm.h".
* sysdep.h (stpcpy): New.
2007-08-31 14:55:10 +00:00
Nick Clifton
a1438fce30
* ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed.
...
* testsuite/ld-script/map-address.d,
* testsuite/ld-script/map-address.t: Add a test for testing DEFINED in map output.
2007-08-31 14:46:55 +00:00
Nick Clifton
30b0f203dd
* po/sk.po: New Slovakian translation.
...
* configure.in (LINGUAS): Add sk.
* configure: Regenerate.
2007-08-31 10:32:43 +00:00
Alan Modra
e94425729c
* ldlang.c (lang_record_phdrs): Give a fatal error if no sections
...
assigned to phdrs. Avoid multiple forward scans for a section
with phdr assignment.
2007-08-31 00:39:53 +00:00