aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-02-25 11:03:22 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-02-25 11:03:23 -0500
commit166616ce00e0c27fa3f556bcdeb908d4c0212393 (patch)
tree70f0d567ffae71dd4f9231ed8fb9d3f978939ac1 /gas
parent678b48b7cf0bd518ebc234bda98229cc602c2a45 (diff)
downloadgdb-166616ce00e0c27fa3f556bcdeb908d4c0212393.zip
gdb-166616ce00e0c27fa3f556bcdeb908d4c0212393.tar.gz
gdb-166616ce00e0c27fa3f556bcdeb908d4c0212393.tar.bz2
Initialize variables in i386_linux_handle_segmentation_fault
We see this error when building with gcc 4.3. ../../gdb/i386-linux-tdep.c: In function ‘i386_linux_handle_segmentation_fault’: ../../gdb/i386-linux-tdep.c:399: error: ‘access’ may be used uninitialized in this function ../../gdb/i386-linux-tdep.c:399: error: ‘upper_bound’ may be used uninitialized in this function ../../gdb/i386-linux-tdep.c:399: error: ‘lower_bound’ may be used uninitialized in this function It's a false positive, since the variables will always get initialized in the TRY clause, and the CATCH returns. gdb/ChangeLog: * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Initialize variables.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions