aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAli Tamur <tamur@google.com>2019-09-30 13:34:44 -0700
committerAli Tamur <tamur@google.com>2019-09-30 14:00:52 -0700
commit5f48f8f3c34c8036ffa3acaad4b9b72058b904cf (patch)
treec19948d99f4d05440007524c6c0bd6ac0238d76f /gdb
parent6fb08628e0f894f01e3e4834d5262629ca8f1920 (diff)
downloadgdb-5f48f8f3c34c8036ffa3acaad4b9b72058b904cf.zip
gdb-5f48f8f3c34c8036ffa3acaad4b9b72058b904cf.tar.gz
gdb-5f48f8f3c34c8036ffa3acaad4b9b72058b904cf.tar.bz2
Remove extra whitespaces at the end of lines.
gdb/ChangeLog: * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL. (process_full_type_unit): Likewise. (dump_die_shallow): Likewise. (cu_debug_loc_section): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/dwarf2read.c10
2 files changed, 12 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3a5dff1..a096cae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2019-09-30 Ali Tamur <tamur@google.com>
+
+ * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL.
+ (process_full_type_unit): Likewise.
+ (dump_die_shallow): Likewise.
+ (cu_debug_loc_section): Likewise.
+
2019-09-28 Christian Biesinger <cbiesinger@google.com>
* minsyms.c (compare_minimal_symbols): Rename to...
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 1052501..0f4f366 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -10377,7 +10377,7 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu,
if (cu->language == language_go)
fixup_go_packaging (cu);
- /* Now that we have processed all the DIEs in the CU, all the types
+ /* Now that we have processed all the DIEs in the CU, all the types
should be complete, and it should now be safe to compute all of the
physnames. */
compute_delayed_physnames (cu);
@@ -10426,7 +10426,7 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu,
Still one can confuse GDB by using non-standard GCC compilation
options - this waits on GCC PR other/32998 (-frecord-gcc-switches).
- */
+ */
if (cu->has_loclist && gcc_4_minor >= 5)
cust->locations_valid = 1;
@@ -10481,7 +10481,7 @@ process_full_type_unit (struct dwarf2_per_cu_data *per_cu,
if (cu->language == language_go)
fixup_go_packaging (cu);
- /* Now that we have processed all the DIEs in the CU, all the types
+ /* Now that we have processed all the DIEs in the CU, all the types
should be complete, and it should now be safe to compute all of the
physnames. */
compute_delayed_physnames (cu);
@@ -23062,7 +23062,7 @@ dump_die_shallow (struct ui_file *f, int indent, struct die_info *die)
case DW_FORM_indirect:
/* The reader will have reduced the indirect form to
the "base form" so this form should not occur. */
- fprintf_unfiltered (f,
+ fprintf_unfiltered (f,
"unexpected attribute form: DW_FORM_indirect");
break;
case DW_FORM_implicit_const:
@@ -25163,7 +25163,7 @@ cu_debug_loc_section (struct dwarf2_cu *cu)
if (cu->dwo_unit)
{
struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections;
-
+
return cu->header.version >= 5 ? &sections->loclists : &sections->loc;
}
return (cu->header.version >= 5 ? &dwarf2_per_objfile->loclists