diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-28 23:21:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-28 23:21:43 +0000 |
commit | 2e94c4530460ddbbe83590c7ea01e1128e36c126 (patch) | |
tree | 48ec9fb48125092aa4b159dc61ab1926742e7695 /gdb/cli | |
parent | 93d56215df715181dba7f5275de9863f28a6c941 (diff) | |
download | gdb-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.c | 2 |
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"); |