* [PATCH] GDB: Remove trailing spaces in tui-disasm.c
@ 2020-01-06 12:54 Shahab Vahedi
2020-01-06 13:04 ` Pedro Alves
0 siblings, 1 reply; 4+ messages in thread
From: Shahab Vahedi @ 2020-01-06 12:54 UTC (permalink / raw)
To: gdb-patches
Cc: Shahab Vahedi, Shahab Vahedi, Pedro Alves, Andrew Burgess,
Claudiu Zissulescu, Francois Bedard
From: Shahab Vahedi <shahab@synopsys.com>
A few trailing spaces are removed.
gdb/ChangeLog:
2020-01-04 Shahab Vahedi <shahab@synopsys.com>
* tui/tui-disasm.c: Remove trailing spaces.
---
gdb/tui/tui-disasm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c
index c72b50730b0..ebd0ba317f5 100644
--- a/gdb/tui/tui-disasm.c
+++ b/gdb/tui/tui-disasm.c
@@ -43,7 +43,7 @@
#include "gdb_curses.h"
-struct tui_asm_line
+struct tui_asm_line
{
CORE_ADDR addr;
std::string addr_string;
@@ -150,7 +150,7 @@ tui_find_disassembly_address (struct gdbarch *gdbarch, CORE_ADDR pc, int from)
CORE_ADDR last_addr;
int pos;
struct bound_minimal_symbol msymbol;
-
+
/* Find backward an address which is a symbol and for which
disassembling from that address will fill completely the
window. */
@@ -176,7 +176,7 @@ tui_find_disassembly_address (struct gdbarch *gdbarch, CORE_ADDR pc, int from)
do
{
CORE_ADDR next_addr;
-
+
pos++;
if (pos >= max_lines)
pos = 0;
--
2.24.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] GDB: Remove trailing spaces in tui-disasm.c
2020-01-06 12:54 [PATCH] GDB: Remove trailing spaces in tui-disasm.c Shahab Vahedi
@ 2020-01-06 13:04 ` Pedro Alves
2020-01-06 13:07 ` Shahab Vahedi
0 siblings, 1 reply; 4+ messages in thread
From: Pedro Alves @ 2020-01-06 13:04 UTC (permalink / raw)
To: Shahab Vahedi, gdb-patches
Cc: Shahab Vahedi, Andrew Burgess, Claudiu Zissulescu, Francois Bedard
OK.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] GDB: Remove trailing spaces in tui-disasm.c
2020-01-06 13:04 ` Pedro Alves
@ 2020-01-06 13:07 ` Shahab Vahedi
2020-01-06 13:56 ` Pedro Alves
0 siblings, 1 reply; 4+ messages in thread
From: Shahab Vahedi @ 2020-01-06 13:07 UTC (permalink / raw)
To: Pedro Alves
Cc: gdb-patches, Shahab Vahedi, Andrew Burgess, Claudiu Zissulescu,
Francois Bedard
On Mon, Jan 06, 2020 at 01:04:24PM +0000, Pedro Alves wrote:
> OK.
Would you apply the patch then? I don't know how to proceed
further from here. Thanks!
>
> Thanks,
> Pedro Alves
>
--
Shahab
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] GDB: Remove trailing spaces in tui-disasm.c
2020-01-06 13:07 ` Shahab Vahedi
@ 2020-01-06 13:56 ` Pedro Alves
0 siblings, 0 replies; 4+ messages in thread
From: Pedro Alves @ 2020-01-06 13:56 UTC (permalink / raw)
To: Shahab Vahedi
Cc: gdb-patches, Shahab Vahedi, Andrew Burgess, Claudiu Zissulescu,
Francois Bedard
On 1/6/20 1:07 PM, Shahab Vahedi wrote:
> On Mon, Jan 06, 2020 at 01:04:24PM +0000, Pedro Alves wrote:
>> OK.
>
> Would you apply the patch then? I don't know how to proceed
> further from here. Thanks!
Applied.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-06 13:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 12:54 [PATCH] GDB: Remove trailing spaces in tui-disasm.c Shahab Vahedi
2020-01-06 13:04 ` Pedro Alves
2020-01-06 13:07 ` Shahab Vahedi
2020-01-06 13:56 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox