diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-04-05 02:45:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-04-05 02:45:48 +0000 |
commit | a7d17088c5119ba9981a82d3d051efd04f5c4a51 (patch) | |
tree | 252a19ff37feb328f53fedf8cb7b901a369d315d /gdb/testsuite/gdb.base/relocate.c | |
parent | c02f5703078fa9df65052c94c40354d6c99cd0e5 (diff) | |
download | gdb-a7d17088c5119ba9981a82d3d051efd04f5c4a51.zip gdb-a7d17088c5119ba9981a82d3d051efd04f5c4a51.tar.gz gdb-a7d17088c5119ba9981a82d3d051efd04f5c4a51.tar.bz2 |
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.exp: New file.
* gdb.base/relocate.c: New file.
Diffstat (limited to 'gdb/testsuite/gdb.base/relocate.c')
-rw-r--r-- | gdb/testsuite/gdb.base/relocate.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/relocate.c b/gdb/testsuite/gdb.base/relocate.c new file mode 100644 index 0000000..d202392 --- /dev/null +++ b/gdb/testsuite/gdb.base/relocate.c @@ -0,0 +1,17 @@ +static int static_foo = 1; +static int static_bar = 2; + +int global_foo = 3; +int global_bar = 4; + +int +function_foo () +{ + return 5; +} + +int +function_bar () +{ + return 6; +} |