* [PATCH][PR gdb/24350] Remove unused variable from windows_make_so
@ 2019-03-17 9:51 Владимир Мартьянов
2019-03-17 18:50 ` Simon Marchi
0 siblings, 1 reply; 2+ messages in thread
From: Владимир Мартьянов @ 2019-03-17 9:51 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
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): Unused text_vma variable
removed
Changelog and patch file attached
[-- Attachment #2: changelog.24350 --]
[-- Type: application/octet-stream, Size: 159 bytes --]
gdb/ChangeLog:
2019-03-17 Vladimir Martyanov <vilgeforce@gmail.com>
PR gdb/24350
* windows-nat.c (windows_make_so): Unused text_vma variable
removed
[-- Attachment #3: 0001-Unused-variable-text_vma-in-windows_make_so-removed.patch --]
[-- Type: application/octet-stream, Size: 724 bytes --]
From 07b3d65f7be10e6e220a0806e1e1b2923ed15d81 Mon Sep 17 00:00:00 2001
From: Vladimir Martyanov <vilgeforce@gmail.com>
Date: Sat, 16 Mar 2019 22:23:15 +0300
Subject: [PATCH] Unused variable text_vma in windows_make_so removed
---
gdb/windows-nat.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 5caaa3b565..572457f0b3 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));
--
2.16.2.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][PR gdb/24350] Remove unused variable from windows_make_so
2019-03-17 9:51 [PATCH][PR gdb/24350] Remove unused variable from windows_make_so Владимир Мартьянов
@ 2019-03-17 18:50 ` Simon Marchi
0 siblings, 0 replies; 2+ messages in thread
From: Simon Marchi @ 2019-03-17 18:50 UTC (permalink / raw)
To: Владимир
Мартьянов
Cc: gdb-patches
On 2019-03-17 05:51, ÐÐ»Ð°Ð´Ð¸Ð¼Ð¸Ñ ÐаÑÑÑÑнов wrote:
> 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): Unused text_vma variable
> removed
>
> Changelog and patch file attached
Thanks, I pushed it.
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-17 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-17 9:51 [PATCH][PR gdb/24350] Remove unused variable from windows_make_so Владимир Мартьянов
2019-03-17 18:50 ` Simon Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).