mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
gdb: fix some indentation issues
I wrote a small script to spot a pattern of indentation mistakes I saw happened in breakpoint.c. And while at it I ran it on all files and fixed what I found. No behavior changes intended, just indentation and addition / removal of curly braces. gdb/ChangeLog: * Fix some indentation mistakes throughout. gdbserver/ChangeLog: * Fix some indentation mistakes throughout. Change-Id: Ia01990c26c38e83a243d8f33da1d494f16315c6e
This commit is contained in:
12
gdb/stack.c
12
gdb/stack.c
@ -1005,11 +1005,11 @@ print_pc (struct ui_out *uiout, struct gdbarch *gdbarch, frame_info *frame,
|
||||
|
||||
std::string flags = gdbarch_get_pc_address_flags (gdbarch, frame, pc);
|
||||
if (!flags.empty ())
|
||||
{
|
||||
uiout->text (" [");
|
||||
uiout->field_string ("addr_flags", flags);
|
||||
uiout->text ("]");
|
||||
}
|
||||
{
|
||||
uiout->text (" [");
|
||||
uiout->field_string ("addr_flags", flags);
|
||||
uiout->text ("]");
|
||||
}
|
||||
}
|
||||
|
||||
/* See stack.h. */
|
||||
@ -1927,7 +1927,7 @@ public:
|
||||
struct frame_info *fid;
|
||||
|
||||
if (args == NULL)
|
||||
error (_("Missing address argument to view a frame"));
|
||||
error (_("Missing address argument to view a frame"));
|
||||
|
||||
gdb_argv argv (args);
|
||||
|
||||
|
Reference in New Issue
Block a user