aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-18 22:40:15 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-18 22:40:15 +0000
commit247055dee09f59697d85a72396eeea2453c55b82 (patch)
tree44337f139e0c17c3e016bce322aafaa56ff194fe /gdb
parent0b7177103b46fd5ea77433e46b3b6617f2ebdebb (diff)
downloadfsf-binutils-gdb-247055dee09f59697d85a72396eeea2453c55b82.zip
fsf-binutils-gdb-247055dee09f59697d85a72396eeea2453c55b82.tar.gz
fsf-binutils-gdb-247055dee09f59697d85a72396eeea2453c55b82.tar.bz2
* blockframe.c: Fix a few coding standard violations.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/blockframe.c16
2 files changed, 12 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6a648bf..b65a6fd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-08-19 Mark Kettenis <kettenis@gnu.org>
+ * blockframe.c: Fix a few coding standard violations.
+
+2002-08-19 Mark Kettenis <kettenis@gnu.org>
+
* config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): Moved
here from ...
* config/i386/tm-i386sco5.h: ... here. File removed.
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index d83586c..bb19b0a 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -809,9 +809,9 @@ find_pc_sect_partial_function (CORE_ADDR pc, asection *section, char **name,
mapped_pc = overlay_mapped_address (pc, section);
- if (mapped_pc >= cache_pc_function_low &&
- mapped_pc < cache_pc_function_high &&
- section == cache_pc_function_section)
+ if (mapped_pc >= cache_pc_function_low
+ && mapped_pc < cache_pc_function_high
+ && section == cache_pc_function_section)
goto return_cached_value;
/* If sigtramp is in the u area, it counts as a function (especially
@@ -917,7 +917,7 @@ find_pc_sect_partial_function (CORE_ADDR pc, asection *section, char **name,
for (i = 1; SYMBOL_NAME (msymbol + i) != NULL; i++)
{
if (SYMBOL_VALUE_ADDRESS (msymbol + i) != SYMBOL_VALUE_ADDRESS (msymbol)
- && SYMBOL_BFD_SECTION (msymbol + i) == SYMBOL_BFD_SECTION (msymbol))
+ && SYMBOL_BFD_SECTION (msymbol + i) == SYMBOL_BFD_SECTION (msymbol))
break;
}
@@ -929,7 +929,7 @@ find_pc_sect_partial_function (CORE_ADDR pc, asection *section, char **name,
So the end address is the end of the section. */
cache_pc_function_high = osect->endaddr;
-return_cached_value:
+ return_cached_value:
if (address)
{
@@ -948,8 +948,8 @@ return_cached_value:
{
/* Because the high address is actually beyond the end of
the function (and therefore possibly beyond the end of
- the overlay), we must actually convert (high - 1)
- and then add one to that. */
+ the overlay), we must actually convert (high - 1) and
+ then add one to that. */
*endaddr = 1 + overlay_unmapped_address (cache_pc_function_high - 1,
section);
@@ -961,7 +961,7 @@ return_cached_value:
return 1;
}
-/* Backward compatibility, no section argument */
+/* Backward compatibility, no section argument. */
int
find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,