Merge branch 'master' into merge-job
[deliverable/binutils-gdb.git] / gdb / value.h
index fdef835f8d749644fc5aca1e85235bb12757edd7..df6d80c2a7051bb3a76c0a5f1595d3be4e0976d5 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions for values of C expressions, for GDB.
 
-   Copyright (C) 1986-2019 Free Software Foundation, Inc.
+   Copyright (C) 1986-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -146,8 +146,8 @@ extern LONGEST value_bitsize (const struct value *);
 extern void set_value_bitsize (struct value *, LONGEST bit);
 
 /* Only used for bitfields; position of start of field.  For
-   gdbarch_bits_big_endian=0 targets, it is the position of the LSB.  For
-   gdbarch_bits_big_endian=1 targets, it is the position of the MSB.  */
+   little-endian targets, it is the position of the LSB.  For
+   big-endian targets, it is the position of the MSB.  */
 
 extern LONGEST value_bitpos (const struct value *);
 extern void set_value_bitpos (struct value *, LONGEST bit);
@@ -1177,7 +1177,7 @@ extern void add_internal_function (const char *name, const char *doc,
 
 /* This overload takes an allocated documentation string.  */
 
-extern void add_internal_function (const char *name,
+extern void add_internal_function (gdb::unique_xmalloc_ptr<char> &&name,
                                   gdb::unique_xmalloc_ptr<char> &&doc,
                                   internal_function_fn handler,
                                   void *cookie);
This page took 0.033515 seconds and 4 git commands to generate.