-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
4844 lines (3143 loc) · 148 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-11-27 Graeme Roy <[email protected]>
* src/target.h: Added detection of 64-bit x86 processors.
2008-11-26 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Mentioned using backtrace() from glibc.
2008-11-26 Graeme Roy <[email protected]>
* src/memory.c, src/machine.c, src/machine.h, src/stack.c, src/stack.h,
src/signals.c:
Added support for backtrace() and libunwind.
2008-11-26 Graeme Roy <[email protected]>
* src/config.h:
Added the MP_GLIBCBACKTRACE_SUPPORT feature and made it the default
for 64-bit x86 Linux systems.
2008-11-26 Graeme Roy <[email protected]>
* src/inter.c: Various fixes for checkalloca(). Courtesy of Daniel
Jacobowitz.
2008-11-26 Graeme Roy <[email protected]>
* src/addr.c:
Moved the backup copy of the call stack context to a more appropriate
position within __mp_getaddrs(). Courtesy of Daniel Jacobowitz.
2008-11-25 Graeme Roy <[email protected]>
* THANKS, doc/mpatrol.texi, extra/mpatrol.m4, man/man3/libmpatrol.3,
src/config.h, src/stack.c, src/stack.h, src/inter.c:
Added support for using libunwind for call stack traversal. Turn on
with the macro MP_LIBUNWIND_SUPPORT when building mpatrol. This has
been made the default for ARM and IA64 processors. Courtesy of Daniel
Jacobowitz.
2008-11-25 Graeme Roy <[email protected]>
* src/symbol.c:
Added support for reading external debugging files created by gcc and
now use dl_iterate_phdr() on Linux to read the dynamic linker data
structures rather than _DYNAMIC. Courtesy of Daniel Jacobowitz.
2008-07-17 Graeme Roy <[email protected]>
* doc/mpatrol.texi:
Updated the details on the machines I have access to.
2007-08-14 Graeme Roy <[email protected]>
* build/windows/Makefile.mingw: New Makefile for MinGW on Windows.
* doc/mpatrol.texi: Mentioned MinGW.
* pkg/rpm/mpatrol.spec: Added symbolic links.
* src/config.h, src/inter.c, man/man3/libmpatrol.3, extra/mpatrol.m4,
doc/mpatrol.texi:
Added libintl when using the BFD library.
* src/inter.c: Fixed changes for MingW32.
* src/symbol.c: Fixed problem if LoadedImageName is "" on Windows.
* src/target.h:
Added BFD as supported format for MingW32 and added XP and Vista to
list of Microsoft operating systems, removing support for DOS-based 95,
98 and ME.
2007-08-13 Graeme Roy <[email protected]>
* THANKS:
Removed the email addresses. Revised into just one list. Added
more people to thank.
* doc/mpatrol.texi:
Mentioned that need to use mpatrol's capabilities with system C library
and removed lots of email addresses. Added a link to Robert Schmitt's
tutorial. Mentioned about working with JNI and adding a signal-handler
for debugging daemon processes. Added Valgrind to software links.
* extra/mpatrol.m4: Fixed the call to AC_TRY_LINK.
* src/cplus.c: Updated the name mangling for gcc.
* src/config.h, src/inter.c, src/stack.c, src/target.h:
Added support for MinGW32.
* src/machine.c: Use hard register names for HP/UX.
* src/machine.c, src/target.h: Added preliminary support for ARM.
* src/symbol.c:
Fixed an intermittent bug with the BFD library and symbol reading on
Linux.
* src/sbrk.c, src/symbol.c, src/symbol.h, src/trace.c, src/trace.h,
src/diag.c, src/diag.h, src/heap.h, src/memory.c, src/memory.h:
Changed meminfo structure to memoryinfo to prevent clash on Solaris.
2007-04-26 Graeme Roy <[email protected]>
* all files from DEV_INTERIX branch:
Merged the Interix branch back to mainline.
* doc/texinfo.tex: No longer required
2005-03-10 Graeme Roy <[email protected]>
* THANKS: Credited Greg Chicares.
* doc/mpatrol.texi, doc/refcard.tex, man/man1/mpatrol.1,
man/man3/libmpatrol.3:
Updated CHECKMEMORY to check for zero-length memory operations.
* src/mpatrol.c:
Updated --check-memory to check for zero-length memory operations.
* src/option.c: Updated documentation for CHECKMEMORY.
* src/symbol.c:
Fixed a problem with later BFD libraries and not reading the dynamic
symbol table if a normal symbol table doesn't exist.
2005-03-09 Graeme Roy <[email protected]>
* doc/mpatrol.texi, doc/refcard.tex:
Documented the ZEROPN diagnostic message.
* src/diag.c, src/diag.h, src/mpatrol.h:
Added the ZEROPN diagnostic message.
* src/info.c, src/inter.c:
Added ZEROPN diagnostic in __mp_checkmemory(). Correctly handle
memmem() if search memory is zero-length.
2003-11-27 Graeme Roy <[email protected]>
* config/depcomp: Added automake installation file.
* pkg/auto/cleanup, pkg/auto/setup: Added depcomp.
2003-11-26 Graeme Roy <[email protected]>
* doc/Makefile:
thumbpdf now cleans up a lot of its temporary files by default. No
longer use texi2html.
* doc/README:
Added Adobe Reader information and changed texinfo site. No longer
use texi2html.
* doc/mpatrol.texi:
Removed the explicit page breaks as they are no longer needed.
* man/Makefile:
Use -r for man2html. Simplified the invocation of groff. Simplified
the commands. Explicitly specify page sizes. Now always call tbl
beforehand.
* man/README: Mentioned Adobe Reader.
2003-11-25 Graeme Roy <[email protected]>
* doc/Makefile:
Added font subset writing to pstill invocation. Removed workaround
for bad HTML production by a previous release of makeinfo. Added
support for building a DocBook version of the mpatrol manual.
* doc/README:
Mentioned Texi2html. Added information about the DocBook version
of the mpatrol manual.
* doc/mpatrol.texi:
Added EXAMPLEIMAGES flag. Added the TITLEIMAGES flag. Mentioned
about DocBook format. Simplified macro handling.
* man/Makefile:
Added binary output and font subset writing to pstill options.
2003-11-24 Graeme Roy <[email protected]>
* doc/Makefile:
Remove .tpt files. Added binary output to pstill. Change dvips
option from -Pcmz to -Ppdf.
2002-07-23 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Added examples for the tools.
2002-03-11 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Updated information about MP_ALIGN().
* src/list.c, src/list.h: Added __mp_joinlist().
* src/mpatrol.h: Added a better default for MP_ALIGN().
2002-02-05 Graeme Roy <[email protected]>
* src/diag.c, src/diag.h:
Added __mp_getenv(). Fixed the problem with getenv() in a
multi-threaded Windows process.
* src/option.c: Now use __mp_getenv().
2002-02-04 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Added information about autoconf setup.
* man/man3/libmpatrol.3: Added ldfcn as a reference.
2002-01-08 Graeme Roy <[email protected]>
* THANKS: Credited Peter Zijlstra.
* bin/mpedit: Forgot to update the version number from last change.
* config/configure: Updated to latest configure.in.
* doc/mpatrol.texi:
Added more references. Added information about diagnostics.
* src/mutex.c: Added Tru64 TIS support.
2001-12-18 Graeme Roy <[email protected]>
* src/diag.c:
Added support for logging when not enough information is available.
* src/diag.h:
Added 1 onto the end of the functionnames and lognames arrays.
* src/info.c:
Added calls to __mp_log() before ALLOVF, FRDOVF, FRDCOR and FRECOR
errors. Added logging before NULOPN, FREOPN, FRDOPN, RNGOVF and STROVF
errors.
* src/getopt.c, src/getopt.h: Added __mp_match().
2001-12-11 Graeme Roy <[email protected]>
* src/diag.c, src/diag.h:
Unified all logging functions into __mp_log(). Moved checking of
recursive logging to __mp_log(). Added __mp_lognames.
* src/info.c:
Moved checking of recursive logging to __mp_log().
* src/inter.c:
Added default ltype to the logging information structures.
2001-12-06 Graeme Roy <[email protected]>
* src/diag.c, src/diag.h:
Added the logged flag. Changed some of the logging functions. Removed
parameters from other logging functions.
* src/info.c:
Remove the logging flags. Removed more parameters from the logging
functions.
* src/info.h:
Added the logged flag. Added some variants to loginfo. Added the
logtype enumeration. Added the other logging types.
* src/inter.c: Added the logged flag.
2001-12-05 Graeme Roy <[email protected]>
* THANKS: Documented Gerrit's help.
* doc/mpatrol.texi: New changes documented.
* doc/refcard.tex: Added the --skip and --read-env options.
* man/man1/mpatrol.1: Added the --read-env option.
* man/man1/mpsym.1: Added the --skip option.
* src/target.h: Don't define POSIX_SOURCE for BSD systems.
* src/diag.h:
Removed alloctype from parameters as it is no longer needed.
* src/profile.c:
Now check if there is a problem when writing the profiling file.
* src/trace.c: Added checking when writing the trace file.
* src/info.c:
First set of changes to remove alloctype as an argument. No longer need
the alloctype when logging operations.
* src/info.h:
Added the type field to the loginfo structure. Removed alloctype
parameters as they are no longer needed.
* src/inter.c:
Added the alloctype function details to the loginfo structure. Changes
for removing alloctype.
* src/mpatrol.c: Added the --read-env option.
2001-10-10 Graeme Roy <[email protected]>
* src/symbol.c: Fix for FORMAT_AOUT when finding symbols.
2001-10-08 Graeme Roy <[email protected]>
* src/diag.c:
Correctly format stack traces and symbol listings for HTML support.
Improved logging for HTML.
2001-10-05 Graeme Roy <[email protected]>
* src/symbol.c: Added a bit of HTML support.
* src/diag.c:
Finished __mp_printversion(). Started adding HTML support to
__mp_printsummary().
2001-10-04 Graeme Roy <[email protected]>
* src/diag.c: Converted some of the header to support HTML.
* src/inter.c: Draw a horizontal rule after the header for HTML.
2001-10-03 Graeme Roy <[email protected]>
* bin/mupdate: MP_VERSION is now defined in version.h.
* src/version.c, src/version.h:
Moved MP_VERSION to version.h. Added __mp_author and __mp_email.
* src/mleak.c, src/mpatrol.c, src/mprof.c, src/mptrace.c:
Added __mp_author.
2001-09-30 Graeme Roy <[email protected]>
* THANKS: Added Diego Santa Cruz.
* bin/mpsym: Added the --skip option.
* doc/Makefile:
Added --no-split to the makeinfo command for producing HTML.
2001-09-27 Graeme Roy <[email protected]>
* src/diag.c, src/diag.h:
HTML-ised __mp_diag(). Added FLG_HTMLNEXT. Fixed problem with the HTML
option changing formatting in the middle of a text file.
* src/option.c, src/mpatrol.h, src/option.h:
Added the HTML option. Only flag the next log file to be formatted in
HTML, not the current one.
* src/mpatrol.c: Added the --html option.
2001-09-26 Graeme Roy <[email protected]>
* config/aclocal.m4: Added AM_CONDITIONAL.
* config/configure: Updated to latest configure.in.
* config/configure.in: Added the XSUPPORT automake conditional.
* config/src.in, config/src.am:
Added XSUPPORT. Make use of X_CFLAGS. Added INCLUDES.
* doc/mpatrol.texi: Documented more about GUI support.
* src/diag.c, src/diag.h: Added __mp_diagtag(). Started HTML support.
* src/info.c:
Removed __mp_closelogfile() out of __mp_deleteinfo(). Fixed a bug with
calculating the total size of marked allocations.
* src/inter.c: Moved __mp_closelogfile() out of __mp_deleteinfo().
2001-09-25 Graeme Roy <[email protected]>
* bin/mpsym: Now automatically detect the value for POINTER.
* config/configure.in, config/configure.in:
Added support for SETVBUF_REVERSED and X_DISPLAY_MISSING.
* config/src.in, config/tools.in, config/tsrc.in, config/configure.in,
config/configure:
Added X support.
* doc/mpatrol.texi:
Documented POINTER no longer required to be set in mpsym.
* man/man1/mpsym.1: No longer require POINTER to be set in mpsym.
* src/config.h:
Now define MP_GUI_SUPPORT if autoconf has determined that we have X
support.
* src/diag.c, tools/mgauge.c: Added support for SETVBUF_REVERSED.
2001-09-23 Graeme Roy <[email protected]>
* config/acconfig.h: New file for additional macros for autoheader.
* config/configure.h.in: Added more macros.
* config/configure, config/configure.in: Added a lot more tests.
* config/configure.in:
Added AC_CHECK_SIZEOF(void *) and AC_CHECK_FUNCS(memalign mincore).
* config/bin.in, config/doc.in, config/extra.in, config/images.in,
config/man.in, config/src.in, config/tools.in, config/top.in,
config/tsrc.in:
Added ability to build on Cygwin.
* pkg/auto/cleanup, pkg/auto/setup, pkg/auto/.cvsignore:
Added acconfig.h.
* src/config.h:
Added autoconf support for determining memalign and mincore support.
* src/target.h: ENVIRON now has autoconf support.
2001-09-21 Graeme Roy <[email protected]>
* pkg/auto/build: Added a new build script.
2001-09-20 Graeme Roy <[email protected]>
* config/aclocal.m4: Added AM_CONFIG_HEADER.
* config/configure: Added ability to build configure.h.
* config/configure.h.in:
Added configure.h.in template generated by autoheader.
* config/configure.h.in, config/configure, config/configure.in:
Added AC_FUNC_MMAP.
* config/bin.in, config/doc.in, config/extra.in, config/images.in,
config/man.in, config/src.in, config/tools.in, config/top.in,
config/tsrc.in:
Added the configure.h header file.
* pkg/auto/.cvsignore: New .cvsignore file for pkg/auto.
* pkg/auto/setup:
Added configure.h.in. configure.h.in is now automatically generated by
autoheader.
* src/config.h:
Now also use configure.h to determine if mmap() is supported.
2001-09-19 Graeme Roy <[email protected]>
* config/configure.in: Added ability to build configure.h.
* config/configure.in, config/configure, config/top.am, config/top.in:
Added the extra directory.
* config/extra.am, config/extra.in:
Added new makefiles for the extra directory.
* config/src.am, config/src.in, config/tools.am, config/tools.in,
config/tsrc.am, config/tsrc.in:
Added -release options to version the libraries.
* pkg/auto/cleanup, pkg/auto/setup:
Added cleanup for configure.h.in and stamp-h.in. Added the extra
directory.
* src/target.h:
Changed so that Alpha and IA64 processors always define
ENVIRON=ENVIRON_64. Now include configure.h if HAVE_CONFIG_H is
defined.
2001-09-17 Graeme Roy <[email protected]>
* doc/mpatrol.texi:
Added more things to do and documented the pkg/auto directory.
2001-09-13 Graeme Roy <[email protected]>
* config/configure.in:
Updated to 1.4.8 and removed the requirement for CPP.
* config/top.am, config/top.in: Don't need EXTRA_DIST.
* config/src.am, config/src.in, config/tsrc.am, config/tsrc.in:
Completely revised. Cleaner way to compile machine.c.
* config/tools.am, config/tools.in: Revised the LDFLAGS argument.
* config/bin.in, config/doc.in, config/images.in, config/man.in,
config/src.in, config/tools.in, config/top.in, config/tsrc.in,
config/configure:
No longer check for CPP.
* doc/mpatrol.texi: Documented Windows NT symbols setup.
* man/man3/libmpatrol.3: Now 42 functions.
2001-09-09 Graeme Roy <[email protected]>
* pkg/debian/.cvsignore: New .cvsignore file for Debian.
* pkg/debian/build: New build script for Debian.
2001-09-06 Graeme Roy <[email protected]>
* build/unix/mpalloc.exp, build/unix/mpatrol.exp: Added __mp_memhead().
* doc/mpatrol.texi: Documented mpatrol patch 5.
* src/target.h: Added support for the Intel Itanium processor.
* src/symbol.c:
Fixed diagnostics for number of symbols read from Windows DLLs.
2001-09-05 Graeme Roy <[email protected]>
* bin/mupdate: Also remove any .cvsignore files.
* build/windows/.cvsignore, build/unix/.cvsignore,
build/netware/.cvsignore, build/amiga/.cvsignore, doc/.cvsignore,
man/ps/.cvsignore, man/pdf/.cvsignore, man/html/.cvsignore,
man/dvi/.cvsignore, man/cat3/.cvsignore, man/cat1/.cvsignore,
pkg/sdux/.cvsignore, pkg/rpm/.cvsignore, pkg/pkg/.cvsignore,
pkg/zip/.cvsignore, pkg/tar/.cvsignore, pkg/lha/.cvsignore:
Added .cvsignore files.
* doc/mpatrol.texi:
Added information about the Debian package format. Added information
about pageheap on Windows 2000.
* pkg/debian/README.debian, pkg/debian/changelog, pkg/debian/copyright,
pkg/debian/dirs, pkg/debian/docs, pkg/debian/doc-base,
pkg/debian/info, pkg/debian/rules, pkg/debian/watch:
Added Debian package files.
2001-09-04 Graeme Roy <[email protected]>
* INSTALL:
New top-level INSTALL with information on how to build and install
mpatrol with autoconf, automake and libtool.
* THANKS:
Added Jerome Marant for his work on producing a debian package.
* build/windows/mpalloc.def, build/windows/mpatrol.def,
build/windows/mpatrolmt.def, build/unix/mpalloc.exp,
build/unix/mpatrol.exp:
Added __mp_symbol().
* doc/mpatrol.texi, doc/refcard.tex:
Added the __mp_symbol() function. Documented that Tru64 stack unwinding
is sort of fixed. Documented that Jerome Marant did the Debian port.
* man/man3/libmpatrol.3:
Added the __mp_symbol() function.
* pkg/debian/control: New control file for Debian.
* src/stack.c: Fixed Tru64 stack unwinding (for now).
* src/inter.c: Added init_flag for Tru64 stack unwinding.
* src/inter.c, src/inter.h, src/mpalloc.c, src/mpatrol.h:
Added the __mp_symbol() function.
2001-09-03 Graeme Roy <[email protected]>
* README:
Elaborated slightly about seeing the manual for more information.
* bin/mpsym: Removed need for printf command by replacing it with awk.
* bin/mpedit:
Added support for elvis, pico and nano. Use awk if nl is not available.
* build/unix/Makefile:
Changed ln -fs to ln -f -s for full portability. MP_GUI_SUPPORT is 0
by default so remove explicit default.
* build/windows/mpalloc.def, build/windows/mpatrol.def,
build/windows/mpatrolmt.def:
Restored the EXPORTS lists. Added __mp_memhead().
* doc/mpatrol.texi:
Documented that elvis, pico and nano are now supported with mpedit and
that it now works fully on FreeBSD and LynxOS. Forgot to add that LIST
now works with the previous change. Documented that mpsym now works on
LynxOS since the printf command is no longer required.
* man/man1/mpedit.1: Added elvis, pico and nano.
* src/config.h: Now default MP_API to nothing.
2001-08-29 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Updated some of the things to do.
2001-08-27 Graeme Roy <[email protected]>
* build/unix/Makefile.aix: Explicitly add MP_GUI_SUPPORT.
* config/bin.am, config/doc.am, config/images.am, config/man.am,
config/src.am, config/tools.am, config/top.am, config/tsrc.am:
Automake makefile templates.
* config/bin.in, config/doc.in, config/images.in, config/man.in,
config/src.in, config/tools.in, config/top.in, config/tsrc.in:
Automatically-generated Makefile.in files.
* config/configure.in: Initial configure.in for mpatrol.
* config/aclocal.m4, config/configure: Autoconf-generated files.
* doc/README, doc/mpatrol.texi:
Documented the source code documentation. Revised some text in the
About the Author chapter.
* pkg/auto/setup: Added images.in and images.am.
* src/config.h: Always default to not using GUI support.
2001-08-24 Graeme Roy <[email protected]>
* build/unix/Makefile:
Added more default include and library directories. Added two more
required libraries when building mptrace.
* build/unix/Makefile.aix:
Removed an erroneous library path when building mptrace.
* doc/Makefile:
Don't delete in bin, src and tools directories until the thumbnails have
been produced.
* doc/mpatrol.texi:
Documented Red Hat 7.x supported. Added the About the author chapter.
* doc/source.tex: Added the a4wide package.
* src/memory.c, src/mpalloc.c: The BSD systems don't have sysconf().
2001-08-23 Graeme Roy <[email protected]>
* build/unix/Makefile:
Added /usr/X11R6/include to the include directory path when building
mptrace with GUI support.
2001-08-22 Graeme Roy <[email protected]>
* doc/Makefile: Need -expand none when invoking texi2html.
* doc/mpatrol.texi: Added third author of HATF.
2001-08-19 Graeme Roy <[email protected]>
* pkg/auto/cleanup, pkg/auto/setup: Added the doc and man directories.
2001-08-02 Graeme Roy <[email protected]>
* config/ltconfig, config/ltmain.sh, config/config.guess,
config/config.sub:
libtool installation files.
* config/install-sh, config/missing, config/mkinstalldirs,
config/INSTALL:
automake installation files.
* pkg/auto/setup: New file for setting up directory structure.
* pkg/auto/cleanup: New file to remove directory structure.
2001-08-01 Graeme Roy <[email protected]>
* build/windows/mpalloc.def, build/windows/mpatrol.def,
build/windows/mpatrolmt.def:
Removed all exports as they are now defined by MP_API.
* doc/mpatrol.texi, man/man3/libmpatrol.3:
Added the alignment argument to the prologue function.
* src/info.h, src/info.c: Added the __mp_fixalign() function.
* src/info.h, src/inter.c, src/mpatrol.h:
Added alignment argument to prologue function.
* src/inter.c: Added MP_API to the __mp_lib* functions.
* src/mpcalloc.c, src/mpmalloc.c, src/mprealloc.c, src/mpsetfail.c,
src/mpstrdup.c, src/cplus.c, src/malloc.c, src/sbrk.c, src/sbrk.h:
Added the MP_API macro.
* src/mleak.c, src/mpatrol.c, src/mprof.c, src/mptrace.c:
Changed VERSION to PROGVERSION to prevent conflicts with automake.
* tests/pass/test2.c: Added alignment to prologue function.
* tools/dmalloc.c: Added support for alignment in the tracker function.
* tools/heapdiff.c, tools/mtrace.c:
Added alignment support to the prologue function.
2001-07-26 Graeme Roy <[email protected]>
* doc/mpatrol.texi, man/man3/libmpatrol.3:
Documented the additional 3 arguments passed to the prologue and
epilogue functions. Documented the additional arguments to the
low-memory handler.
* src/config.h: Added MP_API.
* src/diag.c, src/info.c, src/inter.c, src/inter.h, src/mpalloc.c:
Converted some function prototypes to include MP_API.
* src/info.h, src/mpatrol.h:
Added function name, file name and line number to the prologue and
epilogue handlers. Added 4 extra arguments to the low memory handler.
* src/cplus.c, src/inter.c, src/mpatrol.h:
Added an additional 3 arguments to the prologue and epilogue functions.
Added new arguments to the nomemory handler.
* tests/pass/test2.c:
Added new arguments to the prologue and epilogue handlers.
* tests/pass/test3.c: Added extra arguments to the low memory handler.
* tools/dmalloc.c, tools/dmalloc.h:
Now pass source file and line number to malloc tracker function.
* tools/heapdiff.c: Updated prologue function arguments.
* tools/mgauge.c: Updated the arguments passed to the epilogue function.
* tools/mtrace.c:
Updated the arguments for the prologue and epilogue handlers. Can now
get the function name, file name and line number if that was available
in the source code.
2001-07-25 Graeme Roy <[email protected]>
* build/windows/mpalloc.def, build/windows/mpatrol.def,
build/windows/mpatrolmt.def, build/unix/mpalloc.exp,
build/unix/mpatrol.exp:
Added __cyg_profile_func_enter() and __cyg_profile_func_exit().
* doc/mpatrol.texi:
Documented mpatrol patch 4 and GUISUP. Changed test to use
__mp_prologuehandler and __mp_epiloguehandler. Updated __mp_prologue
and __mp_epilogue. Converted __mp_nomemory().
* man/man3/libmpatrol.3:
Updated __mp_prologue and __mp_epilogue. Converted __mp_nomemory().
* pkg/sdux/build, pkg/pkg/build:
Added GUISUP=true when building mptrace.
* src/info.h:
Added prologuehandler, epiloguehandler and nomemoryhandler typedefs.
* src/inter.h, src/mpalloc.c:
Changed the definitions of __mp_prologue, __mp_epilogue and
__mp_nomemory.
* src/inter.c, src/inter.h, src/mpalloc.c:
Added __cyg_profile_func_enter() and __cyg_profile_func_exit().
* src/cplus.c: Added an extra cast in case __mp_nomemory() is redefined.
* src/mpatrol.h:
Added __mp_prologuehandler and __mp_epiloguehandler. Defined
__mp_prologue and __mp_epilogue in terms of __mp_prologuehandler and
__mp_epiloguehandler. Added __mp_nomemoryhandler.
* tests/pass/test2.c:
Changed test to use __mp_prologuehandler and __mp_epiloguehandler.
* tools/dmalloc.c, tools/heapdiff.c, tools/mgauge.c, tools/mtrace.c:
Now use definitions of __mp_prologuehandler and __mp_epiloguehandler.
2001-07-19 Graeme Roy <[email protected]>
* doc/mpatrol.texi:
Finally got around to documenting the libiberty.so problem in the FAQ.
Added more related software.
* src/config.h:
Increased MP_BUFFER_SIZE to 8192 due to the length of C++ identifiers.
* src/target.h:
Don't redefine _POSIX_SOURCE, etc, if they are already defined.
* src/getopt.c, src/getopt.h:
Added __mp_basename(). Use the basename of the program name for any
diagnostics.
* src/mleak.c, src/mpatrol.c, src/mprof.c, src/mptrace.c:
Now make progname the basename of argv[0].
* src/mptrace.c:
Now only display source if available rather than a blank line.
2001-07-12 Graeme Roy <[email protected]>
* doc/Makefile: Added ability to build the source code documentation.
* doc/source.tex: New file for source code documentation.
* build/unix/Makefile: Added the GUISUP flag.
2001-06-13 Graeme Roy <[email protected]>
* THANKS: Credited Michael Anthony.
* doc/mpatrol.texi: Brought documentation slightly more up to date.
* doc/refcard.tex:
Added the --source, --check-fork and CHECKFORK options.
* man/man1/mptrace.1: Documented the --source option.
* man/man1/mpatrol.1: Added the --check-fork option.
* man/man3/libmpatrol.3:
Added the CHECKFORK option. Documented the mpatrol_* versions of
functions.
2001-06-12 Graeme Roy <[email protected]>
* src/info.h, src/inter.c, src/mpatrol.c, src/mpatrol.h, src/option.c,
src/option.h:
Added the CHECKFORK option.
* src/inter.c:
Allow removal of allocation contents files for freed allocations.
* tools/heapdiff.c, tools/heapdiff.h: Added the HD_CONTENTS flag.
2001-06-07 Graeme Roy <[email protected]>
* src/config.h: Added MP_NAMECACHE_SIZE.
* src/info.c, src/inter.c, src/trace.c, src/trace.h:
Now pass thread id, source function name, file name and line number for
placing in tracing output file. Added name caches for tracing function
names and file names.
* src/mprof.c: Don't close the graph file if it is stdout or stderr.
* src/mptrace.c:
Don't close the simulation file or the HATF file if they are stdout or
stderr and also always read the whole of a reallocation record, even if
the allocation index does not exist. Added support for reading the
thread id, source function name, file name and line number from the
tracing output file. Added ability to reach cached tracing files.
Added the --source option and changed the short option for --sim-file to
be -S.
2001-05-30 Graeme Roy <[email protected]>
* doc/mpatrol.texi, doc/refcard.tex, man/man3/libmpatrol.3:
Brought the documentation a bit more up to date. Added the
__mp_*contents() functions. Documented __mp_libversion(). Added the
--hatf-file option.
* man/man3/libmpatrol.3:
Document __mp_libversion() and the fact that the fork() bug has been
fixed.
2001-05-23 Graeme Roy <[email protected]>
* THANKS: Added Richard Jones for HATF and MetaTF.
* extra/hatf.dtd: New DTD file for HATF.
* src/inter.c, src/inter.h, src/mpalloc.c: Added __mp_libversion().
* src/mpatrol.h:
Added __mp_libversion() and also a definition of __mp_atexit() when
NDEBUG is used as this was unintentionally left out before. Also added
mpatrol_* versions of the __mp_* functions.
* src/mptrace.c:
Added the --hatf-file option. Added running statistics when verbose is
used.
2001-05-22 Graeme Roy <[email protected]>
* THANKS: Added Andreas Schallenberg for his help with the SuSE port.
* doc/mpatrol.texi:
Added more credits and documented the SuSE port. Also listed the target
environment information in the log file and documented the *_STR macros.
* man/man3/libmpatrol.3, man/man1/mptrace.1, doc/mpatrol.texi:
Documented that tracing now supports reallocations.
* src/info.c, src/info.h: Added the pid field.
* src/inter.c, src/inter.h, src/mpalloc.c, src/mpatrol.h, src/trace.c,
src/trace.h:
Now remove the traced flag from any memory allocations that are in
existence in a child process after a fork. Added __mp_changetrace().
* src/mptrace.c:
Added realloc() support to the simfile. Provided a bit more backwards
compatibility.
2001-05-17 Graeme Roy <[email protected]>
* src/diag.c, src/target.h:
Added string representations of the configuration constants for printing
out in the summary.
* src/config.h, src/diag.c, src/memory.c, src/mpalloc.c, src/mutex.c,
src/option.c, src/signals.c, src/target.h, src/version.c:
Added support for automatic compilation when TARGET is TARGET_ANY and
ARCH is ARCH_ANY.
* src/info.c:
Fixed a bug when using alloca() without full stack support.
* src/symbol.c:
Added the addsymname() function for more centralised control of whether
symbols should be stored or not.
2001-05-16 Graeme Roy <[email protected]>
* src/diag.c, src/diag.h, src/inter.c, src/inter.h, src/mpalloc.c,
src/mpatrol.h:
Added ability to compare memory allocations with their contents on disk.
2001-05-14 Graeme Roy <[email protected]>
* src/inter.h, src/mpalloc.c, src/mpatrol.h, src/config.h, src/diag.c,
src/diag.h, src/inter.c:
Added the ability to read, write and delete allocation contents files.
2001-05-07 Graeme Roy <[email protected]>
* THANKS: Added more credits.
* man/man1/mleak.1, doc/refcard.tex, doc/mpatrol.texi:
Added the --max-stack option.
2001-05-06 Graeme Roy <[email protected]>
* src/memory.c:
Fixed a problem on Windows when protecting pages allocated by different
calls to VirtualAlloc().
2001-04-26 Graeme Roy <[email protected]>
* src/info.c, src/trace.c, src/trace.h: Added __mp_tracerealloc().
* src/mptrace.c: Added support for reallocations.
* src/mleak.c: Added the --max-stack option.
2001-03-22 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Updated the chapters on profiling and tracing.
* doc/refcard.tex: Added the --call-graph, --gui and --verbose options.
* man/man1/mprof.1: Added the --call-graph option.
* man/man1/mptrace.1: Added the --gui and --verbose options.
* src/mprof.c:
Added the --call-graph option and fixed a problem with the call graph
and leak table when call sites with no symbols were encountered.
* src/mptrace.c:
Added the --gui and --verbose options and added the statistics.
2001-03-21 Graeme Roy <[email protected]>
* doc/mpatrol.texi: Added the porting chapter.
* man/man1/hexwords.1: Added more example constants.
2001-03-19 Graeme Roy <[email protected]>
* doc/mpatrol.texi:
Added the heap corruption chapter and more references.
2001-03-14 Graeme Roy <[email protected]>