diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-12 09:30:21 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-12 12:11:35 -0600 |
commit | 61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22 (patch) | |
tree | da773c5cdf0f520dd05803c61e25ff6980282db4 /gdb/arm-wince-tdep.c | |
parent | 6a667807390b7091b5ec088d979c779f65d3dfa5 (diff) | |
download | gdb-61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22.zip gdb-61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22.tar.gz gdb-61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22.tar.bz2 |
Fix calling debuginfo-less functions in Ada
A co-worker at AdaCore noticed that calling a function without
debuginfo yields:
(gdb) print plus_one(23)
'pck.plus_one' has unknown return type; cast the call to its declared return type
However, this also happens if you follow the directions and add the
cast.
This patch fixes the problem and adds a regression test.
Diffstat (limited to 'gdb/arm-wince-tdep.c')
0 files changed, 0 insertions, 0 deletions