binutils-gdb/gdb/testsuite/gdb.base
Tom de Vries d10eccaa72 [gdb/tdep] Fix inferior call arg passing for amd64
We currently have 12 KFAILS in gdb.base/infcall-nested-structs.exp for
PR tdep/25096.

A minimal version of the failure looks like this.  Consider test.c:
...
struct s { int c; struct { int a; float b; } s1; };
struct s ref = { 0, { 'a', 'b' } };

int __attribute__((noinline,noclone)) check (struct s arg)
{ return arg.s1.a == 'a' && arg.s1.b == 'b' && arg.c == 0; }

int main (void)
{ return check (ref); }
...

When calling 'check (ref)' from main, we have '1' as expected:
...
$ g++ test.c -g ; ./a.out ; echo $?
1
...

But when calling 'check (ref)' from the gdb prompt, we get '0':
...
$ gdb a.out -batch -ex start -ex "p check (ref)"
Temporary breakpoint 1 at 0x400518: file test.c, line 8.

Temporary breakpoint 1, main () at test.c:8
8       { return check (ref); }
$1 = 0
...

The layout of struct s is this:
- the field c occupies 4 bytes at offset 0,
- the s1.a field occupies 4 bytes at offset 4, and
- the s1.b field occupies 4 bytes at offset 8.

When compiling at -O2, we can see from the disassembly of main:
...
  4003f0:       48 8b 3d 31 0c 20 00    mov    0x200c31(%rip),%rdi \
                                               # 601028 <ref>
  4003f7:       f3 0f 10 05 31 0c 20    movss  0x200c31(%rip),%xmm0 \
                                               # 601030 <ref+0x8>
  4003fe:       00
  4003ff:       e9 ec 00 00 00          jmpq   4004f0 <_Z5check1s>
...
that check is called with fields c and s1.a passed in %rdi, and s1.b passed
in %xmm0.

However, the classification in theclass (a variable representing the first and
second eightbytes, to put it in SYSV X86_64 psABI terms) in
amd64_push_arguments is incorrect:
...
(gdb) p theclass
$1 = {AMD64_INTEGER, AMD64_INTEGER}
...
and therefore the struct is passed using %rdi and %rsi instead of using %rdi
and %xmm0, which explains the failure.

The reason that we're misclassifying the argument in amd64_classify_aggregate
has to do with how nested struct are handled.

Rather than using fields c and s1.a for the first eightbyte, and using field
s1.b for the second eightbyte, instead field c is used for the first
eightbyte, and fields s1.a and s1.b are classified together in an intermediate
eightbyte, which is then used to merge with both the first and second
eightbyte.

Fix this by factoring out a new function amd64_classify_aggregate_field, and
letting it recursively handle fields of nested structs.

Tested on x86_64-linux.

Tested with g++ 4.8.5, 7.4.1, 8.3.1, 9.2.1.

Tested with clang++ 5.0.2 (which requires removing additional_flags=-Wno-psabi
and adding additional_flags=-Wno-deprecated).

gdb/ChangeLog:

2019-10-16  Tom de Vries  <tdevries@suse.de>

	PR tdep/25096
	* amd64-tdep.c (amd64_classify_aggregate_field): Factor out of ...
	(amd64_classify_aggregate): ... here.
	(amd64_classify_aggregate_field): Handled fiels of nested structs
	recursively.

gdb/testsuite/ChangeLog:

2019-10-16  Tom de Vries  <tdevries@suse.de>

	PR tdep/25096
	* gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.

Change-Id: Id55c74755f0a431ce31223acc86865718ae0c123
2019-10-16 17:11:56 +02:00
..
comp-dir/subdir
gdbinit-history
a2-run.exp
advance.c
advance.exp
alias.exp Fix alias command not detecting non matching prefix & sometimes asserting. 2019-06-25 19:15:16 +02:00
align.exp
all-architectures-0.exp
all-architectures-1.exp
all-architectures-2.exp
all-architectures-3.exp
all-architectures-4.exp
all-architectures-5.exp
all-architectures-6.exp
all-architectures-7.exp
all-architectures.exp.in
all-bin.exp
all-types.c
annota-input-while-running.c
annota-input-while-running.exp
annota1.c
annota1.exp gdb/testsuite: Add gdb_test_name variable 2019-10-07 11:26:11 +01:00
annota3.c
annota3.exp
annotate-symlink.exp Only compute realpath when basenames_may_differ is set 2019-06-14 08:34:24 -06:00
anon.c
anon.exp
args.c
args.exp
argv0-symlink.c
argv0-symlink.exp Run argv0-symlink.exp only on native target and local host. 2019-08-29 14:48:05 -07:00
arithmet.exp
arrayidx.c
arrayidx.exp
asmlabel.c
asmlabel.exp
assign.exp
async-shell.c
async-shell.exp
async.c
async.exp
attach-non-pgrp-leader.c
attach-non-pgrp-leader.exp
attach-pie-misread.c
attach-pie-misread.exp
attach-pie-noexec.c
attach-pie-noexec.exp
attach-twice.c
attach-twice.exp
attach-wait-input.c
attach-wait-input.exp
attach.c
attach.exp
attach2.c
auto-connect-native-target.c
auto-connect-native-target.exp
auto-load-script
auto-load.c
auto-load.exp
auxv.c
auxv.exp
average.c
bad-file.exp
bang.exp
bar.c
batch-exit-status.bad-commands
batch-exit-status.exp Remove directory names from gdb.base/batch-exit-status.exp 2019-08-01 16:51:44 -03:00
batch-exit-status.good-commands
batch-preserve-term-settings.c
batch-preserve-term-settings.exp Skip batch-preserve-term-settings.exp tests that cannot work on Windows. 2019-08-15 10:41:58 -07:00
baz.c
bfp-test.c
bfp-test.exp
bg-execution-repeat.c
bg-execution-repeat.exp
bigcore.c
bigcore.exp
bitfields.c
bitfields.exp
bitfields2.c
bitfields2.exp
bitops.exp
bp-cmds-continue-ctrl-c.c
bp-cmds-continue-ctrl-c.exp
bp-cmds-execution-x-script.c
bp-cmds-execution-x-script.exp
bp-cmds-execution-x-script.gdb
bp-permanent.c
bp-permanent.exp
branch-to-self.c
branch-to-self.exp
break-always.c
break-always.exp
break-caller-line.c
break-caller-line.exp
break-entry.exp
break-fun-addr.exp
break-fun-addr1.c
break-fun-addr2.c
break-idempotent.c
break-idempotent.exp Fix breakpoints on file reloads for PIE binaries 2019-07-08 10:13:46 +01:00
break-include.c
break-include.exp
break-include.inc
break-inline.c
break-inline.exp
break-interp-lib.c
break-interp-main.c
break-interp.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
break-main-file-remove-fail.c
break-main-file-remove-fail.exp
break-on-linker-gcd-function.cc
break-on-linker-gcd-function.exp
break-probes-solib.c
break-probes.c
break-probes.exp
break-unload-file.c
break-unload-file.exp
break.c
break.exp
break1.c
breakpoint-in-ro-region.c
breakpoint-in-ro-region.exp
breakpoint-shadow.c
breakpoint-shadow.exp
bt-selected-frame.c
bt-selected-frame.exp
c-linkage-name.c
c-linkage-name.exp
call-ar-st.c
call-ar-st.exp
call-rt-st.c
call-rt-st.exp
call-sc.c
call-sc.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
call-signal-resume.exp
call-signals.c
call-strs.c
call-strs.exp
callexit.c
callexit.exp
callfuncs.c
callfuncs.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
catch-follow-exec.c
catch-follow-exec.exp
catch-fork-kill.c
catch-fork-kill.exp
catch-fork-static.exp
catch-gdb-caused-signals.c
catch-gdb-caused-signals.exp
catch-load-so.c
catch-load.c
catch-load.exp
catch-signal-fork.c
catch-signal-fork.exp
catch-signal-siginfo-cond.c
catch-signal-siginfo-cond.exp
catch-signal.c
catch-signal.exp
catch-syscall.c
catch-syscall.exp
charset-malloc.c
charset.c
charset.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
checkpoint-ns.exp
checkpoint.c
checkpoint.exp
chng-syms.c
chng-syms.exp
code-expr.exp
code_elim.exp
code_elim1.c
code_elim2.c
command-line-input.exp
commands.exp
compare-sections.c
compare-sections.exp [gdb/testsuite] Fix compare-sections.exp with -fPIE/-pie 2019-08-16 23:48:28 +02:00
complete-empty.exp
completion.exp
complex-parts.c
complex-parts.exp
complex.c
complex.exp
comprdebug.exp
cond-eval-mode.c
cond-eval-mode.exp
cond-expr.exp
condbreak-call-false.c
condbreak-call-false.exp
condbreak.exp
consecutive-step-over.c
consecutive-step-over.exp
consecutive.c
consecutive.exp
constvars.c
constvars.exp
continue-after-aborted-step-over.c
continue-after-aborted-step-over.exp
continue-all-already-running.c
continue-all-already-running.exp
coredump-filter-build-id.exp
coredump-filter.c
coredump-filter.exp
corefile.exp
coremaker.c
ctf-constvars.c gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-constvars.exp gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-cvexpr.exp gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-ptype.c gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-ptype.exp gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-whatis.c gdb: CTF support 2019-10-07 02:26:27 +00:00
ctf-whatis.exp gdb: CTF support 2019-10-07 02:26:27 +00:00
ctxobj-f.c
ctxobj-m.c
ctxobj-v.c
ctxobj.exp
cursal.c
cursal.exp
cvexpr.c
cvexpr.exp
d10vovly.c
dbx.exp
dcache-line-read-error.c
dcache-line-read-error.exp
debug-expr.c
debug-expr.exp
default.exp [gdb/testsuite] Update expected _gdb_major/_gdb_minor in default.exp 2019-10-07 12:50:04 +02:00
define.exp [gdb/testsuite] Fix gdb.base/define.exp with check-read1 2019-07-29 11:24:04 +02:00
del.c
del.exp
detach.exp
dfp-exprs.exp
dfp-test.c
dfp-test.exp
disabled-location.c
disabled-location.exp
disasm-end-cu-1.c
disasm-end-cu-2.c
disasm-end-cu.exp
disasm-optim.c
disasm-optim.exp
disasm-optim.h
disasm-optim.S
display.c
display.exp
dmsym.c
dmsym.exp
dmsym_main.c
double-prompt-target-event-error.c
double-prompt-target-event-error.exp
dprintf-bp-same-addr.c
dprintf-bp-same-addr.exp
dprintf-detach.c
dprintf-detach.exp
dprintf-next.c
dprintf-next.exp
dprintf-non-stop.c
dprintf-non-stop.exp
dprintf-pending.c
dprintf-pending.exp
dprintf-pendshr.c
dprintf.c
dprintf.exp
dso2dso-dso1.c
dso2dso-dso1.h
dso2dso-dso2.c
dso2dso-dso2.h
dso2dso.c
dso2dso.exp
dtrace-probe.c
dtrace-probe.d
dtrace-probe.exp
dump.c
dump.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
dup-sect.exp
dup-sect.S
duplicate-bp.c
duplicate-bp.exp
echo.exp
empty_exe.exp
ena-dis-br.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
endian.c
endian.exp
ending-run.c
ending-run.exp
enum_cond.c
enum_cond.exp
enumval.c
enumval.exp
environ.exp
eu-strip-infcall.c
eu-strip-infcall.exp
eval-avoid-side-effects.exp
eval-skip.exp
eval.exp
examine-backward.c
examine-backward.exp Fix paste-o in examine-backward.exp. 2019-08-15 18:15:16 -07:00
exe-lock.exp
exec-invalid-sysroot.exp
execd-prog.c
execl-update-breakpoints.c
execl-update-breakpoints.exp
execution-termios.c
execution-termios.exp
exitsignal.exp
expand-psymtabs.c
expand-psymtabs.exp
exprs.c
exprs.exp
fileio.c
fileio.exp
filesym.c
filesym.exp
find-unmapped.c
find-unmapped.exp
find.c
find.exp
finish-pretty.c
finish-pretty.exp
finish.exp
fixsection.c
fixsection.exp
fixsectshr.c
float.c
float.exp
float128.c
float128.exp
floatn.c
floatn.exp
foll-exec-mode.c
foll-exec-mode.exp
foll-exec.c
foll-exec.exp
foll-fork.c
foll-fork.exp
foll-vfork-exit.c
foll-vfork.c
foll-vfork.exp
foo.c
fork-print-inferior-events.c
fork-print-inferior-events.exp
fork-running-state.c
fork-running-state.exp
fortran-sym-case.c
fortran-sym-case.exp
frame-args.c
frame-args.exp Test 'set print frame-info|frame-arguments presence'. 2019-07-29 21:42:52 +02:00
frame-selection.c
frame-selection.exp
frameapply.c
frameapply.exp
freebpcmd.c
freebpcmd.exp
fullname.c
fullname.exp
fullpath-expand-func.c
fullpath-expand.c
fullpath-expand.exp
func-ptr.c
func-ptr.exp
func-ptrs.c
func-ptrs.exp
funcargs.c
funcargs.exp
gcore-buffer-overflow.c
gcore-buffer-overflow.exp
gcore-relro-lib.c
gcore-relro-main.c
gcore-relro-pie.c
gcore-relro-pie.exp
gcore-relro.exp
gcore-tls-pie.c
gcore-tls-pie.exp
gcore.c
gcore.exp
gdb-caching-proc.exp [gdb/testsuite] Stabilize gdb-caching-proc.exp test order 2019-08-21 11:49:33 +02:00
gdb-sigterm-2.exp
gdb-sigterm.c
gdb-sigterm.exp
gdb1056.exp
gdb1090.c
gdb1090.exp
gdb1250.c
gdb1250.exp
gdb1555-main.c
gdb1555.c
gdb1555.exp
gdb1821.c
gdb1821.exp
gdb11530.c
gdb11530.exp
gdb11531.c
gdb11531.exp
gdb_history
gdbhistsize-history.exp
gdbindex-stabs-dwarf.c
gdbindex-stabs.c
gdbindex-stabs.exp
gdbinit-history.exp
gdbvars.c
gdbvars.exp
global-var-nested-by-dso-solib1.c
global-var-nested-by-dso-solib2.c
global-var-nested-by-dso.c
global-var-nested-by-dso.exp
gnu-debugdata.c
gnu-debugdata.exp
gnu-ifunc-final.c
gnu-ifunc-lib.c
gnu-ifunc.c
gnu-ifunc.exp
gnu_vector.c
gnu_vector.exp
grbx.c
hashline1.exp
hashline2.exp
hashline3.exp
hbreak-in-shr-unsupported-shr.c
hbreak-in-shr-unsupported.c
hbreak-in-shr-unsupported.exp
hbreak-unmapped.c
hbreak-unmapped.exp
hbreak.c
hbreak.exp
hbreak2.exp
help.exp Make first and last lines of 'command help documentation' consistent. 2019-08-07 00:04:33 +02:00
history-duplicates.exp
hook-stop.c
hook-stop.exp
huge.c
huge.exp
ifelse.exp
included.c
included.exp
included.h
index-cache.c
index-cache.exp [gdb/testsuite] Add back missing debug for index-cache.exp 2019-06-26 05:52:47 +02:00
infcall-exec.c
infcall-exec.exp
infcall-exec2.c
infcall-input.c
infcall-input.exp
infcall-nested-structs.c gdb/testsuite: Fix typos in infcall-nested-structs.c 2019-10-10 12:22:49 +02:00
infcall-nested-structs.exp [gdb/tdep] Fix inferior call arg passing for amd64 2019-10-16 17:11:56 +02:00
inferior-died.c
inferior-died.exp
infnan.c
infnan.exp
info-fun-solib.c
info-fun.c
info-fun.exp gdb: Add new -n flag to some info commands 2019-08-27 16:21:42 +01:00
info-macros.c
info-macros.exp [gdb/testsuite] Run read1 timeout tests with with_read1_timeout_factor 2019-08-05 15:41:04 +02:00
info-os.c
info-os.exp
info-proc.exp
info-program.exp
info-shared-solib1.c
info-shared-solib2.c
info-shared.c
info-shared.exp
info-target.exp
info-types.c gdb: Show type summary for anonymous structures from c_print_typedef 2019-07-22 10:43:03 +01:00
info-types.exp [gdb/testsuite] Fix info-types.exp with gcc/g++ 4.8 2019-10-03 15:02:58 +02:00
info-var-f1.c gdb: Add new -n flag to some info commands 2019-08-27 16:21:42 +01:00
info-var-f2.c gdb: Add new -n flag to some info commands 2019-08-27 16:21:42 +01:00
info-var.exp Avoid expect's buffer overflow in info-var.exp test. 2019-09-04 22:16:56 +02:00
info-var.h gdb: Add new -n flag to some info commands 2019-08-27 16:21:42 +01:00
info_minsym.c
info_minsym.exp
info_qt.c
info_qt.exp
info_sources.c New test for 'info sources [-dirname | -basename] [--] [REGEXP]'. 2019-08-03 21:27:06 +02:00
info_sources.exp New test for 'info sources [-dirname | -basename] [--] [REGEXP]'. 2019-08-03 21:27:06 +02:00
info_sources_base.c New test for 'info sources [-dirname | -basename] [--] [REGEXP]'. 2019-08-03 21:27:06 +02:00
infoline-reloc-main-from-zero.c
infoline-reloc-main-from-zero.exp [gdb/testsuite] Fix infoline-reloc-main-from-zero.exp compilation 2019-07-24 17:16:01 +02:00
infoline.c
infoline.exp
int-type.c
interact.exp
interp.c
interp.exp
interrupt-daemon-attach.c
interrupt-daemon-attach.exp
interrupt-daemon.c
interrupt-daemon.exp
interrupt-noterm.c
interrupt-noterm.exp
interrupt.c
interrupt.exp
jit-attach-pie.c
jit-attach-pie.exp
jit-dlmain.c
jit-exec.c
jit-exec.exp
jit-execd.c
jit-main.c
jit-protocol.h
jit-reader.exp [gdb/testsuite] Fix regexp for reg value in jit-reader.exp 2019-10-16 16:53:37 +02:00
jit-simple-dl.c
jit-simple-jit.c
jit-simple.c
jit-simple.exp
jit-so.exp
jit-solib.c
jit.exp
jithost.c
jithost.h
jitreader.c
jump.c
jump.exp
kill-after-signal.c
kill-after-signal.exp
kill-detach-inferiors-cmd.c
kill-detach-inferiors-cmd.exp
killed-outside.c
killed-outside.exp
label.c
label.exp un-XFAIL under Clang tests using labels 2019-09-06 14:17:36 -07:00
langs.exp
langs0.c
langs1.c
langs1.f
langs2.c
langs2.cxx
large-frame-1.c
large-frame-2.c
large-frame.exp
large-frame.h
ldbl_e308.c
ldbl_e308.exp
libsegfault.exp
line-symtabs.c
line-symtabs.exp
line-symtabs.h
lineinc.c
lineinc.exp
lineinc1.h
lineinc2.h
lineinc3.h
linespecs.exp
list-ambiguous.exp
list-ambiguous0.c
list-ambiguous1.c
list-missing-source.exp [gdb/testsuite] Fix list-missing-source.exp with gcc 4.8 2019-10-03 16:22:09 +02:00
list.exp
list0.c
list0.h Add comment to list0.h 2019-06-18 09:28:57 -06:00
list1.c
load-command.c
load-command.exp
logical.exp
long-inferior-output.c
long-inferior-output.exp
long_long.c
long_long.exp
longest-types.c
longest-types.exp
longjmp.c
longjmp.exp
m32r.ld
m32rovly.c
macscp.exp
macscp1.c
macscp2.h
macscp3.h
macscp4.h
maint.exp gdb/testsuite: Make use of exec_has_index_section function 2019-09-12 20:31:29 -04:00
many-headers.c
many-headers.exp
max-depth.c
max-depth.exp
max-value-size.c
max-value-size.exp
memattr.c
memattr.exp
mips_pro.c
mips_pro.exp
miscexprs.c
miscexprs.exp
morestack.c
morestack.exp
moribund-step.exp
msym-lang-main.c
msym-lang.c
msym-lang.exp
multi-forks.c
multi-forks.exp
multi-line-starts-subshell.exp
nested-addr.c
nested-addr.exp
nested-subp1.c
nested-subp1.exp
nested-subp2.c
nested-subp2.exp
nested-subp3.c
nested-subp3.exp
new-ui-echo.c
new-ui-echo.exp
new-ui-pending-input.c
new-ui-pending-input.exp
new-ui.c
new-ui.exp
nextoverexit.c
nextoverexit.exp
nodebug.c
nodebug.exp
nofield.c
nofield.exp
noreturn-finish.c
noreturn-finish.exp
noreturn-return.c
noreturn-return.exp
normal.c
nostdlib.c
nostdlib.exp
offsets.c
offsets.exp
opaque.exp
opaque0.c
opaque1.c
options.c
options.exp Test 'set print frame-info|frame-arguments presence'. 2019-07-29 21:42:52 +02:00
osabi.exp
overlays.c
overlays.exp Remove Cell Broadband Engine debugging support 2019-09-20 23:06:57 +02:00
ovlymgr.c Remove Cell Broadband Engine debugging support 2019-09-20 23:06:57 +02:00
ovlymgr.h
page.exp
paginate-after-ctrl-c-running.c
paginate-after-ctrl-c-running.exp
paginate-bg-execution.c
paginate-bg-execution.exp
paginate-execution-startup.c
paginate-execution-startup.exp
paginate-inferior-exit.c
paginate-inferior-exit.exp
pc-fp.c
pc-fp.exp
pending.c
pending.exp
pendshr.c
permissions.exp
pi.txt
pie-execl.c
pie-execl.exp
pie-fork.c
pie-fork.exp
pointers.c
pointers.exp
pr10179-a.c
pr10179-b.c
pr10179.exp
pr11022.c
pr11022.exp
prelink-lib.c
prelink.c
prelink.exp
pretty-print.c gdb/testsuite: Fix pretty-print.exp on big-endian platforms 2019-10-01 19:20:29 +02:00
pretty-print.exp gdb/testsuite: Fix pretty-print.exp on big-endian platforms 2019-10-01 19:20:29 +02:00
print-file-var-lib1.c Make print-file-var.exp test attribute visibility hidden, dlopen, and main symbol 2019-10-02 09:53:17 -06:00
print-file-var-lib2.c Make print-file-var.exp test attribute visibility hidden, dlopen, and main symbol 2019-10-02 09:53:17 -06:00
print-file-var-main.c Make print-file-var.exp test attribute visibility hidden, dlopen, and main symbol 2019-10-02 09:53:17 -06:00
print-file-var.exp Make print-file-var.exp test attribute visibility hidden, dlopen, and main symbol 2019-10-02 09:53:17 -06:00
print-file-var.h Make print-file-var.exp test attribute visibility hidden, dlopen, and main symbol 2019-10-02 09:53:17 -06:00
print-symbol-loading-lib.c
print-symbol-loading-main.c
print-symbol-loading.exp
printcmds.c
printcmds.exp Fix printcmds.exp failure for wide strings tests. 2019-07-09 19:36:17 +02:00
prologue-include.c
prologue-include.exp
prologue-include.h
prologue.c
prologue.exp
psymtab.exp
psymtab1.c
psymtab2.c
ptr-typedef.c
ptr-typedef.exp
ptype-offsets.cc
ptype-offsets.exp
ptype.c
ptype.exp
ptype1.c
quit-live.c
quit-live.exp
quit.exp
radix.exp
random-signal.c
random-signal.exp
randomize.c
randomize.exp
range-stepping.c
range-stepping.exp
readline-ask.c
readline-ask.exp
readline-ask.inputrc
readline.exp
readnever.c
readnever.exp
realname-expand-real.c
realname-expand.c
realname-expand.exp
recpar.c
recpar.exp
recurse.c
recurse.exp
reggroups.c
reggroups.exp
relational.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
relativedebug.c
relativedebug.exp
relocate.c
relocate.exp
remote.c
remote.exp
remotetimeout.exp
reread-readsym.c
reread-readsym.exp
reread.exp
reread1.c
reread2.c
restore.c
restore.exp [gdb/testsuite] Allow some tests in gdb.base/restore.exp to be unsupported 2019-09-22 06:14:29 +02:00
return-nodebug.c
return-nodebug.exp
return-nodebug1.c
return.c
return.exp
return2.c
return2.exp
run-after-attach.c
run-after-attach.exp
run.c
save-bp.c
save-bp.exp
savedregs.c
savedregs.exp
scope.exp
scope0.c
scope1.c
sect-cmd.exp
segv.c
sep-proc.c
sep.c
sep.exp
sepdebug.c
sepdebug.exp
sepdebug2.c
sepsymtab.c
sepsymtab.exp
server-del-break.c
server-del-break.exp
set-cwd.c
set-cwd.exp
set-inferior-tty.c
set-inferior-tty.exp
set-lang-auto.exp
set-noassign.exp
setshow.c
setshow.exp
settings.c
settings.exp "maint test-settings set/show" -> "maint set/show test-settings" 2019-07-03 13:35:03 +01:00
setvar.c
setvar.exp
share-env-with-gdbserver.c
share-env-with-gdbserver.exp
shell.exp pipe command completer 2019-07-03 17:18:54 +01:00
shlib-call.exp
shmain.c
shr1.c
shr2.c
shreloc.c
shreloc.exp
shreloc1.c
shreloc2.c
sigall.c
sigall.exp
sigaltstack.c
sigaltstack.exp
sigbpt.c
sigbpt.exp
sigchld.c
sigchld.exp
siginfo-addr.c
siginfo-addr.exp
siginfo-infcall.c
siginfo-infcall.exp
siginfo-obj.c
siginfo-obj.exp
siginfo-thread.c
siginfo-thread.exp
siginfo.c
siginfo.exp
signals-state-child.c
signals-state-child.exp
signals.c
signals.exp [gdb/testsuite] Fix gdb.base/signals.exp timeout with check-read1 2019-08-01 10:48:11 +02:00
signest.c
signest.exp
signull.c
signull.exp
sigrepeat.c
sigrepeat.exp
sigstep.c
sigstep.exp
sizeof.c
sizeof.exp
skip-solib-lib.c
skip-solib-main.c
skip-solib.exp
skip.c
skip.exp
skip1.c
so-disc-shr.c
so-impl-ld.c
so-impl-ld.exp
solib-corrupted.exp
solib-disc.c
solib-disc.exp
solib-display-lib.c
solib-display-main.c
solib-display.exp
solib-nodir.exp
solib-overlap-lib.c
solib-overlap-main.c
solib-overlap.exp
solib-probes-nosharedlibrary.c
solib-probes-nosharedlibrary.exp
solib-search-lib1.c
solib-search-lib2.c
solib-search.c
solib-search.exp
solib-search.h
solib-symbol-lib.c
solib-symbol-main.c
solib-symbol.exp
solib-vanish-lib1.c
solib-vanish-lib2.c
solib-vanish-main.c
solib-vanish.exp
solib-weak.c
solib-weak.exp
solib1.c
source-dir.c gdb: Look for compilation directory relative to directory search path 2019-09-17 16:20:19 -04:00
source-dir.exp gdb/testsuite: Avoid directory names in test names 2019-09-18 12:36:05 -04:00
source-error-1.gdb
source-error.gdb
source-execution.c
source-execution.exp
source-execution.gdb
source-nofile.gdb
source-test.gdb
source.exp
ss.h
sss-bp-on-user-bp-2.c
sss-bp-on-user-bp-2.exp
sss-bp-on-user-bp.c
sss-bp-on-user-bp.exp
stack-checking.c Remove Cell Broadband Engine debugging support 2019-09-20 23:06:57 +02:00
stack-checking.exp
stack-protector.c
stack-protector.exp
stale-infcall.c
stale-infcall.exp
stap-probe.c
stap-probe.exp
start-cpp.cc
start-cpp.exp
start.c
start.exp
starti.c
starti.exp
startup-with-shell.c
startup-with-shell.exp
statistics.exp
step-break.c
step-break.exp
step-bt.c
step-bt.exp
step-indirect-call-thunk.c
step-indirect-call-thunk.exp
step-line.c
step-line.exp
step-line.inp
step-over-clone.c
step-over-exit.c
step-over-exit.exp
step-over-fork.c
step-over-no-symbols.exp
step-over-syscall.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
step-over-vfork.c
step-resume-infcall.c
step-resume-infcall.exp
step-sw-breakpoint-adjust-pc.c
step-sw-breakpoint-adjust-pc.exp
step-symless.c
step-symless.exp
step-test.c
step-test.exp
store.c
store.exp [gdb/testsuite] Allow some tests in gdb.base/store.exp to be unsupported 2019-09-12 22:36:37 +02:00
structs.c
structs.exp gdb/testsuite: Reduce test name duplication in gdb.base tests 2019-10-03 17:48:03 +01:00
structs2.c
structs2.exp
structs3.c
structs3.exp
style-logging.exp gdb: Remove file path from test name 2019-06-15 21:31:04 +01:00
style.c Add more styling to "disassemble" 2019-08-06 11:37:51 -06:00
style.exp Use styled_string for "show logging filename" 2019-10-01 15:12:41 -06:00
subst.exp
sum.c
sym-file-lib.c
sym-file-loader.c
sym-file-loader.h
sym-file-main.c
sym-file.exp
symbol-alias.c
symbol-alias.exp
symbol-alias2.c
symbol-without-target_section.c
symbol-without-target_section.exp
symfile-warn.c Warn if add-symbol-file does not provide any symbols 2019-06-14 12:38:15 -06:00
symfile-warn.exp Warn if add-symbol-file does not provide any symbols 2019-06-14 12:38:15 -06:00
symlink-sourcefile.c
symlink-sourcefile.exp
symtab-search-order-1.c
symtab-search-order-shlib-1.c
symtab-search-order.c
symtab-search-order.exp
term.c
term.exp
testenv.c
testenv.exp
trace-commands.exp
twice.c
twice.exp
type-opaque-lib.c
type-opaque-main.c
type-opaque.exp
ui-redirect.exp [gdb/testsuite] Restore breakpoint command in ui-redirect.exp 2019-09-05 14:33:10 +02:00
unload.c
unload.exp
unloadshr.c
unloadshr2.c
until-nodebug.exp
until.exp
unwindonsignal.c
unwindonsignal.exp
utf8-identifiers.c
utf8-identifiers.exp
valgrind-bt.c
valgrind-bt.exp
valgrind-disp-step.c
valgrind-disp-step.exp
valgrind-infcall.c
valgrind-infcall.exp
value-double-free.c
value-double-free.exp
varargs.c
varargs.exp
vdso-warning.c
vdso-warning.exp
vforked-prog.c
vla-datatypes.c
vla-datatypes.exp
vla-optimized-out.c
vla-optimized-out.exp
vla-ptr.c
vla-ptr.exp
vla-sideeffect.c
vla-sideeffect.exp
vla-stub-define.c
vla-stub.c
vla-stub.exp
volatile.exp
warning.exp
watch-bitfields.c
watch-bitfields.exp
watch-cond-infcall.c
watch-cond-infcall.exp
watch-cond.c
watch-cond.exp
watch-non-mem.c
watch-non-mem.exp
watch-read.c
watch-read.exp
watch-vfork.c
watch-vfork.exp
watch_thread_num.c
watch_thread_num.exp
watchpoint-cond-gone-stripped.c
watchpoint-cond-gone.c
watchpoint-cond-gone.exp
watchpoint-delete.c
watchpoint-delete.exp
watchpoint-hw-attach.c
watchpoint-hw-attach.exp
watchpoint-hw-hit-once.c
watchpoint-hw-hit-once.exp
watchpoint-hw.c
watchpoint-hw.exp
watchpoint-reuse-slot.c
watchpoint-reuse-slot.exp
watchpoint-solib-shr.c
watchpoint-solib.c
watchpoint-solib.exp
watchpoint-stops-at-right-insn.c
watchpoint-stops-at-right-insn.exp
watchpoint-unaligned.c
watchpoint-unaligned.exp
watchpoint.c
watchpoint.exp
watchpoints.c
watchpoints.exp
wchar.c
wchar.exp
weaklib1.c
weaklib2.c
whatis-exp.exp
whatis-ptype-typedefs.c
whatis-ptype-typedefs.exp
whatis.c
whatis.exp
with.c Introduce the "with" command 2019-07-03 13:35:45 +01:00
with.exp Fix nullptr in with_command_1 2019-08-21 21:11:33 +01:00
write_mem.c
write_mem.exp
wrong_frame_bt_full-main.c
wrong_frame_bt_full-opaque.c
wrong_frame_bt_full.exp