| OLD | NEW |
| 1 /* Print and select stack frames for GDB, the GNU debugger. | 1 /* Print and select stack frames for GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright (C) 1986-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2005, 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "gdb_string.h" | 52 #include "gdb_string.h" |
| 53 | 53 |
| 54 #include "psymtab.h" | 54 #include "psymtab.h" |
| 55 #include "symfile.h" | 55 #include "symfile.h" |
| 56 | 56 |
| 57 void (*deprecated_selected_frame_level_changed_hook) (int); | 57 void (*deprecated_selected_frame_level_changed_hook) (int); |
| 58 | 58 |
| 59 /* The possible choices of "set print frame-arguments", and the value | 59 /* The possible choices of "set print frame-arguments", and the value |
| 60 of this setting. */ | 60 of this setting. */ |
| 61 | 61 |
| 62 static const char *print_frame_arguments_choices[] = | 62 static const char *const print_frame_arguments_choices[] = |
| 63 {"all", "scalars", "none", NULL}; | 63 {"all", "scalars", "none", NULL}; |
| 64 static const char *print_frame_arguments = "scalars"; | 64 static const char *print_frame_arguments = "scalars"; |
| 65 | 65 |
| 66 /* The possible choices of "set print entry-values", and the value | 66 /* The possible choices of "set print entry-values", and the value |
| 67 of this setting. */ | 67 of this setting. */ |
| 68 | 68 |
| 69 const char print_entry_values_no[] = "no"; | 69 const char print_entry_values_no[] = "no"; |
| 70 const char print_entry_values_only[] = "only"; | 70 const char print_entry_values_only[] = "only"; |
| 71 const char print_entry_values_preferred[] = "preferred"; | 71 const char print_entry_values_preferred[] = "preferred"; |
| 72 const char print_entry_values_if_needed[] = "if-needed"; | 72 const char print_entry_values_if_needed[] = "if-needed"; |
| 73 const char print_entry_values_both[] = "both"; | 73 const char print_entry_values_both[] = "both"; |
| 74 const char print_entry_values_compact[] = "compact"; | 74 const char print_entry_values_compact[] = "compact"; |
| 75 const char print_entry_values_default[] = "default"; | 75 const char print_entry_values_default[] = "default"; |
| 76 static const char *print_entry_values_choices[] = | 76 static const char *const print_entry_values_choices[] = |
| 77 { | 77 { |
| 78 print_entry_values_no, | 78 print_entry_values_no, |
| 79 print_entry_values_only, | 79 print_entry_values_only, |
| 80 print_entry_values_preferred, | 80 print_entry_values_preferred, |
| 81 print_entry_values_if_needed, | 81 print_entry_values_if_needed, |
| 82 print_entry_values_both, | 82 print_entry_values_both, |
| 83 print_entry_values_compact, | 83 print_entry_values_compact, |
| 84 print_entry_values_default, | 84 print_entry_values_default, |
| 85 NULL | 85 NULL |
| 86 }; | 86 }; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 } | 200 } |
| 201 | 201 |
| 202 /* Print single argument of inferior function. ARG must be already | 202 /* Print single argument of inferior function. ARG must be already |
| 203 read in. | 203 read in. |
| 204 | 204 |
| 205 Errors are printed as if they would be the parameter value. Use zeroed ARG | 205 Errors are printed as if they would be the parameter value. Use zeroed ARG |
| 206 iff it should not be printed accoring to user settings. */ | 206 iff it should not be printed accoring to user settings. */ |
| 207 | 207 |
| 208 static void | 208 static void |
| 209 print_frame_arg (const struct frame_arg *arg) | 209 print_frame_arg (const struct frame_arg *arg) |
error: old chunk mismatch |
None
| OLD | NEW |