aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt/inline-break.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-06-14 12:54:09 +0100
committerPedro Alves <palves@redhat.com>2018-06-14 12:54:09 +0100
commit7b045207d1b8980add1c87b643504e3ef987e7a2 (patch)
tree109bf76e0fdc424f205f8dc83d86f2af30625efc /gdb/testsuite/gdb.opt/inline-break.c
parent11ae5818f76e0af4dcf7ee069e0756ccf6901ebe (diff)
downloadgdb-7b045207d1b8980add1c87b643504e3ef987e7a2.zip
gdb-7b045207d1b8980add1c87b643504e3ef987e7a2.tar.gz
gdb-7b045207d1b8980add1c87b643504e3ef987e7a2.tar.bz2
Revert accidental push of "Inline breakpoints" commit
Diffstat (limited to 'gdb/testsuite/gdb.opt/inline-break.c')
-rw-r--r--gdb/testsuite/gdb.opt/inline-break.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/testsuite/gdb.opt/inline-break.c b/gdb/testsuite/gdb.opt/inline-break.c
index 351b983..922102d 100644
--- a/gdb/testsuite/gdb.opt/inline-break.c
+++ b/gdb/testsuite/gdb.opt/inline-break.c
@@ -176,25 +176,6 @@ not_inline_func3 (int x)
return y + inline_func3 (x);
}
-/* A static inlined function that is called by another static inlined
- function. */
-
-static inline ATTR int
-func_callee (int x)
-{
- return x * 23;
-}
-
-/* A static inlined function that calls another static inlined
- function. The body of the function is as simple as possible so
- that both functions are inlined to the same PC address. */
-
-static int
-func_caller (int x)
-{
- return func_callee (x);
-}
-
/* Entry point. */
int
@@ -224,7 +205,5 @@ main (int argc, char *argv[])
x = not_inline_func3 (-21);
- func_caller (1);
-
return x;
}