aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test
blob: fa4a93e5904aa2b991802c1d6e58b1fd1969cb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Source uses unistd.h.
# UNSUPPORTED: system-windows
# RUN: %clang_host -g -O0 %S/Inputs/sigchld.c -o %t.out
# RUN: %lldb %t.out -b -s %s 2>&1 | FileCheck %s

list
# CHECK: note: No source available 

b main
# CHECK: Breakpoint 1:

r
# CHECK: int main()

list
# CHECK: if (child_pid == 0)

list -
# CHECK: int main()

list -10
# CHECK: #include <assert.h>

list -
# CHECK: note: Reached beginning of the file, no more to page

list -
# CHECK: note: Reached beginning of the file, no more to page

list
# CHECK: int main()