mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-15 06:58:16 +00:00
* eval.c (parse_and_eval_long): Make 'exp' const.
* value.h (parse_and_eval_long): Update.
This commit is contained in:
parent
23b3a2c3d1
commit
a1b8c4cc7e
@ -1,3 +1,8 @@
|
||||
2013-05-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* eval.c (parse_and_eval_long): Make 'exp' const.
|
||||
* value.h (parse_and_eval_long): Update.
|
||||
|
||||
2013-05-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* ui-file.c (gdb_fopen): Make arguments const.
|
||||
|
@ -91,7 +91,7 @@ parse_and_eval_address (const char *exp)
|
||||
/* Like parse_and_eval_address, but treats the value of the expression
|
||||
as an integer, not an address, returns a LONGEST, not a CORE_ADDR. */
|
||||
LONGEST
|
||||
parse_and_eval_long (char *exp)
|
||||
parse_and_eval_long (const char *exp)
|
||||
{
|
||||
struct expression *expr = parse_expression (exp);
|
||||
LONGEST retval;
|
||||
|
@ -732,7 +732,7 @@ extern struct type *parse_and_eval_type (char *p, int length);
|
||||
|
||||
extern CORE_ADDR parse_and_eval_address (const char *exp);
|
||||
|
||||
extern LONGEST parse_and_eval_long (char *exp);
|
||||
extern LONGEST parse_and_eval_long (const char *exp);
|
||||
|
||||
extern void unop_promote (const struct language_defn *language,
|
||||
struct gdbarch *gdbarch,
|
||||
|
Loading…
x
Reference in New Issue
Block a user