From d5831d12e7fca30c8683eb34900bf5f8526fe128 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 19 Jan 2010 18:19:41 -0500 Subject: - add a format=print if we're doing vaguely-printable text --- gdbmdump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdbmdump.c b/gdbmdump.c index 7a2fc53..afd177a 100644 --- a/gdbmdump.c +++ b/gdbmdump.c @@ -1,5 +1,5 @@ /* - * Copyright 2008 Red Hat, Inc. + * Copyright 2008,2010 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,6 +40,9 @@ dump_start(int total, const char *name) if (total > 1) { printf("database=%s\n", name); } + if (pflag) { + printf("format=print\n"); + } printf("type=hash\n"); printf("HEADER=END\n"); } -- cgit