From: George Barrett <bob@bob131.so>
To: gdb-patches@sourceware.org
Cc: George Barrett <bob@bob131.so>
Subject: [PATCH v3 3/3] guile/scm-math: indentation fixes
Date: Fri, 30 Jul 2021 01:12:35 +1000 [thread overview]
Message-ID: <o5_x_-r3kn&uqwk9rn2j9&rbot2h9mg4/7qtfup/a9nm9/3o54o3@mail.bob131.so> (raw)
In-Reply-To: <6-nou03zjdt7znv7en-rj/.p1fg6ovruu-op5_qcpmqs&zn3c/5n@mail.bob131.so>
Changes the indenting of a few expressions in
vlscm_convert_typed_number to be better in line with the prevailing
code style.
gdb/ChangeLog:
2021-07-30 George Barrett <bob@bob131.so>
* guile/scm-math.c (vlscm_convert_typed_number): Fix the
indentation of calls to gdbscm_make_out_of_range_error.
---
gdb/guile/scm-math.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index 173b822d2f9..2258bc498c1 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -532,9 +532,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
if (!scm_is_unsigned_integer (obj, 0, max))
{
*except_scmp
- = gdbscm_make_out_of_range_error (func_name,
- obj_arg_pos, obj,
- _("value out of range for type"));
+ = gdbscm_make_out_of_range_error
+ (func_name, obj_arg_pos, obj,
+ _("value out of range for type"));
return NULL;
}
return value_from_longest (type, gdbscm_scm_to_ulongest (obj));
@@ -547,9 +547,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
if (!scm_is_signed_integer (obj, min, max))
{
*except_scmp
- = gdbscm_make_out_of_range_error (func_name,
- obj_arg_pos, obj,
- _("value out of range for type"));
+ = gdbscm_make_out_of_range_error
+ (func_name, obj_arg_pos, obj,
+ _("value out of range for type"));
return NULL;
}
return value_from_longest (type, gdbscm_scm_to_longest (obj));
@@ -561,9 +561,9 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
if (!scm_is_unsigned_integer (obj, 0, max))
{
*except_scmp
- = gdbscm_make_out_of_range_error (func_name,
- obj_arg_pos, obj,
- _("value out of range for type"));
+ = gdbscm_make_out_of_range_error
+ (func_name, obj_arg_pos, obj,
+ _("value out of range for type"));
return NULL;
}
return value_from_pointer (type, gdbscm_scm_to_ulongest (obj));
--
2.31.1
next prev parent reply other threads:[~2021-07-29 15:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-29 15:12 [PATCH v3 1/3] gdbtypes: return value from get_unsigned_type_max George Barrett
2021-07-29 15:12 ` [PATCH v3 2/3] guile: fix make-value with pointer type George Barrett
2021-07-29 16:55 ` Simon Marchi
2021-07-29 15:12 ` George Barrett [this message]
2021-07-29 16:53 ` [PATCH v3 1/3] gdbtypes: return value from get_unsigned_type_max Simon Marchi
2021-07-29 17:01 ` George Barrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='o5_x_-r3kn&uqwk9rn2j9&rbot2h9mg4/7qtfup/a9nm9/3o54o3@mail.bob131.so' \
--to=bob@bob131.so \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).