| OLD | NEW |
| 1 /* Evaluate expressions for GDB. | 1 /* Evaluate expressions for GDB. |
| 2 | 2 |
| 3 Copyright (C) 1986-2003, 2005-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2003, 2005-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 23 matching lines...) Expand all Loading... |
| 34 #include "parser-defs.h" | 34 #include "parser-defs.h" |
| 35 #include "cp-support.h" | 35 #include "cp-support.h" |
| 36 #include "ui-out.h" | 36 #include "ui-out.h" |
| 37 #include "exceptions.h" | 37 #include "exceptions.h" |
| 38 #include "regcache.h" | 38 #include "regcache.h" |
| 39 #include "user-regs.h" | 39 #include "user-regs.h" |
| 40 #include "valprint.h" | 40 #include "valprint.h" |
| 41 #include "gdb_obstack.h" | 41 #include "gdb_obstack.h" |
| 42 #include "objfiles.h" | 42 #include "objfiles.h" |
| 43 #include "python/python.h" | 43 #include "python/python.h" |
| 44 #include "wrapper.h" | |
| 45 | 44 |
| 46 #include "gdb_assert.h" | 45 #include "gdb_assert.h" |
| 47 | 46 |
| 48 #include <ctype.h> | 47 #include <ctype.h> |
| 49 | 48 |
| 50 /* This is defined in valops.c */ | 49 /* This is defined in valops.c */ |
| 51 extern int overload_resolution; | 50 extern int overload_resolution; |
| 52 | 51 |
| 53 /* Prototypes for local functions. */ | 52 /* Prototypes for local functions. */ |
| 54 | 53 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 make_cleanup (free_current_contents, &expr); | 115 make_cleanup (free_current_contents, &expr); |
| 117 | 116 |
| 118 val = evaluate_expression (expr); | 117 val = evaluate_expression (expr); |
| 119 do_cleanups (old_chain); | 118 do_cleanups (old_chain); |
| 120 return val; | 119 return val; |
| 121 } | 120 } |
| 122 | 121 |
| 123 /* Parse up to a comma (or to a closeparen) | 122 /* Parse up to a comma (or to a closeparen) |
| 124 in the string EXPP as an expression, evaluate it, and return the value. | 123 in the string EXPP as an expression, evaluate it, and return the value. |
| 125 EXPP is advanced to point to the comma. */ | 124 EXPP is advanced to point to the comma. */ |
error: old chunk mismatch |
None
| OLD | NEW |