gdbadmin
79b676a0c5
*** empty log message ***
2008-12-07 00:00:04 +00:00
gdbadmin
37fa95f041
*** empty log message ***
2008-12-06 00:00:37 +00:00
Alan Modra
18a404ee37
daily update
2008-12-06 00:00:06 +00:00
Pedro Alves
1641cfccdd
* infcmd.c (step_1, step_once): Look up the stepping range based
...
on the current frame's PC, not on stop_pc.
2008-12-05 22:38:10 +00:00
Cary Coutant
4674ecfcf4
2008-12-05 Rafael Avila de Espindola <espindola@google.com>
...
* options.cc (General_options::parse_plugin_opt): New.
(General_options::add_plugin): The argument now is just the filename.
(General_options::add_plugin_option): New.
* options.h (plugin_opt): New.
(add_plugin): Change argument name.
(add_plugin_option): New.
* plugin.cc (Plugin::load): Don't parse the plugin option.
* plugin.h (Plugin::Plugin): Rename argument. Init filename_.
(Plugin::add_option): New.
(Plugin::args_): Change type.
(Plugin::filename_): New.
(Plugin_manager::add_plugin_option): New.
* testsuite/Makefile.am (plugin_test_1): Use new syntax.
* testsuite/Makefile.in: Regenerate.
2008-12-05 21:34:54 +00:00
Cary Coutant
fd06b4aa51
* layout.cc (Layout::include_section): Check for SHF_EXCLUDE.
...
Handle --strip-lto-sections option.
* options.h (strip_lto_sections): New option.
2008-12-05 21:13:35 +00:00
Jan Kratochvil
116e096528
Fix compilation on 32-bit host configurations.
...
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
2008-12-05 18:25:01 +00:00
Tristan Gingold
acdb24a9cf
2008-12-05 Tristan Gingold <gingold@adacore.com>
...
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function.
(amd64_darwin_sstep_at_sigreturn): New function.
(darwin_set_sstep): The sigreturn is a special case: the trace flag
must be set in the mcontext structure.
2008-12-05 11:08:58 +00:00
Pedro Alves
e71c9293b3
* infcmd.c (step_once): Remove dead code.
2008-12-05 02:08:26 +00:00
Alan Modra
1403b9e2c0
daily update
2008-12-05 00:00:08 +00:00
gdbadmin
8c780368f7
*** empty log message ***
2008-12-05 00:00:03 +00:00
Doug Evans
3b67623358
* infcall.c (call_function_by_hand): Clean up use of local dummy_addr.
2008-12-04 21:41:00 +00:00
Doug Evans
2d476de178
* gdb.server/ext-run.exp: Relax regexp for init program.
2008-12-04 17:41:42 +00:00
Tristan Gingold
87bdc95928
2008-12-03 Tristan Gingold <gingold@adacore.com>
...
* gdb.base/macscp.exp: Generate an object file during compilation
to work around Darwin dsymutil limitations.
2008-12-04 15:35:43 +00:00
Nick Clifton
137627db10
* ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64).
...
* ld-x86-64/ifunc.s: Source file for new test.
* ld-x86-64/x86-64.exp: Run the new test.
* ld-i386/ifunc.d: Tidy up regexps for expected output.
2008-12-04 11:00:18 +00:00
Ben Elliston
2f3bb96af7
opcodes/
...
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE
for -Mbooke.
(print_ppc_disassembler_options): Update usage.
* ppc-opc.c (DE, DES, DEO, DE_MASK): Remove.
(BOOKE64): Remove.
(PPCCHLK64): Likewise.
(powerpc_opcodes): Remove all BOOKE64 instructions.
gas/
* config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
usage strings.
(ppc_setup_opcodes): Likewise, remove booke64 support.
* doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
* doc/as.texinfo (Overview): Likewise.
binutils/
* doc/binutils.texi (objdump): Update booke documentation.
* NEWS: Document user-visible changes to command line options.
2008-12-04 10:29:16 +00:00
Nick Clifton
4357ad342f
* doc/as.texinfo (Type): Reword description of STT_IFUNC type.
2008-12-04 08:53:39 +00:00
Andreas Krebbel
440e9cd2ea
2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* elf64-s390.c (elf_s390_check_relocs): Initialize
htab->elf.dynobj if necessary.
2008-12-04 08:43:26 +00:00
Nick Clifton
171191bac5
* objdump.c (dump_reloc_set): Append "()" to symbol names which
...
have the BSF_INDIRECT_FUNCTION type.
* readelf.c (print_symbol): Fix handling of negative widths.
(dump_relocations): Append "()" to symbol names which have the
STT_IFUNC type. Display negative offsets as a positive number with
a "-" prefix.
(get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
* doc/binutils.texi: Document 'i' symbol type.
2008-12-04 08:04:47 +00:00
Alan Modra
77a4f04d80
daily update
2008-12-04 00:00:05 +00:00
gdbadmin
789141aa66
*** empty log message ***
2008-12-04 00:00:03 +00:00
Nick Clifton
e7c3341679
include/elf/
...
* common.h (STT_IFUNC): Define.
elfcpp/
* elfcpp.h (enum STT): Add STT_IFUNC.
bfd/
* syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION.
Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE. Renumber flags
to remove gaps.
(bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION.
(bfd_decode_symclass): Likewise.
* elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into
STT_IFUNC.
(elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC.
(_bfd_elf_is_function_type): Likewise.
* elf32-arm.c (arm_elf_find_function): Likewise.
(elf32_arm_adjust_dynamic_symbol): Likewise.
(elf32_arm_swap_symbol_in): Likewise.
(elf32_arm_additional_program_headers): Likewise.
* elf32-i386.c (is_indirect_symbol): New function.
(elf_i386_check_relocs): Also generate dynamic relocs for
relocations against STT_IFUNC symbols.
(allocate_dynrelocs): Likewise.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (is_indirect_symbol): New function.
(elf64_x86_64_check_relocs): Also generate dynamic relocs for
relocations against STT_IFUNC symbols.
(allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
* elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into
BSF_INDIRECT_FUNCTION.
* elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support
for STT_IFUNC symbols.
(get_ifunc_reloc_section_name): New function.
(_bfd_elf_make_ifunc_reloc_section): New function.
* elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field.
* bfd-in2.h: Regenerate.
gas/
* config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
* doc/as.texinfo: Document new feature.
* NEWS: Mention new feature.
gas/testsuite/
* gas/elf/type.s: Add test of STT_IFUNC symbol type.
* gas/elf/type.e: Update expected disassembly.
* gas/elf/elf.exp: Update grep of symbol types.
ld/
* NEWS: Mention new feature.
* pe-dll.c (process_def_file): Replace use of redundant
BFD_FORT_COMM_DEFAULT_VALUE with 0.
* scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn
sections.
ld/testsuite/
* ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc
descriptions.
* ld-mips-elf/reloc-1-n64.d: Likewise.
* ld-i386/ifunc.d: New test.
* ld-i386/ifunc.s: Source file for the new test.
* ld-i386/i386.exp: Run the new test.
2008-12-03 14:51:00 +00:00
Alan Modra
5d73705c26
daily update
2008-12-03 00:00:05 +00:00
gdbadmin
f7a8a03f80
*** empty log message ***
2008-12-03 00:00:03 +00:00
Doug Evans
a020da562e
* infrun.c (handle_inferior_event): Remove redundant resetting of
...
stepping_past_singlestep_breakpoint.
2008-12-02 19:20:23 +00:00
Andreas Schwab
f7c83eacc7
* Makefile.def: configure-target-boehm-gc depends on
...
all-target-libstdc++-v3.
* Makefile.in: Regenerate.
2008-12-02 16:43:06 +00:00
Pedro Alves
e0665bc852
* target.h (target_get_osdata): Describe.
...
* osdata.h (make_cleanup_osdata_free): Declare.
* osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is
not defined.
(osdata_free_cleanup): New.
(make_cleanup_osdata_free): New.
(get_osdata): Fix leak.
(info_osdata_command): Use make_cleanup_osdata_free.
(info_processes_command): Delete.
(_initialize_osdata): Drop undocumented "info processes" alias.
* mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.
2008-12-02 15:52:15 +00:00
Jan Kratochvil
e0740f779c
gdb/
...
Fix resolving external references to TLS variables.
* findvar.c: Include `objfiles.h'.
(read_var_value <LOC_UNRESOLVED>): New variable `obj_section'. Handle
SEC_THREAD_LOCAL variables.
* printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL
variables.
gdb/testsuite/
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.
2008-12-02 14:51:01 +00:00
Doug Evans
c29235ac9f
* infrun.c (handle_inferior_event): Delete unused local tp.
2008-12-02 09:52:31 +00:00
Kai Tietz
acac4c6962
2008-12-02 Kai Tietz <kai.tietz@onevision.com>
...
* pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
hold relocations.
2008-12-02 09:33:12 +00:00
Tristan Gingold
f96fc22a9d
2008-12-02 Tristan Gingold <gingold@adacore.com>
...
* config.bfd: Add x86_64-*-darwin*
2008-12-02 09:18:45 +00:00
Vladimir Prus
c3b108f782
MI non-stop and multiprocess docs.
...
* gdb.texinfo (GDB/MI): New section 'GDB/MI General Design'
(GDB/MI Output Records): New section 'GDB/MI Frame Information'
Adjust documentation for *stopped, document =thread-created,
=thread-exited, =thread-group-created and =thread-group-exited.
(GDB/MI Thread Commands): Document the 'state' field in
-thread-info output.
(GDB/MI Program Execution): Mention --all and --thread-group
options.
(GDB/MI Variable Objects): Describe floating and fixed variable
objects.
(GDB/MI Miscellaneous Commands): Document -list-thread-groups.
2008-12-02 08:01:15 +00:00
Vladimir Prus
07e059b5a9
Implement -list-thread-groups --available
...
* Makefile.in (XMLFILES): Add osdata.dtd.
(SFILES): Add osdata.c.
(COMMON_OBS): Add osdata.o.
* linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h.
(linux_nat_xfer_osdata): New function.
(linux_xfer_partial): Handle TARGET_OBJECT_OSDATA.
* osdata.c: New file.
* osdata.h: New file.
* remote.c (PACKET_qXfer_osdata): New packet enum.
(remote_protocol_features): Add "qXfer:osdata:read".
(remote_read_qxfer): Handle TARGET_OBJECT_OSDATA.
(extended_remote_can_run): New.
(init_extended_remote_ops): Set to_can_run to
extended_remote_can_run.
(_initialize_remote): Add packet config command for
"qXfer:osdata:read".
* xml-support.c (obstack_xml_printf): New function.
* xml-support.h (obstack_xml_printf): Declare.
* target.c (target_get_osdata): New function.
* target.h (enum target_object): Add TARGET_OBJECT_OSDATA.
(target_os_data): Declare.
* features/osdata.dtd: New file.
* mi/mi-main.c (mi_list_thread_groups): Handle the --available
option.
2008-12-02 07:57:38 +00:00
Doug Evans
f3c85de60a
* infrun.c (proceed): Delete unused local stop_signal.
2008-12-02 04:42:45 +00:00
Ben Elliston
bc67ad8361
* config.sub, config.guess: Update from upstream sources.
2008-12-02 03:21:45 +00:00
gdbadmin
a2e72c5ccb
*** empty log message ***
2008-12-02 00:00:33 +00:00
Alan Modra
2d6ce72092
daily update
2008-12-02 00:00:09 +00:00
Cary Coutant
6c52134ce6
gold/ChangeLog:
...
* plugin.cc (ld_plugin_message): Change format parameter to const.
Fix mismatch between new[] and delete.
include/ChangeLog:
* plugin-api.h (ld_plugin_message): Change format parameter to const.
2008-12-01 19:50:49 +00:00
Cary Coutant
a6bfd026d0
* plugin-api.h: Fix syntax error when compiling with C++.
2008-12-01 19:05:46 +00:00
Joel Sherrill
c4212d37ab
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* compile.c: Add const to remove warning.
2008-12-01 16:10:45 +00:00
gdbadmin
b76dfd93dd
*** empty log message ***
2008-12-01 00:00:32 +00:00
Alan Modra
c74ea3c845
daily update
2008-12-01 00:00:05 +00:00
gdbadmin
800654fc42
*** empty log message ***
2008-11-30 00:00:33 +00:00
Alan Modra
31535563bd
daily update
2008-11-30 00:00:05 +00:00
Kai Tietz
b01ee69ddc
2008-11-29 Kai Tietz <kai.tietz@onevision.com>
...
* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
use "pe-i386" for 32-bit.
2008-11-29 09:35:52 +00:00
Dave Anglin
72f10fadb6
* hpux-core.c: Don't include sys/file.h.
2008-11-29 00:26:39 +00:00
Alan Modra
66bef2c54c
daily update
2008-11-29 00:00:06 +00:00
gdbadmin
af21e36cb6
*** empty log message ***
2008-11-29 00:00:03 +00:00
Joel Brobecker
67f0aac52a
* gdb.ada/int_deref.exp: Convert the addresses into long_integer
...
rather than integer, as integer might not be big enough when
on 64bit targets.
2008-11-28 23:26:54 +00:00
Jan Kratochvil
8d90eea314
2008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.
2008-11-28 21:58:06 +00:00