aboutsummaryrefslogtreecommitdiff
path: root/libsframe/sframe-dump.c
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-06 10:50:07 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-06 10:50:07 -0700
commitf4af42724b8c968c355796b561434250aa605458 (patch)
treec9ba4cc849c716a0c0e08a978f4ea7043a9c15d2 /libsframe/sframe-dump.c
parentd3f340763bab7c74838ebb481fd7ff93acd9f00c (diff)
downloadgdb-f4af42724b8c968c355796b561434250aa605458.zip
gdb-f4af42724b8c968c355796b561434250aa605458.tar.gz
gdb-f4af42724b8c968c355796b561434250aa605458.tar.bz2
libsframe: fix cosmetic issues and typos
include/ * sframe-api.h (sframe_decoder_get_num_fidx): Use extern. libsframe/ * sframe-dump.c (dump_sframe_func_with_fres): Fix line length. * sframe.c (sframe_frame_row_entry_copy): Likewise. (sframe_decode_fre_start_address): Use the intended type uint32_t.
Diffstat (limited to 'libsframe/sframe-dump.c')
-rw-r--r--libsframe/sframe-dump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsframe/sframe-dump.c b/libsframe/sframe-dump.c
index 77aa87d..6d26639 100644
--- a/libsframe/sframe-dump.c
+++ b/libsframe/sframe-dump.c
@@ -2,7 +2,7 @@
Copyright (C) 2022-2023 Free Software Foundation, Inc.
- his file is part of libsframe.
+ This file is part of libsframe.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -134,7 +134,8 @@ dump_sframe_func_with_fres (sframe_decoder_ctx *sfd_ctx,
char temp[100];
- printf ("\n %-7s%-8s %-10s%-10s%-13s", "STARTPC", fde_type_marker, "CFA", "FP", "RA");
+ printf ("\n %-7s%-8s %-10s%-10s%-13s",
+ "STARTPC", fde_type_marker, "CFA", "FP", "RA");
for (j = 0; j < num_fres; j++)
{
sframe_decoder_get_fre (sfd_ctx, funcidx, j, &fre);