mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-21 17:26:55 +08:00
Add two simple Modula-2 operations
This adds a couple of simple Modula-2 operations. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): No longer static. * m2-exp.h: New file.
This commit is contained in:
@ -28,10 +28,11 @@
|
||||
#include "c-lang.h"
|
||||
#include "valprint.h"
|
||||
#include "gdbarch.h"
|
||||
#include "m2-exp.h"
|
||||
|
||||
/* A helper function for UNOP_HIGH. */
|
||||
|
||||
static struct value *
|
||||
struct value *
|
||||
eval_op_m2_high (struct type *expect_type, struct expression *exp,
|
||||
enum noside noside,
|
||||
struct value *arg1)
|
||||
@ -62,7 +63,7 @@ eval_op_m2_high (struct type *expect_type, struct expression *exp,
|
||||
|
||||
/* A helper function for BINOP_SUBSCRIPT. */
|
||||
|
||||
static struct value *
|
||||
struct value *
|
||||
eval_op_m2_subscript (struct type *expect_type, struct expression *exp,
|
||||
enum noside noside,
|
||||
struct value *arg1, struct value *arg2)
|
||||
|
Reference in New Issue
Block a user