PR24427, bfd/doc/chew.c reads uninitialized memory and subtracts from function pointer
[deliverable/binutils-gdb.git] / gdb / valprint.h
index 16f53f0e7126cac0cd28eccc9c199c873daff81b..db99b52b2addb70361794ca900bde64c5f9043b2 100644 (file)
@@ -1,6 +1,6 @@
 /* Declarations for value printing routines for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2018 Free Software Foundation, Inc.
+   Copyright (C) 1986-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -150,7 +150,8 @@ extern void print_function_pointer_address (const struct value_print_options *op
 
 extern int read_string (CORE_ADDR addr, int len, int width,
                        unsigned int fetchlimit,
-                       enum bfd_endian byte_order, gdb_byte **buffer,
+                       enum bfd_endian byte_order,
+                       gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
                        int *bytes_read);
 
 extern void val_print_optimized_out (const struct value *val,
This page took 0.027102 seconds and 4 git commands to generate.