This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix a crash when displaying variables from shared ?library.


On Tue, Mar 17, 2009 at 9:12 PM, Pedro Alves <pedro@codesourcery.com> wrote:

>> Of course we might just as well skip the test, since it's not going
>> to test much in that case.
>
> Or that is fine with me too.

I just committed this:

Index: gdb.base/solib-display.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/solib-display.exp,v
retrieving revision 1.1
diff -u -p -u -r1.1 solib-display.exp
--- gdb.base/solib-display.exp  5 Mar 2009 23:45:14 -0000       1.1
+++ gdb.base/solib-display.exp  18 Mar 2009 05:41:35 -0000
@@ -28,7 +28,7 @@
 # (and thus aren't affected by shared library unloading) are not
 # disabled prematurely.

-if [skip_shlib_tests] then {
+if { [skip_shlib_tests] || [is_remote target] } {
     return 0
 }




-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]