Commit Graph

56316 Commits

Author SHA1 Message Date
Vladimir Prus
e842223a72 * infrun.c (resume): Set right thread even if
stepping over breakpoint using software single step.
2007-11-28 12:49:55 +00:00
gdbadmin
be9fd9f5fc *** empty log message *** 2007-11-28 00:00:03 +00:00
Nick Roberts
9265acad39 (print_varobj): Revert change from 2007-08-31.
(mi_print_value_p): Guard against type = NULL.
2007-11-27 23:02:59 +00:00
Nick Roberts
b21a715fc1 *** empty log message *** 2007-11-27 23:02:31 +00:00
Alan Modra
6520b4ed3b daily update 2007-11-27 23:00:05 +00:00
Thiago Jung Bauermann
a4ae0ca1db * dfp.c (decimal_from_string): Remove superfluous newline from
error string.
	(decimal_to_string): Likewise.
	* printcmd.c (printf_command): Change string buffer to use
	MAX_DECIMAL_STRING constant.
	* value.c (value_from_decfloat): Likewise.
2007-11-27 20:13:12 +00:00
Ulrich Weigand
c0993dbe92 * Makefile.in (ALL_TARGET_OBS): Remove object files that require
64-bit CORE_ADDR and BFD support, move them to ...
	(ALL_64_TARGET_OBS): ... this new variable.
	* configure.ac: Check for --enable-64-bit-bfd option.  Only add
	64-bit targets with --enable-targets=all if BFD supports 64-bit.
	* configure: Regenerate.

	* i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
	all elf32-i386 executables, only cygwin core files.
2007-11-27 17:06:12 +00:00
Andreas Krebbel
5f1c91d91e 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
	"tgxt"): Removed.
	("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
2007-11-27 15:33:28 +00:00
Andreas Krebbel
967877645e 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt",
	"tgxt"): Removed.
	("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.

2007-11-27  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
	"tgdt", "tgxt"): Removed.
        ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
	* gas/s390/zarch-z9-ec.s: Likewise.
2007-11-27 15:31:59 +00:00
Ian Lance Taylor
4625f782a5 Rework merge_map for speed. 2007-11-27 06:13:33 +00:00
gdbadmin
4f0916aa94 *** empty log message *** 2007-11-27 00:00:33 +00:00
Alan Modra
fc81646790 daily update 2007-11-26 23:00:06 +00:00
Alan Modra
1afcb04ce0 * cxxfilt.c (demangle_it): Don't call printf without format string. 2007-11-26 01:53:59 +00:00
Alan Modra
ee21dcabf8 * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand. 2007-11-26 01:43:43 +00:00
gdbadmin
da43e35109 *** empty log message *** 2007-11-26 00:00:34 +00:00
Alan Modra
05ed937ec7 daily update 2007-11-25 23:00:06 +00:00
Jan Kratochvil
4303944388 gdb/
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
	code with its variables OBJFILE, CU_HEADER and OBFD into ...
	(dwarf2_ranges_read): ... a new function.
	(read_partial_die): Implemented the parsing of `DW_AT_ranges'.

gdb/testsuite/
	* gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
2007-11-25 21:40:39 +00:00
gdbadmin
a67d13cf51 *** empty log message *** 2007-11-25 00:00:32 +00:00
Alan Modra
f656dbe68b daily update 2007-11-24 23:00:06 +00:00
Pedro Alves
6537bb249e * win32-nat.c (DR6_CLEAR_VALUE): New define.
(thread_info_struct): Rename suspend_count to suspended, to be
	used as a flag.
	(thread_rec): Only suspend the thread if it wasn't suspended by
	gdb before.  Warn if suspending failed.
	(win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
	(win32_continue): Set Dr6 to DR6_CLEAR_VALUE.  Update usage of the
	`suspended' flag.  Do ContinueDebugEvent after resuming the
	suspended threads, not before.  Set threads' contexts before
	resuming them, not after.
	(win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
2007-11-24 12:13:28 +00:00
gdbadmin
7129a489bd *** empty log message *** 2007-11-24 00:00:03 +00:00
Alan Modra
011bad05f6 daily update 2007-11-23 23:00:05 +00:00
Vladimir Prus
a0cf7492a3 * breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.
2007-11-23 16:54:34 +00:00
Maciej W. Rozycki
dc29a15683 * mips-linux-tdep.h: Fix some formatting. 2007-11-23 16:33:11 +00:00
gdbadmin
8a0f4bedd1 *** empty log message *** 2007-11-23 00:00:03 +00:00
Alan Modra
b3e76501ef daily update 2007-11-22 23:00:05 +00:00
Maciej W. Rozycki
0ef2251b99 * gdb.trace/backtrace.exp: Fix a typo.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
2007-11-22 16:03:00 +00:00
Ian Lance Taylor
d8a8897678 Make Merge_key_less operator() inline. 2007-11-22 00:45:46 +00:00
Ian Lance Taylor
c79126688f Add threading support. 2007-11-22 00:05:51 +00:00
gdbadmin
06d063c072 *** empty log message *** 2007-11-22 00:00:33 +00:00
Alan Modra
9025e63419 daily update 2007-11-21 23:00:05 +00:00
Hans-Peter Nilsson
0eb090cbfc * dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.
2007-11-21 17:50:41 +00:00
Nick Clifton
fc91707cc2 * elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs when
computing whether instructions can be relaxed.
* ld-mn10300/i135409-4.s: New test case.  Check for relaxation to a 16-bit
    jump instruction.
* ld-mn10300/i135409-4.t: Linker script for the new test.
* ld-mn10300/i135409-4.d: Expected disassembly of new test.
* ld-mn10300/mn10300.exp: Run the new test.
2007-11-21 12:06:26 +00:00
Nick Clifton
031cd65fb2 * dwarf.c (display_debug_loc): Issue a warning if there are bytes at the end
of the .debug_loc section which are not referenced by any attribute in the
  .debug_info section.
2007-11-21 11:58:00 +00:00
Markus Deuling
123680036c 2007-11-21 Markus Deuling <deuling@de.ibm.com>
* stack.c (print_args_stub): Use get_frame_arch to get at the current
	architecture and replace current_gdbarch.
	(frame_info): Likewise.
2007-11-21 06:02:53 +00:00
gdbadmin
b9d9e222ea *** empty log message *** 2007-11-21 00:00:03 +00:00
Alan Modra
46ba7344b4 daily update 2007-11-20 23:00:05 +00:00
Nick Roberts
15820a9f75 Variables objects of pointers that can't be dereferenced are now
"noneditable".
2007-11-20 20:01:35 +00:00
Nick Roberts
5443631e12 *** empty log message *** 2007-11-20 19:59:05 +00:00
Nick Roberts
d256250056 (mi_cmd_var_assign): Simplify. 2007-11-20 19:55:16 +00:00
Nick Roberts
c203027e27 Add extern for varobj_editable_p. 2007-11-20 19:54:58 +00:00
Nick Roberts
340a772374 (c_variable_editable, cplus_variable_editable)
(java_variable_editable, variable_editable): Delete.
(varobj_editable_p): Replace above functions with one language
independent function.  Check for an lvalue.
(varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
(struct language_specific): Delete variable_editable field.
2007-11-20 19:54:39 +00:00
Nick Roberts
a5897e1e1b *** empty log message *** 2007-11-20 19:52:41 +00:00
Nick Roberts
4b817f9faa *** empty log message *** 2007-11-20 19:44:19 +00:00
Vladimir Prus
568fff39de Remove unused breakpoint fields.
* breakpoint.h (struct breakpoint): Remove
	from_tty and flag fields.
	* breakpoint.c (break_command_1): Don't set
	from_tty and flag field set of breakpoint.
	(create_ada_exception_breakpoint): Don't set
	the from_tty field.
2007-11-20 17:37:35 +00:00
Nick Clifton
592d601cd7 oops - omitted from previous delta 2007-11-20 16:58:47 +00:00
Nick Clifton
430a16a51d * elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there may be no TLS segment.
* lib/ld-lib.exp (check_gc_sections_available): New proc, based on the version in gcc/testsuite/lib/target-supports.exp.
* ld-elf/eld.exp: Use check_gc_sections_available.
2007-11-20 15:08:25 +00:00
Maciej W. Rozycki
2207132da4 * mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
instruction.
2007-11-20 13:47:42 +00:00
Vladimir Prus
cd76b0b7c4 * infrun.c (resume): Clarify logic that
decides if a single thread must be resumed. Add
	comments.
2007-11-20 08:18:47 +00:00
Vladimir Prus
7514952146 * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
Make static.
2007-11-20 08:16:15 +00:00