This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
mips-tdep.c: Fix some comments
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: gdb-patches at sourceware dot org
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Thu, 17 May 2007 14:28:31 +0100 (BST)
- Subject: mips-tdep.c: Fix some comments
Hello,
2007-05-17 Maciej W. Rozycki <macro@mips.com>
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
comment.
(mips_o64_push_dummy_call): Reformat a comment.
Committed as obvious.
Maciej
Index: gdb/mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.419
diff -u -p -r1.419 mips-tdep.c
--- gdb/mips-tdep.c 16 May 2007 14:16:31 -0000 1.419
+++ gdb/mips-tdep.c 17 May 2007 13:25:25 -0000
@@ -2736,10 +2736,9 @@ mips_n32n64_push_dummy_call (struct gdba
register-sized pieces. Large arguments are split between
registers and stack. */
/* Note: structs whose size is not a multiple of MIPS64_REGSIZE
- mips_abi_regsize() are treated specially: Irix cc passes
- them in registers where gcc sometimes puts them on the
- stack. For maximum compatibility, we will put them in
- both places. */
+ are treated specially: Irix cc passes them in registers
+ where gcc sometimes puts them on the stack. For maximum
+ compatibility, we will put them in both places. */
int odd_sized_struct = (len > MIPS64_REGSIZE
&& len % MIPS64_REGSIZE != 0);
/* Note: Floating-point values that didn't fit into an FP
@@ -3535,10 +3534,9 @@ mips_o64_push_dummy_call (struct gdbarch
register-sized pieces. Large arguments are split between
registers and stack. */
/* Note: structs whose size is not a multiple of MIPS64_REGSIZE
- are treated specially: Irix cc passes
- them in registers where gcc sometimes puts them on the
- stack. For maximum compatibility, we will put them in
- both places. */
+ are treated specially: Irix cc passes them in registers
+ where gcc sometimes puts them on the stack. For maximum
+ compatibility, we will put them in both places. */
int odd_sized_struct = (len > MIPS64_REGSIZE
&& len % MIPS64_REGSIZE != 0);
while (len > 0)