diff options
author | Joel Brobecker <brobecker@adacore.com> | 2018-11-01 15:08:57 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2018-11-01 15:08:57 -0700 |
commit | 8b578f9c7626f57f5adb9e4a52f5b0d6c8f6e0a0 (patch) | |
tree | 9903889f0de0ae6e9aa667b17449cb3438d6f5c4 | |
parent | 87f7ab7b84c5c423f11e8ad0ebefd69e9d08c401 (diff) | |
download | gdb-8b578f9c7626f57f5adb9e4a52f5b0d6c8f6e0a0.zip gdb-8b578f9c7626f57f5adb9e4a52f5b0d6c8f6e0a0.tar.gz gdb-8b578f9c7626f57f5adb9e4a52f5b0d6c8f6e0a0.tar.bz2 |
remove trailing spaces in print-utils.c ("int_string" function)
gdb/ChangeLog:
* print-utils.c (int_string): Remove unnecessary trailing spaces.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/common/print-utils.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f220d9..d7cd56e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2018-11-01 Joel Brobecker <brobecker@adacore.com> + * print-utils.c (int_string): Remove unnecessary trailing spaces. + +2018-11-01 Joel Brobecker <brobecker@adacore.com> + * rs6000-tdep.c (skip_prologue): Fix potential negative left shifting. diff --git a/gdb/common/print-utils.c b/gdb/common/print-utils.c index 7eccec7..a0cb6e5 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. */ |