aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-04 13:57:55 -0600
committerTom Tromey <tromey@adacore.com>2023-08-04 13:58:51 -0600
commit9c808ba1a9ca9aa44a6bba2f1b9fe1e85b57de2d (patch)
treefe81c92a207b1d10ba83d60453a8ba4846f28909 /gdb/gdbtypes.c
parent0ecf4403168bb53c6ce729b1f042610f82043d45 (diff)
downloadgdb-9c808ba1a9ca9aa44a6bba2f1b9fe1e85b57de2d.zip
gdb-9c808ba1a9ca9aa44a6bba2f1b9fe1e85b57de2d.tar.gz
gdb-9c808ba1a9ca9aa44a6bba2f1b9fe1e85b57de2d.tar.bz2
Reindent recursive_dump_type
I noticed that a 'switch' in recursive_dump_type was incorrect indented. This patch fixes the problem. Tested by rebuilding.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index c527297..d7db7be 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -5391,44 +5391,44 @@ recursive_dump_type (struct type *type, int spaces)
switch (TYPE_SPECIFIC_FIELD (type))
{
- case TYPE_SPECIFIC_CPLUS_STUFF:
- gdb_printf ("%*scplus_stuff %s\n", spaces, "",
- host_address_to_string (TYPE_CPLUS_SPECIFIC (type)));
- print_cplus_stuff (type, spaces);
- break;
+ case TYPE_SPECIFIC_CPLUS_STUFF:
+ gdb_printf ("%*scplus_stuff %s\n", spaces, "",
+ host_address_to_string (TYPE_CPLUS_SPECIFIC (type)));
+ print_cplus_stuff (type, spaces);
+ break;
- case TYPE_SPECIFIC_GNAT_STUFF:
- gdb_printf ("%*sgnat_stuff %s\n", spaces, "",
- host_address_to_string (TYPE_GNAT_SPECIFIC (type)));
- print_gnat_stuff (type, spaces);
- break;
+ case TYPE_SPECIFIC_GNAT_STUFF:
+ gdb_printf ("%*sgnat_stuff %s\n", spaces, "",
+ host_address_to_string (TYPE_GNAT_SPECIFIC (type)));
+ print_gnat_stuff (type, spaces);
+ break;
- case TYPE_SPECIFIC_FLOATFORMAT:
- gdb_printf ("%*sfloatformat ", spaces, "");
- if (TYPE_FLOATFORMAT (type) == NULL
- || TYPE_FLOATFORMAT (type)->name == NULL)
- gdb_puts ("(null)");
- else
- gdb_puts (TYPE_FLOATFORMAT (type)->name);
- gdb_puts ("\n");
- break;
+ case TYPE_SPECIFIC_FLOATFORMAT:
+ gdb_printf ("%*sfloatformat ", spaces, "");
+ if (TYPE_FLOATFORMAT (type) == NULL
+ || TYPE_FLOATFORMAT (type)->name == NULL)
+ gdb_puts ("(null)");
+ else
+ gdb_puts (TYPE_FLOATFORMAT (type)->name);
+ gdb_puts ("\n");
+ break;
- case TYPE_SPECIFIC_FUNC:
- gdb_printf ("%*scalling_convention %d\n", spaces, "",
- TYPE_CALLING_CONVENTION (type));
- /* tail_call_list is not printed. */
- break;
+ case TYPE_SPECIFIC_FUNC:
+ gdb_printf ("%*scalling_convention %d\n", spaces, "",
+ TYPE_CALLING_CONVENTION (type));
+ /* tail_call_list is not printed. */
+ break;
- case TYPE_SPECIFIC_SELF_TYPE:
- gdb_printf ("%*sself_type %s\n", spaces, "",
- host_address_to_string (TYPE_SELF_TYPE (type)));
- break;
+ case TYPE_SPECIFIC_SELF_TYPE:
+ gdb_printf ("%*sself_type %s\n", spaces, "",
+ host_address_to_string (TYPE_SELF_TYPE (type)));
+ break;
- case TYPE_SPECIFIC_FIXED_POINT:
- gdb_printf ("%*sfixed_point_info ", spaces, "");
- print_fixed_point_type_info (type, spaces);
- gdb_puts ("\n");
- break;
+ case TYPE_SPECIFIC_FIXED_POINT:
+ gdb_printf ("%*sfixed_point_info ", spaces, "");
+ print_fixed_point_type_info (type, spaces);
+ gdb_puts ("\n");
+ break;
case TYPE_SPECIFIC_INT:
if (type->bit_size_differs_p ())