binutils-gdb/gdb/testsuite/gdb.base
Pedro Alves 46a4882b3c Stop assuming no-debug-info variables have type int
An earlier commit made GDB no longer assume no-debug-info functions
return int.  This commit gives the same treatment to variables.

Currently, you can end misled by GDB over output like this:

  (gdb) p var
  $1 = -1
  (gdb) p /x var
  $2 = 0xffffffff

until you realize that GDB is assuming that the variable is an "int",
because:

  (gdb) ptype var
  type = <data variable, no debug info>

You may try to fix it by casting, but that doesn't really help:

  (gdb) p /x (unsigned long long) var
  $3 = 0xffffffffffffffff            # incorrect
         ^^

That's incorrect output, because the variable was defined like this:

  uint64_t var = 0x7fffffffffffffff;
                   ^^

What happened is that with the cast, GDB did an int -> 'unsigned long
long' conversion instead of reinterpreting the variable as the cast-to
type.  To get at the variable properly you have to reinterpret the
variable's address manually instead, with either:

  (gdb) p /x *(unsigned long long *) &var
  $4 = 0x7fffffffffffffff
  (gdb) p /x {unsigned long long} &var
  $5 = 0x7fffffffffffffff

After this commit GDB does it for you.  This is what you'll get
instead:

  (gdb) p var
  'var' has unknown type; cast it to its declared type
  (gdb) p /x (unsigned long long) var
  $1 = 0x7fffffffffffffff

As in the functions patch, the "compile" machinery doesn't currently
have the cast-to type handy, so it continues assuming no-debug
variables have int type, though now at least it warns.

The change to gdb.cp/m-static.exp deserves an explanation:

 - gdb_test "print 'gnu_obj_1::method()::sintvar'" "\\$\[0-9\]+ = 4" \
 + gdb_test "print (int) 'gnu_obj_1::method()::sintvar'" "\\$\[0-9\]+ = 4" \

That's printing the "sintvar" function local static of the
"gnu_obj_1::method()" method.

The problem with that test is that that "'S::method()::static_var'"
syntax doesn't really work in C++ as you'd expect.  The way to make it
work correctly currently is to quote the method part, not the whole
expression, like:

  (gdb) print 'gnu_obj_1::method()'::sintvar

If you wrap the whole expression in quotes, like in m-static.exp, what
really happens is that the parser considers the whole string as a
symbol name, but there's no debug symbol with that name.  However,
local statics have linkage and are given a mangled name that demangles
to the same string as the full expression, so that's what GDB prints.
After this commit, and without the cast, the print in m-static.exp
would error out saying that the variable has unknown type:

  (gdb) p 'gnu_obj_1::method()::sintvar'
  'gnu_obj_1::method()::sintvar' has unknown type; cast it to its declared type

TBC, if currently (even before this series) you try to print any
function local static variable of type other than int, you'll get
bogus results.  You can see that with m-static.cc as is, even.
Printing the "svar" local, which is a boolean (1 byte) still prints as
"int" (4 bytes):

  (gdb) p 'gnu_obj_1::method()::svar'
  $1 = 1
  (gdb) ptype 'gnu_obj_1::method()::svar'
  type = <data variable, no debug info>

This probably prints some random bogus value on big endian machines.

If 'svar' was of some aggregate type (etc.) we'd still print it as
int, so the problem would have been more obvious...  After this
commit, you'll get instead:

  (gdb) p 'gnu_obj_1::method()::svar'
  'gnu_obj_1::method()::svar' has unknown type; cast it to its declared type

... so at least GDB is no longer misleading.  Making GDB find the real
local static debug symbol is the subject of the following patches.  In
the end, it'll all "Just Work".

gdb/ChangeLog:
2017-09-04  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c: Include "typeprint.h".
	(gen_expr_for_cast): New function.
	(gen_expr) <OP_CAST, OP_CAST_TYPE>: Use it.
	<OP_VAR_VALUE, OP_MSYM_VAR_VALUE>: Error out if the variable's
	type is unknown.
	* dwarf2read.c (new_symbol_full): Fallback to int instead of
	nodebug_data_symbol.
	* eval.c: Include "typeprint.h".
	(evaluate_subexp_standard) <OP_VAR_VALUE, OP_VAR_MSYM_VALUE>:
	Error out if symbol has unknown type.
	<UNOP_CAST, UNOP_CAST_TYPE>: Common bits factored out to
	evaluate_subexp_for_cast.
	(evaluate_subexp_for_address, evaluate_subexp_for_sizeof): Handle
	OP_VAR_MSYM_VALUE.
	(evaluate_subexp_for_cast): New function.
	* gdbtypes.c (init_nodebug_var_type): New function.
	(objfile_type): Use it to initialize types of variables with no
	debug info.
	* typeprint.c (error_unknown_type): New.
	* typeprint.h (error_unknown_type): New declaration.
	* compile/compile-c-types.c (convert_type_basic): Handle
	TYPE_CODE_ERROR; warn and fallback to int for variables with
	unknown type.

gdb/testsuite/ChangeLog:
2017-09-04  Pedro Alves  <palves@redhat.com>

	* gdb.asm/asm-source.exp: Add casts to int.
	* gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
	(dataglobal64_1, dataglobal64_2): New globals.
	* gdb.base/nodebug.exp: Test different expressions involving the
	new globals, with print, whatis and ptype.  Add casts to int.
	* gdb.base/solib-display.exp: Add casts to int.
	* gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
	* gdb.cp/m-static.exp: Add cast to int.
	* gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
	* gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
	tls variable with no debug info without a cast.  Test with a cast
	to int too.
	* gdb.trace/entry-values.exp: Add casts.
2017-09-04 20:21:15 +01:00
..
comp-dir/subdir
gdbinit-history
a2-run.exp
advance.c
advance.exp
alias.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
annota3.c
annota3.exp
anon.c
anon.exp
args.c
args.exp
argv0-symlink.c
argv0-symlink.exp
arithmet.exp
arrayidx.c
arrayidx.exp
asmlabel.c
asmlabel.exp
assign.exp
async-shell.c
async-shell.exp
async.c
async.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-preserve-term-settings.c
batch-preserve-term-settings.exp
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-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 gdb: Fix a few unstable test names 2017-03-08 12:46:44 +00:00
break-fun-addr1.c
break-fun-addr2.c
break-idempotent.c
break-idempotent.exp
break-inline.c
break-inline.exp
break-interp-lib.c
break-interp-main.c
break-interp.exp
break-main-file-remove-fail.c
break-main-file-remove-fail.exp Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
break-on-linker-gcd-function.cc
break-on-linker-gcd-function.exp
break-probes-solib.c
break-probes.c
break-probes.exp Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
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
call-ar-st.c
call-ar-st.exp
call-rt-st.c
call-rt-st.exp
call-sc.c
call-sc.exp
call-signal-resume.exp
call-signals.c
call-strs.c
call-strs.exp
callexit.c
callexit.exp
callfuncs.c
callfuncs.exp Fix calling prototyped functions via function pointers 2017-09-04 20:21:13 +01:00
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
checkpoint-ns.exp
checkpoint.c
checkpoint.exp Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
chng-syms.c
chng-syms.exp
code-expr.exp
code_elim.exp
code_elim1.c
code_elim2.c
command-line-input.exp
commands.exp gdb.base/commands.exp: Test loop_break and loop_continue in nested loops 2017-09-04 21:19:17 +02:00
compare-sections.c
compare-sections.exp
completion.exp A smarter linespec completer 2017-07-17 20:29:37 +01:00
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-all-already-running.c
continue-all-already-running.exp
coredump-filter.c
coredump-filter.exp
corefile.exp
coremaker.c
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 Make language_def O(1) 2017-07-20 18:28:01 +01:00
define.exp
del.c
del.exp
detach.exp
dfp-exprs.exp
dfp-test.c Fix type casts losing typedefs and reimplement "whatis" typedef stripping 2017-08-21 11:34:32 +01:00
dfp-test.exp Fix type casts losing typedefs and reimplement "whatis" typedef stripping 2017-08-21 11:34:32 +01:00
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 Make gdb.base/dmsym.exp independent of "set language ada" 2017-07-20 17:52:03 +01:00
dmsym.exp Make gdb.base/dmsym.exp independent of "set language ada" 2017-07-20 17:52:03 +01:00
dmsym_main.c Make gdb.base/dmsym.exp independent of "set language ada" 2017-07-20 17:52:03 +01:00
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 Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
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: Add "get_endianness" convenience proc 2017-06-13 15:20:26 +02:00
dup-sect.exp
dup-sect.S
duplicate-bp.c
duplicate-bp.exp
echo.exp
empty_exe.exp
ena-dis-br.exp
ending-run.c
ending-run.exp
enum_cond.c
enum_cond.exp
enumval.c
enumval.exp
environ.exp Fix PR gdb/21954: make 'unset environment' work again 2017-08-15 13:49:18 -04:00
eu-strip-infcall.c
eu-strip-infcall.exp
eval-avoid-side-effects.exp
eval-skip.exp
eval.exp
examine-backward.c Fix spurious FAILs with examine-backward.exp 2017-03-20 18:55:39 +01:00
examine-backward.exp
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 gdb.base/fileio.c: Fix several -Wmaybe-uninitialized warnings 2017-05-18 12:56:38 +01:00
fileio.exp gdb.base/fileio.c: Fix several -Wreturn-type warnings 2017-05-18 12:56:16 +01:00
filesym.c
filesym.exp
find-unmapped.c
find-unmapped.exp
find.c
find.exp
finish.exp
fixsection.c
fixsection.exp
fixsectshr.c
float.c
float.exp Expect prompt after no FPU warning 2017-05-18 16:31:40 +01:00
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-running-state.c
fork-running-state.exp
fortran-sym-case.c
fortran-sym-case.exp
frame-args.c
frame-args.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 gdb/testsuite: Add "get_endianness" convenience proc 2017-06-13 15:20:26 +02:00
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.c
gcore.exp
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-lib.c
gnu-ifunc.c
gnu-ifunc.exp
gnu_vector.c
gnu_vector.exp Fix type casts losing typedefs and reimplement "whatis" typedef stripping 2017-08-21 11:34:32 +01:00
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
history-duplicates.exp
hook-stop.c
hook-stop.exp
huge.c
huge.exp
ifelse.exp
included.c
included.exp
included.h
infcall-exec.c
infcall-exec.exp Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
infcall-exec2.c
infcall-input.c
infcall-input.exp
inferior-died.c
inferior-died.exp
infnan.c
infnan.exp
info-fun-solib.c
info-fun.c
info-fun.exp
info-macros.c
info-macros.exp
info-os.c
info-os.exp Stop assuming no-debug-info functions return int 2017-09-04 20:21:13 +01:00
info-proc.exp
info-program.exp Make environ.exp run on all platforms (and create info-program.exp) 2017-04-28 20:29:20 -04:00
info-shared-solib1.c
info-shared-solib2.c
info-shared.c
info-shared.exp
info-target.exp
infoline.c
infoline.exp
int-type.c
interact.exp
interp.c
interp.exp
interrupt-noterm.c
interrupt-noterm.exp
interrupt.c
interrupt.exp
jit-attach-pie.c
jit-attach-pie.exp
jit-dlmain.c
jit-main.c
jit-protocol.h
jit-reader.exp
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
langs.exp
langs0.c
langs1.c
langs1.f
langs2.c
langs2.cxx
ldbl_e308.c
ldbl_e308.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 Clarify "list" output when specified lines are ambiguous 2017-09-04 16:49:29 +01:00
list-ambiguous0.c Clarify "list" output when specified lines are ambiguous 2017-09-04 16:49:29 +01:00
list-ambiguous1.c Clarify "list" output when specified lines are ambiguous 2017-09-04 16:49:29 +01:00
list.exp Clarify "list" output when specified lines are ambiguous 2017-09-04 16:49:29 +01:00
list0.c
list0.h
list1.c
logical.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 PR gdb/21164: maint print {symbols,msymbols,psymbols} without args crash 2017-02-15 19:54:10 -05:00
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
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 Do not send queries on secondary UIs 2017-02-10 16:29:50 -05:00
nextoverexit.c
nextoverexit.exp
nodebug.c Stop assuming no-debug-info variables have type int 2017-09-04 20:21:15 +01:00
nodebug.exp Stop assuming no-debug-info variables have type int 2017-09-04 20:21:15 +01:00
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
overlays.c
overlays.exp
ovlymgr.c
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
pointers.c
pointers.exp
pr10179-a.c
pr10179-b.c
pr10179.exp
pr11022.c
pr11022.exp
prelink-lib.c
prelink.c
prelink.exp
print-file-var-lib1.c
print-file-var-lib2.c
print-file-var-main.c
print-file-var.exp
print-symbol-loading-lib.c
print-symbol-loading-main.c
print-symbol-loading.exp
printcmds.c
printcmds.exp Fix two regressions in scalar printing 2017-08-14 10:14:05 -06: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.c
ptype.exp
ptype1.c
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
realname-expand-real.c
realname-expand.c
realname-expand.exp
recpar.c
recpar.exp
recurse.c
recurse.exp
relational.exp
relativedebug.c
relativedebug.exp
relocate.c
relocate.exp
remote.c
remote.exp
remotetimeout.exp
reread-readsym.c Fix PR 21337: segfault when re-reading symbols. 2017-06-28 02:54:22 +01:00
reread-readsym.exp Fix PR 21337: segfault when re-reading symbols. 2017-06-28 02:54:22 +01:00
reread.exp Catch exceptions thrown from gdbarch_skip_prologue 2017-07-25 11:38:50 +01:00
reread1.c
reread2.c
restore.c
restore.exp
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
set-inferior-tty.c
set-inferior-tty.exp Add alias command to cmd_list_element 2017-05-17 14:22:35 +01:00
set-lang-auto.exp
set-noassign.exp
setshow.c
setshow.exp
setvar.c
setvar.exp
share-env-with-gdbserver.c Implement the ability to set/unset environment variables to GDBserver when starting the inferior 2017-08-31 17:22:10 -04:00
share-env-with-gdbserver.exp Implement the ability to set/unset environment variables to GDBserver when starting the inferior 2017-08-31 17:22:10 -04:00
shell.exp
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
signest.c
signest.exp
signull.c
signull.exp
sigrepeat.c
sigrepeat.exp
sigstep.c
sigstep.exp
sizeof.c
sizeof.exp Fix two regressions in scalar printing 2017-08-14 10:14:05 -06:00
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 Stop assuming no-debug-info variables have type int 2017-09-04 20:21:15 +01:00
solib-nodir.exp
solib-overlap-lib.c
solib-overlap-main.c
solib-overlap.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-weak.c
solib-weak.exp
solib1.c
source-dir.exp
source-error.gdb
source-execution.c
source-execution.exp
source-execution.gdb
source-nofile.gdb
source-test.gdb
source.exp
spu.ld
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
stack-checking.exp
stale-infcall.c
stale-infcall.exp
stap-probe.c
stap-probe.exp
start.c
start.exp
startup-with-shell.c Implement proper "startup-with-shell" support on gdbserver 2017-06-07 19:56:09 -04:00
startup-with-shell.exp Implement proper "startup-with-shell" support on gdbserver 2017-06-07 19:56:09 -04:00
statistics.exp
step-break.c
step-break.exp
step-bt.c
step-bt.exp
step-line.c
step-line.exp
step-line.inp
step-over-clone.c
step-over-exit.c
step-over-exit.exp Avoid unstable test message in gdb.base/step-over-exit.exp 2017-03-08 22:05:36 +00:00
step-over-fork.c
step-over-no-symbols.exp
step-over-syscall.exp
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
structs.c
structs.exp
structs2.c
structs2.exp
structs3.c
structs3.exp
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 Handle function aliases better (PR gdb/19487, errno printing) 2017-08-21 11:34:32 +01:00
symbol-alias.exp Handle function aliases better (PR gdb/19487, errno printing) 2017-08-21 11:34:32 +01:00
symbol-alias2.c Handle function aliases better (PR gdb/19487, errno printing) 2017-08-21 11:34:32 +01:00
symbol-without-target_section.c
symbol-without-target_section.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
unload.c
unload.exp
unloadshr.c
unloadshr2.c
until-nodebug.exp
until.exp
unwindonsignal.c
unwindonsignal.exp
valgrind-db-attach.c
valgrind-db-attach.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-ptr.c
vla-ptr.exp
vla-sideeffect.c
vla-sideeffect.exp
vla-stub-define.c
vla-stub.c
vla-stub.exp
volatile.exp
watch-bitfields.c
watch-bitfields.exp
watch-cond-infcall.c
watch-cond-infcall.exp gdb.base/watch-cond-infcall.exp: Don't run if target doesn't support infcalls 2017-05-30 11:24:52 +02:00
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-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.c
watchpoint.exp
watchpoints.c
watchpoints.exp
wchar.c
wchar.exp
weaklib1.c
weaklib2.c
whatis-exp.exp
whatis-ptype-typedefs.c Fix type casts losing typedefs and reimplement "whatis" typedef stripping 2017-08-21 11:34:32 +01:00
whatis-ptype-typedefs.exp Fix type casts losing typedefs and reimplement "whatis" typedef stripping 2017-08-21 11:34:32 +01:00
whatis.c
whatis.exp
wrong_frame_bt_full-main.c
wrong_frame_bt_full-opaque.c
wrong_frame_bt_full.exp