SHA256
1
0
forked from pool/gdb
OBS User unknown
2008-09-24 13:25:01 +00:00
committed by Git OBS Bridge
parent 3fdbcb41f3
commit 0255a8ed6d
8 changed files with 2417 additions and 24 deletions

View File

@@ -5034,7 +5034,7 @@ Index: gdb-head/gdb/solib-spu.c
===================================================================
--- /dev/null
+++ gdb-head/gdb/solib-spu.c
@@ -0,0 +1,477 @@
@@ -0,0 +1,478 @@
+/* Cell SPU GNU/Linux support -- shared library handling.
+ Copyright (C) 2008 Free Software Foundation, Inc.
+
@@ -5115,6 +5115,7 @@ Index: gdb-head/gdb/solib-spu.c
+ if (target_has_execution)
+ {
+ struct cleanup *old_chain;
+ struct inferior *inferior = current_inferior ();
+
+ /* Suppress MI messages that are unexpected at this point. */
+ old_chain = make_cleanup_restore_integer (&suppress_resume_observer);
@@ -5128,10 +5129,10 @@ Index: gdb-head/gdb/solib-spu.c
+ in particular when using the extended-remote target. Thus, we pass
+ TARGET_SIGNAL_TRAP to resume -- this way we will always get a trap.
+ (If one was already pending, it will be combined into this trap.) */
+ stop_soon = STOP_QUIETLY;
+ inferior->stop_soon = STOP_QUIETLY;
+ resume (0, TARGET_SIGNAL_TRAP);
+ wait_for_inferior (1);
+ stop_soon = NO_STOP_QUIETLY;
+ inferior->stop_soon = NO_STOP_QUIETLY;
+
+ do_cleanups (old_chain);
+ }