Doug Evans
b92b73c2f6
* gdb.threads/watchthreads.c (main): Initialize args before starting
...
the threads. Plus formatting cleanup.
* gdb.threads/watchthreads.exp: Avoid errant failures due to
biased scheduling of one thread.
2009-04-27 15:38:43 +00:00
Nick Clifton
c067354b06
* verilog.c: New file.
...
* Makefile.am (BFD32_LIBS): Add verilog.c.
(BFD32_LIBS_CFILES): Add verilog.c.
(verilog.lo): New build rule.
* Makefile.in: Rebuilt.
* targets.c: Add verilog support.
* bfd.c (tdata union): Add Verilog private data field.
* bfd-in2.h: Regenerate.
* bfdint.texi (BFD target vector miscellaneous): Mention verilog
flavour.
* NEWS: Mention verilog support added to bfd.
2009-04-27 14:27:36 +00:00
H.J. Lu
325c681d94
bfd/
...
2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
copy pe_opthdr.
binutils/
2009-04-27 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (copy_object): Copy pe_opthdr before changing PE
parameters.
2009-04-27 13:59:43 +00:00
Jerome Guitton
945a118de0
* gdb.cp/templates.cc (GetMax): New template.
...
(main): Declare two instances of GetMax.
* gdb.cp/templates.exp: Add new test.
2009-04-27 12:14:09 +00:00
Jerome Guitton
aad80b2683
* symtab.c (append_exact_match_to_sals): New function, extracted
...
from expand_line_sal.
(expand_line_sal): Use append_exact_match_to_sals to append exact
matches. If none found, append all best items.
2009-04-27 11:57:46 +00:00
Tristan Gingold
df1756f414
2009-04-27 Tristan Gingold <gingold@adacore.com>
...
* avr: New directory.
* avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
* avr/config.in: New file, generated by autoheader.
* avr/configure: New file generated by autoconf.
* configure.ac: Add avr.
* configure: Regenerated.
2009-04-27 10:50:53 +00:00
Jerome Guitton
57a460012a
* main.c (captured_main): Move gdbinit lookups after gdb_init.
2009-04-27 10:24:08 +00:00
Jan Kratochvil
d389af10b7
gdb/
...
PR gdb/9675:
* dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New.
(read_func_scope): Call inherit_abstract_dies.
gdb/testsuite/
* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-27 08:36:17 +00:00
gdbadmin
8f3e5e92ce
*** empty log message ***
2009-04-27 00:00:33 +00:00
Alan Modra
23ed14e8cd
daily update
2009-04-27 00:00:04 +00:00
DJ Delorie
e1ad6b9af7
merge from gcc
2009-04-26 02:25:10 +00:00
gdbadmin
5c2a5928bf
*** empty log message ***
2009-04-26 00:00:33 +00:00
Alan Modra
a7a3d7b806
daily update
2009-04-26 00:00:05 +00:00
Eric Botcazou
dc17c78cb6
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
...
(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
* Makefile.in: Regenerate.
2009-04-25 12:25:01 +00:00
Eli Zaretskii
90b9b5173a
* Makefile.in (ALLDEPFILES): Remove duplicate entries for
...
sparc-sol2-nat.c and sparc-sol2-tdep.c.
2009-04-25 10:05:22 +00:00
Eli Zaretskii
32ae184288
* gdb.texinfo (Machine Code) <disassemble-next-line>: Improve and
...
clarify the wording.
2009-04-25 09:56:33 +00:00
Eli Zaretskii
80a0ea0fef
* stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.
2009-04-25 09:42:15 +00:00
Alan Modra
dc62663dd5
daily update
2009-04-25 00:00:05 +00:00
gdbadmin
4cf88a2b04
*** empty log message ***
2009-04-25 00:00:03 +00:00
Pierre Muller
5ac79d7811
ARI change: Use "/* ARI: rule */" pattern.
...
* utils.c: Update ARI patterns.
* gdb_dirent.h: Likewise.
2009-04-24 22:10:03 +00:00
H.J. Lu
2e28a5fcdd
Remove bfd/.
2009-04-24 20:28:22 +00:00
Chris Demetriou
6d1e3092b4
2008-04-23 Elliott Hughes <enh@google.com>
...
* output.cc (Output_file::close): After short writes, continue
writing from the correct offset in the buffer being written.
2009-04-24 19:48:21 +00:00
Chris Demetriou
40fde48809
2009-04-23 Chris Demetriou <cgd@google.com>
...
* configure.ac (HAVE_TR1_UNORDERED_MAP_REHASH): New define.
* configure: Regenerate.
* config.in: Regenerate.
* gold.h: Avoid std::tr1::unordered_map and std::tr1::unordered_set
if HAVE_TR1_UNORDERED_MAP_REHASH is not defined.
2009-04-24 19:33:42 +00:00
Cary Coutant
92846e72ad
* NEWS: Add item about discriminator support.
...
* dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
* dwarf2dbg.c (current): Add discriminator field.
(dwarf2_where): Copy discriminator value.
(dwarf2_consume_line_info): Set discriminator to 0.
(dwarf2_directive_loc): Process discriminator sub-op.
(out_leb128): New function.
(process_entries): Output DW_LNE_set_discriminator.
* doc/as.texinfo: Add discriminator operand to .loc directive.
* testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
* testsuite/gas/lns/lns-common-1.s: Likewise.
2009-04-24 18:31:29 +00:00
Cary Coutant
ed4a4bdfe4
include/elf/
...
* dwarf2.h (DW_LNE_set_discriminator): New enum value.
binutils/
* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
Add missing newlines to HP extensions.
2009-04-24 18:28:59 +00:00
H.J. Lu
95e62385f5
Update ChangeLog entries.
2009-04-24 16:57:08 +00:00
Ian Lance Taylor
3ce2c28e3f
* incremental.cc (Incremental_inputs_header_data): Renamed from
...
Incremental_input_header_data.
(Incremental_inputs_header_data::data_size): New field.
(Incremental_inputs_header_data::put_input_file_count): Renamed
from input_file_count.
(Incremental_inputs_header_data::put_command_line_offset): Renamed
from command_line_offset.
(Incremental_inputs_header_data::put_reserved): Renamed from
put_reserved.
(Incremental_inputs_entry_data): Renamed from
Incremental_input_entry_data.
(Incremental_inputs_entry_data::data_size): New field.
(Incremental_inputs::report_command_line): New method.
(Incremental_inputs::finalize): New method.
(Incremental_inputs::create_incremental_inputs_data): New method.
(Incremental_inputs::sized_create_incremental_inputs_data): New method.
* incremental.h: New file.
* layout.cc (Layout::Layout): Handle new incremental_inputs_.
(Layout::finalize): Create incremental inputs section in
incremental builds.
(Layout::create_incremental_info_sections): New method.
* layout.h (Layout::incremental_inputs): New method.
(Layout::create_incremental_info_sections): New method.
(Layout::incremental_inputs_): New field.
* main.cc (main): Notify Incremental_input of the command line.
2009-04-24 15:44:02 +00:00
Alan Modra
f50230ae44
PR 10061
...
* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
param.
2009-04-24 15:06:15 +00:00
Eli Zaretskii
14324cd7be
*** empty log message ***
2009-04-24 14:28:17 +00:00
Eli Zaretskii
15f8a1ed7b
* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
...
consistency with config.sub. (Update from upstream sources.)
2009-04-24 14:27:20 +00:00
Anthony Green
17eb60e9c8
Obvious typo fixes re: moxie.
2009-04-24 11:41:40 +00:00
Anthony Green
d7066cce3b
Add moxie-elf port.
2009-04-24 02:26:01 +00:00
Alan Modra
745207a558
daily update
2009-04-24 00:00:09 +00:00
gdbadmin
8d676cfdc9
*** empty log message ***
2009-04-24 00:00:04 +00:00
Joel Brobecker
fc84d355b2
Spell my name properly in the last entry :-).
2009-04-23 22:53:54 +00:00
Joel Brobecker
72fcaa051a
* ada-lang.c: Remove an extra empty line. No code change.
2009-04-23 22:52:51 +00:00
Jan Kratochvil
217dc9e25b
gdb/
...
Fix double free on error inserting the breakpoint instruction.
* breakpoint.c (create_breakpoints): Move the
update_global_location_list call to ...
(break_command_really): ... here together with the second local call
both unified after all the cleanups.
2009-04-23 22:38:24 +00:00
Tom Tromey
b14b1491f2
gdb
...
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Tom Tromey <tromey@redhat.com>
* configure, config.in: Regenerate.
* configure.ac: Support for relocatable GDB datadir. Use
GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
* acinclude.m4 (GDB_AC_WITH_DIR): New defun.
* top.c (init_main): Add "set data-directory".
* defs.h (gdb_datadir): Declare.
* main.c (gdb_datadir): New global.
(captured_main): Initialize gdb_datadir. Use relocate_directory.
(relocate_path): New function.
(relocate_directory): Likewise.
(get_init_files): Use relocate_path.
(README): Mention --with-gdb-datadir.
gdb/doc
2009-04-23 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Data Files): New node.
(GDB Files): Update menu.
2009-04-23 21:28:20 +00:00
Joel Brobecker
5e7b5f74c2
* ada-tasks (task_command_1): Call target_find_new_threads.
2009-04-23 18:55:20 +00:00
Joel Brobecker
465f42bbe4
* stack.c (do_gdb_disassembly): Print the exception message if an
...
error was thrown while trying to perform the disassembly.
2009-04-23 18:49:20 +00:00
Joel Brobecker
5c1e86e191
* gdbint.texinfo (Defining Other Architecture Features): Remove
...
enty for PROCESS_LINENUMBER_HOOK.
2009-04-23 18:46:14 +00:00
Dave Korn
ba7758981e
2009-04-23 Matthias Klose <doko@ubuntu.com>
...
* bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
2009-04-23 13:36:43 +00:00
gdbadmin
ee8921dd8e
*** empty log message ***
2009-04-23 00:00:33 +00:00
Alan Modra
99bf7bbe77
daily update
2009-04-23 00:00:10 +00:00
Joseph Myers
e7f86de9ac
* lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2009-04-22 19:46:19 +00:00
DJ Delorie
167bdac1e9
merge from gcc
2009-04-22 19:09:13 +00:00
Jan Kratochvil
3038237c75
gdb/
...
* varobj.c (free_variable): Replace free_current_contents by xfree.
2009-04-22 17:50:54 +00:00
Vladimir Prus
83eba9b72c
* gdb.texinfo (GDB/MI Program Execution): Document -exec-jump.
2009-04-22 17:24:59 +00:00
Kazu Hirata
17c1263914
* arm-linux-nat.c (fetch_register, store_register): Use
...
ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
* arm-linux-tdep.c (arm_linux_supply_gregset,
arm_linux_collect_gregset): Likewise.
* arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
* arm-tdep.h (ARM_CPSR_REGNUM): Remove.
2009-04-22 15:14:59 +00:00
Christophe Lyon
155d87d738
2009-04-22 Christophe Lyon <christophe.lyon@st.com>
...
PR9743
bfd/
* elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
R_ARM_JUMP24 and R_ARM_PLT32 relocations.
(elf32_arm_size_stubs): Likewise.
(record_thumb_to_arm_glue): Deleted unused function.
(bfd_elf32_arm_process_before_allocation): No longer handle
R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
(elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
R_ARM_JUMP24 and R_ARM_PLT32 relocations.
testsuite/
* ld-arm/arm-call.d: Update expected result.
* ld-arm/arm-pic-veneer.d: Likewise.
* ld-arm/thumb2-b-interwork.d: Likewise.
2009-04-22 14:01:31 +00:00