aboutsummaryrefslogtreecommitdiff
path: root/gdb/paread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-07-11 07:36:27 +0000
committerFred Fish <fnf@specifix.com>1996-07-11 07:36:27 +0000
commit7f12eb53ca94589c030b562c362b6283f1b002e4 (patch)
treed3810c2fa648a90838bde9605a350c163c6d4346 /gdb/paread.c
parent5db223e45fc7b60e04c4041dca02324a9841f8c7 (diff)
downloadgdb-7f12eb53ca94589c030b562c362b6283f1b002e4.zip
gdb-7f12eb53ca94589c030b562c362b6283f1b002e4.tar.gz
gdb-7f12eb53ca94589c030b562c362b6283f1b002e4.tar.bz2
* detach.c (mmalloc_detach): Fix bug in computation of negative
brk value. * mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument added. Replaced hack that always allowed checking routines to be installed and enforce restriction that they have to be installed prior to allocating any memory on the used heap or the FORCE argument has to be non-NULL. (mmcheck): New function that calls mmcheckf with FORCE set to zero, for backwards compatibility. * mmalloc.c (malloc): Store result in local variable before returning it. Makes debugging much easier at negligible cost. * mmalloc.h (mmcheckf): Declare. * attach.c (reuse): Call mmcheckf rather than mmcheck. * mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap to select a base mapping address if none is otherwise given. (mmalloc_findbase): New function that user can call to find an available mapping address of a given size.
Diffstat (limited to 'gdb/paread.c')
0 files changed, 0 insertions, 0 deletions