X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmemattr.c;h=5b52f8505721922ab935ea934912e22858d87de0;hb=9e2f0ad4e0a4cd818c7f9a23277948732a96192d;hp=0b599d4b1b804be3fb61fa763a6419dbdcc633aa;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/memattr.c b/gdb/memattr.c index 0b599d4b1b..5b52f85057 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -1,6 +1,6 @@ /* Memory attributes support, for GDB. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GDB. @@ -65,7 +65,7 @@ static int target_mem_regions_valid; /* If this flag is set, gdb will assume that memory ranges not specified by the memory map have type MEM_NONE, and will emit errors on all accesses to that memory. */ -static int inaccessible_by_default = 0; +static int inaccessible_by_default = 1; static void show_inaccessible_by_default (struct ui_file *file, int from_tty, @@ -690,7 +690,7 @@ mem_delete_command (char *args, int from_tty) if (p == 0) { - if (query ("Delete all memory regions? ")) + if (query (_("Delete all memory regions? "))) mem_clear (); dont_repeat (); return;