[OBVIOUS] Fix reference in comment: SRC_AND_LOC instead of LOC_AND_SRC

Message ID 20180519064704.20010-1-philippe.waroquiers@skynet.be
State New, archived
Headers

Commit Message

Philippe Waroquiers May 19, 2018, 6:47 a.m. UTC
  Pushed as obvious
---
 gdb/ChangeLog | 4 ++++
 gdb/stack.c   | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3c829df12d..4c213aef6a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-05-19  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+	* stack.c (print_frame_info): Fix comment.
+
 2018-05-18  Tom Tromey  <tom@tromey.com>
 
 	* dwarf2read.c (struct dwz_file): Add constructor, initializers.
diff --git a/gdb/stack.c b/gdb/stack.c
index ecf1ee8379..c44423c199 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -777,7 +777,7 @@  do_gdb_disassembly (struct gdbarch *gdbarch,
    
    SRC_LINE: Print only source line.
    LOCATION: Print only location.
-   LOC_AND_SRC: Print location and source line.
+   SRC_AND_LOC: Print location and source line.
 
    Used in "where" output, and to emit breakpoint or step
    messages.  */