Commit Graph

64173 Commits

Author SHA1 Message Date
gdbadmin 9e0544c1f9 *** empty log message *** 2009-12-28 00:00:02 +00:00
Alan Modra 350a9139c8 daily update 2009-12-27 23:00:18 +00:00
gdbadmin 1bfd41a314 *** empty log message *** 2009-12-27 00:00:02 +00:00
Alan Modra 1c9d13f7be daily update 2009-12-26 23:00:15 +00:00
gdbadmin 7f4f27d490 *** empty log message *** 2009-12-26 00:00:03 +00:00
Alan Modra a0c1076aa6 daily update 2009-12-25 23:00:11 +00:00
gdbadmin 8a87e9e3d2 *** empty log message *** 2009-12-25 00:00:03 +00:00
Jan Kratochvil 3f78692f4a gdb/testsuite/
Fix compatibility with G++-4.5.
	* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
	* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
	(uncaught return): Remove.
2009-12-24 21:57:06 +00:00
Ian Lance Taylor cbc999b90f * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
-fsplit-stack prologue when using %r11.
2009-12-24 07:48:14 +00:00
Stan Shebs 6c228b9cae 2009-12-23 Stan Shebs <stan@codesourcery.com>
* ax-gdb.c (gen_expr): Handle OP_THIS.
2009-12-24 01:42:03 +00:00
Stan Shebs 0936ad1d22 2009-12-23 Stan Shebs <stan@codesourcery.com>
* ax-gdb.h (gen_trace_for_var): Declare.
	* ax-gdb.c (gen_trace_for_var): New function.
	* dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
	(dwarf_expr_frame_base): ...here.
	(dwarf2_tracepoint_var_ref): Add computed location case.
	* tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
	case.
	(add_local_symbols): Update call to collect_symbol.
	(encode_actions): Ditto.
2009-12-24 00:40:49 +00:00
gdbadmin 81e9e6e6ea *** empty log message *** 2009-12-24 00:00:02 +00:00
Ian Lance Taylor 1782c879ce * i386.cc (Target_i386::do_calls_non_split): Recognize
-fsplit-stack prologue for a function with a static chain.
2009-12-23 23:53:43 +00:00
Tom Tromey 98c5b216c2 2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR gdb/11110
	* tracepoint.h (deprecated_trace_find_hook)
	(deprecated_trace_start_stop_hook): Declare extern.
	* tracepoint.c (deprecated_trace_find_hook)
	(deprecated_trace_start_stop_hook): Define.
2009-12-23 23:21:29 +00:00
Jan Kratochvil 429374b880 gdb/
* breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
	the B->LOC list.  Remove gdb_assert on B.  Change bp_hardware_watchpoint
	continue to break.  Remove variable update_locations.  Remove HIT_COUNT
	increment protection by an ENABLE_STATE check.  Inline the delayed
	update_global_location_list call.

gdb/testsuite/
	* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
	(bp_location13, bp_location14, bp_location17, bp_location18)
	(marker3_proto, marker4_proto): New variables.
	(breakpoint info): Update output.
	(run until breakpoint at marker3, run until breakpoint at marker4): New
	tests.
2009-12-23 23:18:08 +00:00
Alan Modra 758e465780 daily update 2009-12-23 23:00:04 +00:00
Jan Kratochvil 859825b857 gdb/
* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
	(print_breakpoint_location): New comment.  Check LOC->SHLIB_DISABLED.
	Check LOC validity before printing it.  Use LOC instead of B->LOC.
	Swap the if conditionals order.

gdb/testsuite/
	* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
	Replace the printf call of Y by provided "y-set-1" label.  New block
	for the second shared library.
	* gdb.base/unload.exp: Compile also the second library, call
	gdb_load_shlibs also for it.  Use now gdb_breakpoint.
	(single pending breakpoint info): Rename to ...
	(pending breakpoint info before run): ... this extended test.
	(libfile2, libname2, libsrcfile2, libsrc2)
	(lib_sl2): New variables.
	(exec_opts): Set also SHLIB_NAME2.
	(pending breakpoint info on first run at shrfunc1)
	(pending breakpoint info on second run at shrfunc1)
	(pending breakpoint info on second run at shrfunc2)
	(print y from libfile, print y from libfile2): New tests.
	* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
	* gdb.base/unloadshr2.c: New.
2009-12-23 22:24:51 +00:00
Tom Tromey f747b78daa * Makefile.in (SFILES): Add exceptions.c. 2009-12-23 20:28:44 +00:00
DJ Delorie feafbb2e30 * rx/rx.c (decode_opcode): btst bit address mask fix. 2009-12-23 03:51:47 +00:00
gdbadmin 546c251368 *** empty log message *** 2009-12-23 00:00:02 +00:00
Alan Modra a084315c57 daily update 2009-12-22 23:00:04 +00:00
gdbadmin 2356e6c6ce GDB 7.0.1 released. 2009-12-22 18:06:01 +00:00
Hui Zhu e6a386cd2f 2009-12-22 Hui Zhu <teawater@gmail.com>
* record.c (record_message): Change argument.
	(record_message_wrapper): New function.
	(do_record_message): Change it name to
	"record_message_wrapper_safe".
	Let it call "record_message_wrapper".
	(record_resume_error): Deleted.
	(record_resume): Call "record_message".
	(record_wait): Deleted record_resume_error.
	Call "record_message_wrapper_safe".
	Set status when do_record_message need stop the inferior.

2009-12-22  Hui Zhu  <teawater@gmail.com>

	* gdb.reverse/sigall-reverse.exp: Adjust.
2009-12-22 03:16:40 +00:00
Sriraman Tallam 329ca2b10f 2009-12-21 Sriraman Tallam <tmsriram@google.com>
* options.cc (General_options::parse_version): Make -v continue and do
	the link like GNU ld does.
2009-12-22 01:33:43 +00:00
Doug Evans d90e6a886c * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. 2009-12-22 00:18:13 +00:00
gdbadmin e324c02e45 *** empty log message *** 2009-12-22 00:00:33 +00:00
Alan Modra e16ce6084b daily update 2009-12-21 23:00:04 +00:00
Doug Evans c5f62d5ff9 gdb/
* linux-nat.c (kill_lwp): Minor cleanup, move definition of
	tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
	there too.  Delete unnecessary resetting of errno after syscall.
	Minor comment changes to match gdbserver/linux-low.c:kill_lwp.

	gdbserver/
	* linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill.
	Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc
	warning ifndef __NR_tkill.  Move setting of errno there too.
	Delete unnecessary resetting of errno after syscall.
	Minor comment changes to match gdb/linux-nat.c:kill_lwp.
2009-12-21 21:23:43 +00:00
Doug Evans 10e86dd778 * configure.ac: Check for dladdr.
* config.in: Regenerate.
	* configure: Regenerate.
	* thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR.
	(try_thread_db_load): Update.
2009-12-21 20:52:53 +00:00
Doug Evans 4ee62156d9 * linux-low.c (my_waitpid): Delete unnecessary prototype. 2009-12-21 17:54:03 +00:00
Joel Brobecker aacf5b1e4a Fix typo in filename. 2009-12-21 13:23:25 +00:00
Ramana Radhakrishnan 4a42ebbc0e Fix Thumb2 bl range options.
2009-12-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored
        from md_apply_fix.
        (md_apply_fix): Fixup range checks for Thumb2 version
        of unconditional calls. Call encode_thumb2_b_bl_offset for
        unconditional branches / function calls.
2009-12-21 12:56:41 +00:00
Alan Modra 1a7bd2debe * MAINTAINERS: Update my email address. 2009-12-21 10:27:21 +00:00
Alan Modra ebc5095a6c * MAINTAINERS: Update my email address. 2009-12-21 10:21:16 +00:00
Alan Modra 32ca96409d * elf64-ppc.c: Delete my email address. 2009-12-21 10:21:01 +00:00
Vladimir Prus a6b29f8772 * mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout. 2009-12-21 10:02:06 +00:00
Vladimir Prus 9e19b45e2e PR gdb/10884
* value.c (value_primitive_field): Call check_typedef
	on the type.
2009-12-21 09:50:31 +00:00
Joel Brobecker dd0cd0d0e0 * COPYING: Update to GPL version 3. 2009-12-21 07:40:04 +00:00
Joel Brobecker 5e4bde961c * gpl.texi: Update to version 3 of the GPL. 2009-12-21 07:30:10 +00:00
gdbadmin 81b05ad359 *** empty log message *** 2009-12-21 00:00:33 +00:00
Alan Modra cc99a2f7d0 daily update 2009-12-20 23:00:04 +00:00
Michael Snyder 6c10c06bd8 2009-12-20 Michael Snyder <msnyder@vmware.com>
* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.
2009-12-20 19:09:37 +00:00
Joel Brobecker d53a7b30c1 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
        gdb.base/watch_thread_num.c, gdb.java/jprint.java,
        gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
        gdb.modula2/unbounded1.c: Update copyright header.
2009-12-20 11:55:25 +00:00
Joel Brobecker a17152447c * Makefile.in: Update copyright header.
* observer.texi: Fix the copyright header of the generated files.
2009-12-20 11:53:08 +00:00
Joel Brobecker dcf7800bb5 * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
regformats/regdat.sh, features/Makefile: Update copyright header.
2009-12-20 11:51:30 +00:00
gdbadmin 990345b48b *** empty log message *** 2009-12-20 00:00:33 +00:00
Alan Modra bc2739a238 daily update 2009-12-19 23:00:04 +00:00
Doug Evans e3ea77accc * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases. 2009-12-19 19:34:07 +00:00
H.J. Lu 2426c15ff8 Replace VexNDS, VexNDD and VexLWP with VexVVVV.
gas/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (process_operands): Check vexvvvv instead
	of vexnds and vexndd.
	(build_modrm_byte): Check vexvvvv instead of vexnds, vexndd
	and vexlwp.

opcodes/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and
	VexLWP.  Add VexVVVV.

	* i386-opc.h (VexNDS): Removed.
	(VexNDD): Likewise.
	(VexLWP): Likewise.
	(VEXXDS): New.
	(VEXNDD): Likewise.
	(VEXLWP): Likewise.
	(VexVVVV): Likewise.
	(i386_opcode_modifier): Remove vexnds, vexndd and vexlwp.
	Add vexvvvv.

	* i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with
	VexVVVV=2 and VexLWP with VexVVVV=3.
	* i386-tbl.h: Regenerated.
2009-12-19 18:36:27 +00:00
Doug Evans e946488510 * event-loop.c: Include unistd.h if it exists. 2009-12-19 01:24:51 +00:00