aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-05 15:39:57 -0600
committerTom Tromey <tom@tromey.com>2018-05-04 22:04:46 -0600
commit0019cd49ca954c03737cef3a8ee60c233d081d35 (patch)
tree612b7602f3323879cd2252c48268e71cbcb583e4 /gdb/stabsread.c
parent565e0edacc48c86adfb12515ed6911c08c1f64d9 (diff)
downloadgdb-0019cd49ca954c03737cef3a8ee60c233d081d35.zip
gdb-0019cd49ca954c03737cef3a8ee60c233d081d35.tar.gz
gdb-0019cd49ca954c03737cef3a8ee60c233d081d35.tar.bz2
Add a fall-through comment to stabsread.c
This adds a fall-through comment to stabsread.c. I skimmed the stabs manual a bit and it seems that 'p' and 'P' are similar enough that this makes sense. Also, stabs is mostly deprecated, and the code has been this way for a long time, so it seemed safest to keep the status quo. ChangeLog 2018-05-04 Tom Tromey <tom@tromey.com> * stabsread.c (define_symbol) <case 'p'>: Add fall-through comment.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 8d39290..a56702a 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1100,6 +1100,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type,
}
break;
}
+ /* Fall through. */
case 'P':
/* acc seems to use P to declare the prototypes of functions that