public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] GDB: Remove trailing spaces in tui-disasm.c
@ 2020-01-06 13:45 Pedro Alves
0 siblings, 0 replies; only message in thread
From: Pedro Alves @ 2020-01-06 13:45 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a61b4f6997cefbf28df45d5e1fa40663f0679ba8
commit a61b4f6997cefbf28df45d5e1fa40663f0679ba8
Author: Shahab Vahedi <shahab@synopsys.com>
Date: Mon Jan 6 13:54:18 2020 +0100
GDB: Remove trailing spaces in tui-disasm.c
A few trailing spaces are removed.
gdb/ChangeLog:
2020-01-06 Shahab Vahedi <shahab@synopsys.com>
* tui/tui-disasm.c: Remove trailing spaces.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/tui/tui-disasm.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22acbc0..8101a6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-01-06 Shahab Vahedi <shahab@synopsys.com>
+
+ * tui/tui-disasm.c: Remove trailing spaces.
+
2020-01-06 Eli Zaretskii <eliz@gnu.org>
Pedro Alves <palves@redhat.com>
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c
index c72b507..ebd0ba3 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-06 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 13:45 [binutils-gdb] GDB: Remove trailing spaces in tui-disasm.c Pedro Alves
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).