X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Futils.h;h=660b548ab54c1dac5d8d721b2cad15dd33506d9b;hb=7c50a93137df660f7b2d9d68c0db748a9cb7868f;hp=15680119f15f0f04ceb69d63043b61431b803754;hpb=fbad6518c1397939ea2d832eea7e53f2147759a8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/utils.h b/gdb/utils.h index 15680119f1..660b548ab5 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -369,4 +369,9 @@ extern void warn_cant_dump_core (const char *reason); extern void dump_core (void); +/* Return the hex string form of LENGTH bytes of DATA. + Space for the result is malloc'd, caller must free. */ + +extern char *make_hex_string (const gdb_byte *data, size_t length); + #endif /* UTILS_H */