aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorВладимир Мартьянов <vilgeforce@gmail.com>2019-03-17 12:51:01 +0300
committerSimon Marchi <simon.marchi@polymtl.ca>2019-03-17 14:48:59 -0400
commitd4cbef22ba406707a4fcb30a7a57308447626f14 (patch)
tree2b0c2d6a2248f0c2a0c76f7ed3ac7dcb2091df23 /gdb/windows-nat.c
parentfce4c071610c0d01b70b172ee538e831023c1c2f (diff)
downloadgdb-d4cbef22ba406707a4fcb30a7a57308447626f14.zip
gdb-d4cbef22ba406707a4fcb30a7a57308447626f14.tar.gz
gdb-d4cbef22ba406707a4fcb30a7a57308447626f14.tar.bz2
Remove unused variable from windows_make_so
There is unused variable text_vma in function windows_make_so. This leads to build error on Windows using Cygwin. gdb/ChangeLog: 2019-03-17 Vladimir Martyanov <vilgeforce@gmail.com> PR gdb/24350 * windows-nat.c (windows_make_so): Remove unused text_vma variable.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index c8acadd..d38ade58 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -778,7 +778,6 @@ windows_make_so (const char *name, LPVOID load_addr)
if (p >= so->so_name && strcasecmp (p, "/cygwin1.dll") == 0)
{
asection *text = NULL;
- CORE_ADDR text_vma;
gdb_bfd_ref_ptr abfd (gdb_bfd_open (so->so_name, "pei-i386", -1));