Skip to content

Commit 9c808ba

Browse files
committed
Reindent recursive_dump_type
I noticed that a 'switch' in recursive_dump_type was incorrect indented. This patch fixes the problem. Tested by rebuilding.
1 parent 0ecf440 commit 9c808ba

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

gdb/gdbtypes.c

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5391,44 +5391,44 @@ recursive_dump_type (struct type *type, int spaces)
53915391

53925392
switch (TYPE_SPECIFIC_FIELD (type))
53935393
{
5394-
case TYPE_SPECIFIC_CPLUS_STUFF:
5395-
gdb_printf ("%*scplus_stuff %s\n", spaces, "",
5396-
host_address_to_string (TYPE_CPLUS_SPECIFIC (type)));
5397-
print_cplus_stuff (type, spaces);
5398-
break;
5394+
case TYPE_SPECIFIC_CPLUS_STUFF:
5395+
gdb_printf ("%*scplus_stuff %s\n", spaces, "",
5396+
host_address_to_string (TYPE_CPLUS_SPECIFIC (type)));
5397+
print_cplus_stuff (type, spaces);
5398+
break;
53995399

5400-
case TYPE_SPECIFIC_GNAT_STUFF:
5401-
gdb_printf ("%*sgnat_stuff %s\n", spaces, "",
5402-
host_address_to_string (TYPE_GNAT_SPECIFIC (type)));
5403-
print_gnat_stuff (type, spaces);
5404-
break;
5400+
case TYPE_SPECIFIC_GNAT_STUFF:
5401+
gdb_printf ("%*sgnat_stuff %s\n", spaces, "",
5402+
host_address_to_string (TYPE_GNAT_SPECIFIC (type)));
5403+
print_gnat_stuff (type, spaces);
5404+
break;
54055405

5406-
case TYPE_SPECIFIC_FLOATFORMAT:
5407-
gdb_printf ("%*sfloatformat ", spaces, "");
5408-
if (TYPE_FLOATFORMAT (type) == NULL
5409-
|| TYPE_FLOATFORMAT (type)->name == NULL)
5410-
gdb_puts ("(null)");
5411-
else
5412-
gdb_puts (TYPE_FLOATFORMAT (type)->name);
5413-
gdb_puts ("\n");
5414-
break;
5406+
case TYPE_SPECIFIC_FLOATFORMAT:
5407+
gdb_printf ("%*sfloatformat ", spaces, "");
5408+
if (TYPE_FLOATFORMAT (type) == NULL
5409+
|| TYPE_FLOATFORMAT (type)->name == NULL)
5410+
gdb_puts ("(null)");
5411+
else
5412+
gdb_puts (TYPE_FLOATFORMAT (type)->name);
5413+
gdb_puts ("\n");
5414+
break;
54155415

5416-
case TYPE_SPECIFIC_FUNC:
5417-
gdb_printf ("%*scalling_convention %d\n", spaces, "",
5418-
TYPE_CALLING_CONVENTION (type));
5419-
/* tail_call_list is not printed. */
5420-
break;
5416+
case TYPE_SPECIFIC_FUNC:
5417+
gdb_printf ("%*scalling_convention %d\n", spaces, "",
5418+
TYPE_CALLING_CONVENTION (type));
5419+
/* tail_call_list is not printed. */
5420+
break;
54215421

5422-
case TYPE_SPECIFIC_SELF_TYPE:
5423-
gdb_printf ("%*sself_type %s\n", spaces, "",
5424-
host_address_to_string (TYPE_SELF_TYPE (type)));
5425-
break;
5422+
case TYPE_SPECIFIC_SELF_TYPE:
5423+
gdb_printf ("%*sself_type %s\n", spaces, "",
5424+
host_address_to_string (TYPE_SELF_TYPE (type)));
5425+
break;
54265426

5427-
case TYPE_SPECIFIC_FIXED_POINT:
5428-
gdb_printf ("%*sfixed_point_info ", spaces, "");
5429-
print_fixed_point_type_info (type, spaces);
5430-
gdb_puts ("\n");
5431-
break;
5427+
case TYPE_SPECIFIC_FIXED_POINT:
5428+
gdb_printf ("%*sfixed_point_info ", spaces, "");
5429+
print_fixed_point_type_info (type, spaces);
5430+
gdb_puts ("\n");
5431+
break;
54325432

54335433
case TYPE_SPECIFIC_INT:
54345434
if (type->bit_size_differs_p ())

0 commit comments

Comments
 (0)