aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-28 23:21:43 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-28 23:21:43 +0000
commit2e94c4530460ddbbe83590c7ea01e1128e36c126 (patch)
tree48ec9fb48125092aa4b159dc61ab1926742e7695 /gdb/cli
parent93d56215df715181dba7f5275de9863f28a6c941 (diff)
downloadgdb-2e94c4530460ddbbe83590c7ea01e1128e36c126.zip
gdb-2e94c4530460ddbbe83590c7ea01e1128e36c126.tar.gz
gdb-2e94c4530460ddbbe83590c7ea01e1128e36c126.tar.bz2
* config/pa/xm-hppah.h (malloc): Really delete declaration
(MALLOC_INCOMPATIBLE): Really delete macro. * cli/cli-cmds.c (apropos_command): Use xcalloc.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 41001e9..c1c5f7b 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -542,7 +542,7 @@ apropos_command (char *searchstr, int from_tty)
regex_t pattern;
char *pattern_fastmap;
char errorbuffer[512];
- pattern_fastmap=calloc(256,sizeof(char));
+ pattern_fastmap = xcalloc (256, sizeof (char));
if (searchstr == NULL)
error("REGEXP string is empty");