X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fprintcmd.c;h=f434f5f70ab4810c0cf2eac7b86ca73bdca92470;hb=77a179e77b38161e461f5e37512f0b3fc3582181;hp=23de57cb2137b3ea87d0da603259b6be4e68064a;hpb=02030646c2a799614d31e52008403d8be067ac5d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 23de57cb21..f434f5f70a 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -322,7 +322,6 @@ print_formatted (struct value *val, int size, /* User specified format, so don't look to the type to tell us what to do. */ val_print_scalar_formatted (type, - value_contents_for_printing (val), value_embedded_offset (val), val, options, size, stream); @@ -1780,7 +1779,7 @@ display_command (char *arg, int from_tty) newobj = new display (); newobj->exp_string = xstrdup (exp); - newobj->exp = gdb::move (expr); + newobj->exp = std::move (expr); newobj->block = innermost_block; newobj->pspace = current_program_space; newobj->number = ++display_number;