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.
This commit is contained in:
parent
fce4c07161
commit
d4cbef22ba
|
@ -1,3 +1,8 @@
|
|||
2019-03-17 Vladimir Martyanov <vilgeforce@gmail.com>
|
||||
|
||||
PR gdb/24350
|
||||
* windows-nat.c (windows_make_so): Remove unused text_vma variable.
|
||||
|
||||
2019-03-17 Vladimir Martyanov <vilgeforce@gmail.com>
|
||||
|
||||
PR gdb/24351
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue