mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 20:12:45 +00:00
2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
This commit is contained in:
parent
581594903a
commit
b2febfff46
@ -1,3 +1,7 @@
|
||||
2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
|
||||
|
||||
2009-02-06 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
|
||||
|
@ -47,5 +47,6 @@ int main ()
|
||||
} a;
|
||||
Foo foo1;
|
||||
foo1.set_foo (42); // Set breakpoint here.
|
||||
a.get(); // Prevent compiler from throwing 'a' away.
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user