Joel Brobecker
2018-11-01 22:10:21 UTC
Hello,
A trivial formatting nit that I happened to notice while reading
this part of the code...
gdb/ChangeLog:
* print-utils.c (int_string): Remove unnecessary trailing spaces.
Tested by rebuilding GDB. Pushed to master.
Thanks,
--
Joel
---
gdb/ChangeLog | 4 ++++
gdb/common/print-utils.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f220d99bb9..d7cd56e88d4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-11-01 Joel Brobecker <***@adacore.com>
+
+ * print-utils.c (int_string): Remove unnecessary trailing spaces.
+
2018-11-01 Joel Brobecker <***@adacore.com>
* rs6000-tdep.c (skip_prologue): Fix potential negative left
diff --git a/gdb/common/print-utils.c b/gdb/common/print-utils.c
index 7eccec7949b..a0cb6e5b0f1 100644
--- a/gdb/common/print-utils.c
+++ b/gdb/common/print-utils.c
@@ -250,10 +250,10 @@ hex_string_custom: insufficient space to store result"));
/* See print-utils.h. */
char *
-int_string (LONGEST val, int radix, int is_signed, int width,
+int_string (LONGEST val, int radix, int is_signed, int width,
int use_c_format)
{
- switch (radix)
+ switch (radix)
{
case 16:
{
@@ -287,7 +287,7 @@ int_string (LONGEST val, int radix, int is_signed, int width,
internal_error (__FILE__, __LINE__,
_("failed internal consistency check"));
}
-}
+}
/* See print-utils.h. */
A trivial formatting nit that I happened to notice while reading
this part of the code...
gdb/ChangeLog:
* print-utils.c (int_string): Remove unnecessary trailing spaces.
Tested by rebuilding GDB. Pushed to master.
Thanks,
--
Joel
---
gdb/ChangeLog | 4 ++++
gdb/common/print-utils.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f220d99bb9..d7cd56e88d4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-11-01 Joel Brobecker <***@adacore.com>
+
+ * print-utils.c (int_string): Remove unnecessary trailing spaces.
+
2018-11-01 Joel Brobecker <***@adacore.com>
* rs6000-tdep.c (skip_prologue): Fix potential negative left
diff --git a/gdb/common/print-utils.c b/gdb/common/print-utils.c
index 7eccec7949b..a0cb6e5b0f1 100644
--- a/gdb/common/print-utils.c
+++ b/gdb/common/print-utils.c
@@ -250,10 +250,10 @@ hex_string_custom: insufficient space to store result"));
/* See print-utils.h. */
char *
-int_string (LONGEST val, int radix, int is_signed, int width,
+int_string (LONGEST val, int radix, int is_signed, int width,
int use_c_format)
{
- switch (radix)
+ switch (radix)
{
case 16:
{
@@ -287,7 +287,7 @@ int_string (LONGEST val, int radix, int is_signed, int width,
internal_error (__FILE__, __LINE__,
_("failed internal consistency check"));
}
-}
+}
/* See print-utils.h. */
--
2.17.1
2.17.1