aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
blob: c08f83dc7fcaecada49fe3d4f9a5a1632bc2aa46 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
2012-09-25  Petr Machata  <pmachata@redhat.com>

	* callback.h: New file.
	* proc.h (enum callback_status): Move to callback.h.

2012-09-25  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/x86/arch.h (FORK_EXEC_SYSCALLS): Remove.

2012-09-22  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/x86/fetch.c (flatten_structure): New function.

2012-09-22  Petr Machata  <pmachata@redhat.com>

	* backend.h (arch_check_dbg): Drop.

2012-09-13  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ia64/arch.h (ARCH_HAVE_FETCH_PACK): Define it.
	* sysdeps/linux-gnu/ia64/fetch.c (arch_fetch_param_pack_start):
	New function.
	(arch_fetch_param_pack_end): Likewise.

2012-09-08  Petr Machata  <pmachata@redhat.com>

	* testsuite/ltrace.main/parameters-lib.c (func_hfa_f2): New.
	(func_hfa_f3 .. func_hfa_f12): Likewise.
	(func_hfa_d2 .. func_hfa_d12): Likewise.
	* testsuite/ltrace.main/parameters.c (main): Call above.
	* testsuite/ltrace.main/parameters.conf: Declare above.
	* testsuite/ltrace.main/parameters.exp: Test above calls.

2012-09-08  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ia64/fetch.c: New file.
	* sysdeps/linux-gnu/ia64/trace.c (gimme_long_arg): Removed.
	(gimme_float_arg, gimme_arg, float_regs, f_index): Likewise.
	(fpreg_to_double): Moved to fetch.c.
	* sysdeps/linux-gnu/ia64/arch.h (ARCH_HAVE_FETCH_ARG): Define it.
	* sysdeps/linux-gnu/ia64/Makefile.am (___libcpu_la_SOURCES): Add
	fetch.c.

2012-09-08  Petr Machata  <pmachata@redhat.com>

	* type.c, type.h (type_aggregate_size): New function.

2012-09-13  Petr Machata  <pmachata@redhat.com>

	* fetch.c (arch_fetch_param_pack_start): New declaration or
	definition (depending on values of ARCH_HAVE_FETCH_ARG,
	ARCH_HAVE_FETCH_PACK).
	(arch_fetch_param_pack_end): Likewise.
	* fetch.c, fetch.h
	(fetch_param_pack_start, fetch_param_pack_end): New function.
	* output.c (fetch_one_param): Call fetch_param_pack_{start,end}.
	* param.h (enum param_pack_flavor): New.
	* param.h, param.c (param_init_pack): Add new argument of type
	enum param_pack_flavor.
	* printf.c (param_pack_init_printf): Adjust the call to
	param_init_pack.

2012-09-03  Petr Machata  <pmachata@redhat.com>

	* ltrace-elf.c (PLTs_initialized_by_here): Remove.
	* options.c: Likewise.
	(usage): Drop the line mentioning -X.
	(process_options): Remove handling of -X.
	* sysdeps/linux-gnu/ppc/arch.h: Remove PLT_REINITALISATION_BP.
	* ltrace.1: Drop mentions of -X.

2012-09-03  Petr Machata  <pmachata@redhat.com>

	* options.c (usage): Drop the line mentioning --no-plt.

2012-09-01  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/mips/syscallent.h: Update from latest kernel.

2012-08-31  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ia64/breakpoint.c (arch_enable_breakpoint):
	Don't include config.h, common.h.  Include breakpoint.h, debug.h.

2012-08-31  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ia64/breakpoint.c (arch_enable_breakpoint):
	Use assert instead of printing an error that should never happen.

2012-08-31  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ia64/plt.c (arch_plt_sym_val): Fix a
	formatting string.

2012-08-31  Petr Machata  <pmachata@redhat.com>

	* Makefile.am (noinst_HEADERS): Add breakpoint.h, forward.h,
	proc.h.

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* lens_enum.c, lens_enum.h: New files
	* type.c, type.h (enum arg_type): Drop ARGTYPE_ENUM
	(type_is_integral, type_is_signed): New functions
	* read_config_file.c: Rewrite enum parsing
	* testsuite/ltrace.main/parameters*: Test it
	* lens_default.c: Drop support for ARGTYPE_ENUM
	* sysdeps/linux-gnu/x86_64/trace.c: Likewise

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/*/arch.h
	(ARCH_ENDIAN_BIG, ARCH_ENDIAN_LITTLE): Declare either at each backend

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* lens_default.c, lens_default.h (bool_lens): New global variable
	* read_config_file.c: Plug it in
	* testsuite/ltrace.main/parameters*: Test it

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/x86_64/trace.c: Rewrite

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* lens_default.c, lens_default.h (string_lens): New global variable
	(format_naked_char): New function
	* type.h, type.c (enum arg_type): Drop ARGTYPE_STRING
	(type_init_string): Drop
	* printf.c: Drop handling of ARGTYPE_STRING
	* read_config_file.c: Likewise; support lens syntax of "string"
	* value.c, value.h (value_string_to_charp): Drop

2012-01-09  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (try_parse_kwd): New function
	(name2lens, parse_alias): Use it

2012-01-08  Petr Machata  <pmachata@redhat.com>

	* lens_default.c, lens_default.h (guess_lens): New global variable
	* type.h, type.c (enum arg_type): Drop ARGTYPE_UNKNOWN
	* read_config_file.c, printf.c: Adjust to above changes
	* output.c: Likewise
	(get_unknown_type): New function

2012-01-08  Petr Machata  <pmachata@redhat.com>

	* lens_default.c, lens_default.h (hex_lens, octal_lens): New
	global variables
	* read_config_file.c: Use it
	* type.c, type.h (enum arg_type): Drop ARGTYPE_OCTAL
	* testsuite/ltrace.main/parameters*: Test the new lenses

2012-01-08  Petr Machata  <pmachata@redhat.com>

	* lens.c, lens.h: New module
	* display_args.c: Move this code...
	* lens_default.c, lens_default.h: ... here
	* read_config_file.c
	(unshare_type_info, name2lens, parse_lens): New functions
	* type.c, type.h: Add lenses throughout

2012-01-07  Petr Machata  <pmachata@redhat.com>

	* backend.h: New file
	* sysdeps/README: Point to backend.h
	* common.h: Move a lot of functions to backend.h, add comments
	describing the interfaces

2012-01-07  Petr Machata  <pmachata@redhat.com>

	* common.h (enum ecb_status, each_qd_event, enque_event): Move...
	* sysdeps/linux-gnu/events.h: ... here (new file)
	* common.h (process_removed): New callback
	* sysdeps/linux-gnu/events.c: Implement it here
	* proc.c (remove_process): Call it here
	(delete_events_for, event_for_proc): Move...
	* sysdeps/linux-gnu/events.c: ... here

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* printf.c, printf.h: New file with support for functions with
	vararg parameter pack described by a printf-style format argument
	* type.h (enum arg_type): Drop ARGTYPE_FORMAT
	* type.c, display_args.c: Likewise
	* read_config_file.c: Introduce backward-compatible support for
	the "format" keyword

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* type.h (struct arg_type_info): Drop float_info, double_info
	* sysdeps/linux-gnu/ia64/trace.c (gimme_arg): Count float
	arguments to compensate for the above

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* type.h (enum arg_type): Drop ARGTYPE_COUNT

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Function.own_return_info): New field
	* output.c (build_default_prototype): Initialize it
	* read_config_file.c: Use it throughout.  Now that it's tracked,
	also init other ownership bits properly.

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (list_of_pt, arg_type_prototypes): Drop
	(lookup_prototype, str2type): Drop
	(parse_arg_type): New function, similar in spirit to str2type
	(parse_nonpointer_type): Adjust to the above

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (parse_array): New function
	(parse_nonpointer_type): Call it

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* common.h (enum arg_type): Drop ARGTYPE_STRING
	* common.c, common.h (type_init_string): New function
	* read_config_file.c (parse_string): New function, parses all the
	string syntax that we support
	(parse_alias): New function, dispatches to everything that has
	non-obvious syntax
	(parse_nonpointer_type): Call parse_alias.  Drop ARGTYPE_STRING
	* display_args.c: Drop ARGTYPE_STRING

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* display_args.c, type.c, type.h: Drop ARGTYPE_ADDR, ARGTYPE_FILE
	* read_config_file.c: Likewise
	(init_global_config): Add default typedefs for "file" and "addr"

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (init_global_config): New function
	(insert_typedef): New function
	* read_config_file.h (init_global_config): Declaration
	* libltrace.c (ltrace_init): Call it

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* param.c, param.h: New module
	* common.h (struct Function.params): New field
	(arg_info, params_right): Drop fields
	* output.c (fetch_param_pack): New function
	(fetch_one_param, fetch_params): Adapt to use of parameters
	* read_config_file.c (add_param): New function
	(process_line): Adapt to use of parameters

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* zero.c, zero.h: New module
	* read_config_file.c (parse_zero, wrap_in_zero): New functions
	(parse_argnum): Support "zero" length
	(parse_enum): New function, code moved from...
	(parse_nonpointer_type): ... here

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (parse_char): New function
	(parse_typedef): Use it

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* fetch.c, fetch.h: New module.
	* common.h (enum tof): Move to fetch.h
	(struct output_state): New struct
	(struct callstack_element.fetch_context, .out): New fields
	* handle_event.c (handle_clone): Clone fetch_context's
	* output.c (build_default_prototype): New function
	(fetch_simple_param, fetch_param_stop, fetch_one_param)
	(fetch_params, output_one, output_params): New functions.
	(output_left, output_right): Do the parameter output using the
	above functions.

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* common.h (enum tof.LT_TOF_NONE, .LT_TOF_STRUCT): Drop.
	* output.c: Adjust.

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* common.h (save_register_args): Drop unused function.
	(struct callstack_element.arch_ptr): Drop unused interface.
	* sysdeps/linux-gnu/*/trace.c (save_register_args): Likewise.

2012-01-06  Petr Machata  <pmachata@redhat.com>

	* common.h (umovestr, umovelong): Drop unused function.
	* sysdeps/linux-gnu/trace.c (umovelong, umovestr): Likewise.
	* sysdeps/linux-gnu/ppc/trace.c (umovelong): Likewise.

2012-01-05  Petr Machata  <pmachata@redhat.com>

	* read_config_file.c (read_int): Change the interface to enable
	error propagation.  Adjust callers throughout.

2012-01-05  Petr Machata  <pmachata@redhat.com>

	* output.h, output.c
	(report_error, report_warning, report_global_error): New functions.
	* read_config_file.c: Use them.

2012-01-05  Petr Machata  <pmachata@redhat.com>

	* common.h (display_args): Remove
	(format_argument): Add a new interface
	(struct callstack_element.arguments): New field
	* display_args.c: Adapt the code to format_argument interface
	* expr.c, expr.h: New module for array length expressions
	* forward.h: New header file with type declarations
	* handle_event.c (handle_clone): Clone callstack_element.arguments
	* output.c (output_left, output_right): Fetch all arguments up-front
	* read_config_file.c (arg_align, align_skip, align_struct)
	(arg_sizeof): Dropped.  Corresponding code is in type.c/type.h and
	we don't cache it, for reasons of multi-ABI tracing
	(parse_argnum): Rewritten to use expr.c/expr.h
	(parse_struct): Extracted to separate function, dropped caching
	* type.c: Support ARGTYPE_STRING{,_N} in a couple places
	* type.c, value.c: Plug in expr module properly
	* type.h (struct arg_type_info): Add u.array_info.length, remove
	len_spec; likewise with u.string_n_info.
	Drop u.struct_info, use u.fields instead.

2012-04-30  Petr Machata  <pmachata@redhat.com>

	* type.c, type.h: New module with routines related to handling of
	types.  Some of this was moved over from common.h.
	* common.h: Adjust for this change.
	* read_config_file.c: Likewise.
	* display_args.c: Likewise.
	* output.c: Likewise.
	* sysdeps/linux-gnu/*/trace.c: Likewise.
	* value.c, value.h: New module for values of arbitrary length.
	* value_dict.c, value_dict.h: New module for value dictionaries.

2012-04-30  Petr Machata  <pmachata@redhat.com>

	* library.h (arch_translate_address): First argument is ltelf.
	(arch_translate_address_dyn): New function.
	* sysdeps/linux-gnu/ppc/plt.c: Implement above, use .opd to
	translate addresses.
	* breakpoints.c: Update to the above, add default implementation.
	* ltrace-elf.c, sysdeps/linux-gnu/proc.c: Update callers.

2012-04-30  Petr Machata  <pmachata@redhat.com>

	* ltrace-elf.h (elf_get_section_named): New function.
	(elf_get_section_covering, elf_get_section_type): Likewise.

2012-04-26  Petr Machata  <pmachata@redhat.com>

	* common.h (arch_breakpoint_init, arch_breakpoint_destroy)
	(arch_breakpoint_clone): New interfaces.
	(arch_process_init, arch_process_destroy, arch_process_clone)
	(arch_process_exec): Likewise.
	(arch_library_init, arch_library_destroy, arch_library_clone):
	Likewise.
	(arch_library_symbol_init, arch_library_symbol_destroy)
	(arch_library_symbol_clone): Likewise.
	(arch_elf_init, arch_elf_destroy): Likewise.
	* proc.c: Implement arch_process_* defaults.
	* breakpoints.c: Implement arch_breakpoint_* defaults.
	* library.c: Implement arch_library{,_symbol}_* defaults.

2012-04-25  Petr Machata  <pmachata@redhat.com>

	* dict.h (dict_remove): New inteface.

2012-04-10  Petr Machata  <pmachata@redhat.com>

	* common.h (trace_fail_warning): New backend hook.
	* sysdeps/linux-gnu/trace.c: Implement it.
	* proc.c: Call it.
	* configure.ac: Add support for libselinux.

2012-03-31  Petr Machata  <pmachata@redhat.com>

	* glob.h: New file
	* filter.h: New file
	* sysdeps/linux-gnu/trace.h: New file
	(struct process_stopping_handler): Move here...
	* sysdeps/linux-gnu/trace.c: ... from here

2012-02-10  Petr Machata  <pmachata@redhat.com>

	* common.h (library_symbol_init): New interface
	(library_symbol_destroy, library_symbol_clone): Likewise.
	* ltrace-elf.c: Implemented and reused here

2012-02-09  Petr Machata  <pmachata@redhat.com>

	* proc.h: New file.  Move there struct Process and related types
	and function declarations. Update includes across the code.
	(struct Event_Handler): Rename to struct event_handler.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* breakpoint.h (typedef Breakpoint): Drop.
	* breakpoints.c, handle_event.c, sysdeps/linux-gnu/breakpoint.c,
	sysdeps/linux-gnu/trace.c, sysdeps/linux-gnu/arm/breakpoint.c,
	sysdeps/linux-gnu/ia64/breakpoint.c: Adjust.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Process.breakpoints_enabled): Drop.
	* breakpoints.c, proc.c: Drop uses of breakpoints_enabled.
	* sysdeps/linux-gnu/events.c: Likewise.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* proc.h: New file
	(proc_add_library, proc_remove_library, proc_each_library): New
	(proc_add_breakpoint, proc_remove_breakpoint)
	(proc_each_breakpoint): New
	(struct Process): Move here...
	* common.h: ... from here

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* library.h, library.c: New files
	(struct library): New structure
	(library_init, library_destroy, library_clone): New
	(library_add_symbol, library_each_symbol): New
	(library_set_soname, library_set_pathname): New
	(struct library_symbol): Moved here...
	* common.h: ... from here
	* breakpoint.h (breakpoint_library): New

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* breakpoint.h (struct bp_callbacks): New structure.
	(struct breakpoint.cbs): New field of above type.
	(breakpoint_on_hit, breakpoint_on_destroy): New interfaces.
	(breakpoint_on_retract): New interface.
	(breakpoint_init, breakpoint_clone, breakpoint_destroy): New.
	(breakpoint_turn_on, breakpoint_turn_off): New.
	(breakpoint_name): New.
	* breakpoints.c: Implement the new interfaces.
	* handle_event.c (handle_breakpoint): Call breakpoint_on_hit.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* breakpoint.h: New header file.
	* common.h (struct breakpoint): Move to breakpoint.h.
	(address2bpstruct, breakpoints_init, insert_breakpoint)
	(delete_breakpoint, enable_all_breakpoints, enable_breakpoint)
	(disable_breakpoint, reinitialize_breakpoints): Likewise.
	(insert_breakpoint): Now returns the created breakpoint.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* common.h (wait_for_proc): New interface.
	* sysdeps/linux-gnu/trace.c: Implement it.
	* execute_program.c: Call it.

2012-02-07  Petr Machata  <pmachata@redhat.com>

	* configure.ac (ELF_HASH_TAKES_SIGNED_CHAR): Rename to
	ELF_HASH_TAKES_CHARP, adjust configure message accordingly.
	* ltrace-elf.c: Adapt to the rename

2012-01-03  Petr Machata  <pmachata@redhat.com>

	* vect.c, vect.h: New module for implementation of array that can
	grow on demand.

2011-07-08  Petr Machata  <pmachata@redhat.com>

	* common.h (ltrace_exiting): New interface called when ^C is hit.
	* ltrace.c, handle_event.c: Remove current exit handling.
	* sysdeps/linux-gnu/events.c: Implement exit handling using custom
	event handler.
	* proc.c (open_one_pid): trace_set_options so that attach to
	multi-threaded process works.

2011-07-08  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Process.breakpoint_being_enabled): Drop.
	* handle_event.c: Adapt to above.
	* sysdeps/linux-gnu/events.c: Implement breakpoint re-enablement
	using custom event handler.

2011-07-08  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Event_Handler, install_event_handler)
	(destroy_event_handler): New interfaces for definition of custom
	event handler.
	* handle_event.c (handle_event): Honor custom handler.
	* proc.c (install_event_handler, destroy_event_handler):
	Implementation.

2011-06-01  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/events.c (delayed_events, end_delayed_events):
	New variables for event queue.
	(enque_event): To add new event into the queue.
	(next_qd_event, each_qd_event, enum ecb_status): Iteration interfaces.
	(next_event): Instead of waitpid, pop event que if there are
	events waiting.
	* ltrace.h (Event.next): New field to support event chaining.

2011-05-30  Petr Machata  <pmachata@redhat.com>

	* common.h (enable_breakpoint, disable_breakpoint)
	(continue_enabling_breakpoint): Pass Process * instead of pid.
	* breakpoints.c, sysdeps/linux-gnu/breakpoint.c: Adapt.
	* sysdeps/linux-gnu/trace.c: Adapt.

2011-05-12  Petr Machata  <pmachata@redhat.com>

	* common.h: include config.h

2011-05-09  Petr Machata  <pmachata@redhat.com>

	* common.h (breakpoints_init, insert_breakpoint, open_program):
	Pass an extra argument that defines whether we should enable
	breakpoints.

2011-05-09  Petr Machata  <pmachata@redhat.com>

	* execute_program.c (execute_program): Returns pid_t.
	* proc.c (open_program): Always assumes that pid is != 0.
	* common.h, libltrace.c (ltrace_init): Adapt to above.

2011-05-09  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Process): Drop field type_being_displayed.

2011-05-06  Petr Machata  <pmachata@redhat.com>

	* common.h (struct Process.leader): Points to leader thread of the
	process.
	(process_leader, process_tasks): For querying threads of process.
	(process_status, process_stopped): For querying task status.
	(task_kill): For sending signals to a single task.
	(each_task): Like each_process, but for tasks of a process.
	* proc.c (open_pid): Open all tasks of the process.
	(each_task): Implementation.
	* sysdeps/linux-gnu/proc.c (process_leader, process_tasks)
	(process_stopped, process_status): Implementations.
	* handle_event.c: Update throughout.
	* sysdeps/linux-gnu/events.c: Likewise.
	* sysdeps/linux-gnu/trace.c (trace_pid): waitpid should wait for
	threads, too.

2011-05-05  Petr Machata  <pmachata@redhat.com>

	* common.h (add_process, remove_process, each_process)
	(enum pcb_status): Conceal the list of processes behind an
	interface.
	* handle_event.h (handle_clone, handle_exit, handle_exec): Use it.
	* libltrace.h (signal_alarm): Likewise.
	* sysdeps/linux-gnu/events.c (next_event): Likewise.
	* proc.c (open_program, pid2proc): Likewise.
	(add_process, remove_process, each_process): Implementation.

2011-05-05  Petr Machata  <pmachata@redhat.com>

	* output.c (name2func, output_left): char* -> char const* one
	argument.

2011-02-16  Petr Machata  <pmachata@redhat.com>

	* etc/ltrace.conf: Add memmove.

2011-01-06  Joe Damato  <ice799@gmail.com>

	* New release 0.6.0

2010-12-08  Zachary T Welch <zwelch@codesourcery.com>

	* configure.ac: Make warning output independent of debug option.
	  Add option to allow -Werror to be disabled. Switch CFLAGS,
	  CPPFLAGS, and LDFLAGS to their AM_ variants to allow users to
	  provide alternate settings during 'make'.  Remove -g/-O1/-O2
	  options from configure script; autoconf sets them appropriately
	  and the user should be in control of the desired optimizations.
	  Check elf_hash parameter to see if it is signed/unsigned char,
	  setting ELF_HASH_TAKES_SIGNED_CHAR as appropriate.
	* handle_event.c (handle_breakpoint): Fix regression in
	  system_calls.exp test on ARMv7a.  Also fixes libdl-simple.exp
	  test on same platform.
	* display_args.c, ltrace-elf.[ch], options.[ch],
	  sysdeps/linux-gnu/{arm/trace,proc,trace}.c: Eliminate warnings
	  that will cause build to fail with -Werror; these mostly were
	  changes to avoid signed/unsigned comparisions.
	* ltrace-elf.c (in_load_libraries): Use ELF_HASH_TAKES_SIGNED_CHAR

2010-12-06  Zachary T Welch <zwelch@codesourcery.com>

	* configure.ac: Fix e-mail address.
	* testsuite/lib/ltrace.exp: Fix failure reporting string
	* ltrace-elf.c, sysdeps/linux-gnu/proc.c: Use portable
	  format specifiers from inttypes.h
	* sysdeps/linux-gnu/trace.c (umovebytes): Remove unused variable
	* Makefile.am: Fix distribution of renamed debian/control file.
	* testsuite/ltrace.minor/Makefile.am: Include libdl-simple test
	  in the distribution tarballs.

2010-12-04  Joe Damato  <ice799@gmail.com>

	* debian/control.in: Renamed to debian/control.
	* debian/control: Added new build dependencies.
	* debian/rules: Added support for autotools.

2010-11-19  Petr Machata  <pmachata@redhat.com>

	* testsuite/ltrace.main/system_calls.exp: On s390x, names of mmap,
	fstat and stat system calls are different.

2010-11-19  Petr Machata  <pmachata@redhat.com>

	* testsuite/lib/ltrace.exp (ltrace_verify_output): Add function
	argument with grep flavor to use.

2010-11-19  Petr Machata  <pmachata@redhat.com>

	* testsuite/lib/ltrace.exp (ltrace_verify_output): Add function
	argument with grep flavor to use.

2010-11-18  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ppc/ptrace.h (GET_FPREG): New macro.
	(proc_archdep): Drop func_args, sysc_args.
	* sysdeps/linux-gnu/ppc/trace.c: Use GET_FPREG.

2010-11-05  Zachary T Welch <zwelch@codesourcery,com>

	* testsuite/: Convert to autotools and add to distribution.
	  Update test files to allow out-of-tree builds.
	* configure.ac: Add maintainer mode, create Makefiles in
	  testsuite/ tree, improve --with-libunwind configuration
	  to accept non-standard install path.
	* Makefile.am: Don't distribute autogen.sh and .gitignore.
	  Remove config.h.in during 'make maintainer-clean'
	* .gitignore: Exclude test suite build/run artifacts.

2010-11-03  Petr Machata  <pmachata@redhat.com>

	* common.h: Add arch_ptr to callstack_element
	* handle_event.c: Move callstack manipulation so that it's around
	the output calls--push before output_left, pop after output_right.
	(callstack_pop): Free the arch_ptr if it was set.
	* sysdeps/linux-gnu/x86_64/ptrace.h: Split the archdep struct to
	the proc part and the callstack_element part.
	* sysdeps/linux-gnu/x86_64/trace.c (save_register_args): Init
	callstack_element.arch_ptr.
	(gimme_arg): Use it.

2010-11-03  Petr Machata  <pmachata@redhat.com>

	* testsuite/ltrace.main/parameters.* (func_work, func_call): new
	functions for testing nested library calls

2010-11-03  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/x86_64/trace.c: Fix passing and returning
	float and double values.
	* sysdeps/linux-gnu/x86_64/ptrace.h: Likewise.

2010-11-03  Petr Machata  <pmachata@redhat.com>

	* testsuite/ltrace.main/parameters.* (func_float): now returns
	float to test proper decoding of float return values.
	(func_double): new function similar to func_float.

2010-11-03  Petr Machata  <pmachata@redhat.com>

	* configure.ac: Don't assume that libelf comes with a .pc file.

2010-11-01  Petr Machata  <pmachata@redhat.com>

	* configure.ac: ${host_cpu} for PPC64 is "powerpc64".

2010-11-01  Petr Machata  <pmachata@redhat.com>

	* configure.ac: ${host_cpu} for PPC64 is "powerpc64".

2010-10-31  Joe Damato <ice799@gmail.com>

	* Makefile.am: Add autotool support for libunwind.
	* configure.ac: Ditto.
	* common.h: New structure fields for libunwind.
	* execute_program.c: Initialize libunwind.
	* proc.c: Ditto.
	* options.c: New command line option (-w).
	* options.h: New options parameter for libunwind.
	* output.c: Use libunwind to do backtraces.

2010-10-27  Petr Machata  <pmachata@redhat.com>

	* ltrace-elf.c (loaddata): Refactored code for loading Elf_Data.
	(inside, maybe_pick_section, get_section_covering, read32be): New
	functions.
	(get_glink_vma): New function, computes .plt glink_vma address on
	PPCs.
	(do_init_elf): Load DT_PPC_GOT, .plt on PPC.
	Use loaddata to load section data.

2010-10-25  Petr Machata  <pmachata@redhat.com>

	* handle_event.c (handle_breakpoint): Do not assume that we can
	find the breakpoint by address.

2010-10-25  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/ppc/ptrace.h (proc_archdep): New structure.
	* sysdeps/linux-gnu/ppc/trace.c
	(get_arch_dep): Initialize proc->arch_ptr.
	(gimme_arg_regset, gimme_retval): New functions.
	(gimme_arg): Dispatch to gimme_retval or gimme_arg_regset.
	(save_register_args): Fill in the stub.

2010-10-18  Petr Machata <pmachata@redhat.com>

	* sysdeps/linux-gnu/s390/trace.c: Support 5th argument fetching on s390.
	  Contributed by Supriya Kannery.
	* sysdeps/linux-gnu/s390/arch.h: Add support for fork/exec on 390.
	* output.c: Cleanup.

2010-10-14  Petr Machata <pmachata@redhat.com>

	* ltrace.1: Remove claim that only 32-bit binaries are supported.
	* testsuite/ltrace.minor/trace-fork.exp: Make fork test suite more accurate

2010-10-08  Edgar E. Iglesias  <edgar@axis.com>

	* sysdeps/linux-gnu/cris/Makefile: New.
	* sysdeps/linux-gnu/cris/arch.h: Ditto.
	* sysdeps/linux-gnu/cris/plt.c: Ditto.
	* sysdeps/linux-gnu/cris/ptrace.h: Ditto.
	* sysdeps/linux-gnu/cris/regs.c: Ditto.
	* sysdeps/linux-gnu/cris/signalent.h: Ditto.
	* sysdeps/linux-gnu/cris/syscallent.h: Ditto.
	* sysdeps/linux-gnu/cris/trace.c: Ditto.

2010-10-08  Zach Welch <zwelch@codesourcery.com>

	* Ensure Thumb mode gets set correct when updating ARM PC.

2010-10-08  Zach Welch <zwelch@codesourcery.com>

	* Allow ARM PLT lookups to work when containing Thumb stubs.

2010-10-07  Zach Welch <zwelch@codesourcery.com>

	* Improve breakpoint insertion to work with Thumb procedures.

2010-09-30  Zach Welch <zwelch@codesourcery.com>

	* Improve ARM syscall_p to handle Thumb-2 syscalls.

2010-02-03  Marc Kleine-Budde <mkl@pengutronix.de>

	* .gitignore: added git ignore

	* Makefile.in, VERSION, aclocal.m4, configure, mkdist,
	sysdeps/linux-gnu/Makefile, sysdeps/linux-gnu/alpha/Makefile,
	sysdeps/linux-gnu/arm/Makefile, sysdeps/linux-gnu/i386/Makefile,
	sysdeps/linux-gnu/ia64/Makefile, sysdeps/linux-gnu/m68k/Makefile,
	sysdeps/linux-gnu/mipsel/Makefile, sysdeps/linux-gnu/ppc/Makefile,
	sysdeps/linux-gnu/s390/Makefile, sysdeps/linux-gnu/sparc/Makefile,
	sysdeps/linux-gnu/x86_64/Makefile: autotoolization: remove to-be
	generated file This patch remove all files that will be
	autogenerated by the autoools from the tree.

	* Makefile.am, autogen.sh, configure.ac, sysdeps/Makefile.am,
	sysdeps/linux-gnu/Makefile.am,
	sysdeps/linux-gnu/alpha/Makefile.am,
	sysdeps/linux-gnu/arch_syscallent.h,
	sysdeps/linux-gnu/arm/Makefile.am,
	sysdeps/linux-gnu/i386/Makefile.am,
	sysdeps/linux-gnu/ia64/Makefile.am,
	sysdeps/linux-gnu/m68k/Makefile.am,
	sysdeps/linux-gnu/mipsel/Makefile.am,
	sysdeps/linux-gnu/ppc/Makefile.am,
	sysdeps/linux-gnu/s390/Makefile.am,
	sysdeps/linux-gnu/signalent1.h,
	sysdeps/linux-gnu/sparc/Makefile.am,
	sysdeps/linux-gnu/syscallent1.h,
	sysdeps/linux-gnu/x86_64/Makefile.am, sysdeps/sysdep.h:
	autotoolization: add basic autotools infrastructure This patch add
	a basic autotools infrastructure to ltrace. Native compilation on
	i386, x86_64 and ppc. Cross compilation has been tested against
	arm.

	* common.h, elf.c, elf.h, ltrace-elf.c, ltrace-elf.h: rename
	elf.{c,h} into ltrace-elf.{c,h} This patch renames these files to
	avoid a conflict with the header files of the "libelfg0-dev"
	package. This avoids the "-iquote" magic.

2010-01-08  Arnaud Patard <apatard@mandriva.com>

	* sysdeps/linux-gnu/mipsel/mipsel.h: Add floating point register offset.
	* sysdeps/linux-gnu/x86_64/{ptrace.h, trace.c}: Save a copy of register vlaues and handle floats.
	* sysdeps/linux-gnu/mips: Symlink created.
	* sysdeps/linux-gnu/mipsel/trace.c: Handle more argument types.
	* sysdeps/linux-gnu/trace.c: Don't use PTRACE_SINGLESTEP for MIPS.
	* sysdeps/linux-gnu/arm/trace.c: Fix return value.
	* handle_event.c: Fix for MIPS.
	* sysdeps/linux-gnu/mipsel/{plt.c, regs.c}: Fix includes.
	* sysdeps/linux-gnu/mipsetl/syscallent.h: Cleanup.
	* sysdeps/linux-gnu/mipsel/signalent.h: Cleanup.
	* sysdeps/linux-gnu/trace.c: Fix umovelong.
	* .gitignore: New file.
	* handle_event.c: abort() when call nesting too deep.
	* testsuite/ltrace.minor/count-record.exp: Fix tests.
	* handle_event.c: Handle functions which do not increase stack depth.
	* testsuite/ltrace.torture/signals.c: Don't use magic numbers.
	* testsuite/ltrace.minor/demangle-lib.cpp: Fix build failure.
	* sysdeps/linux-gnu/mksyscallent_mips: New file.
	* elf.c: Fix '-l' on MIPS.
	* debug.h: Add macro guard.
	* breakpoints.c: Fix MIPS breakpoints.

2009-10-06  Joe Damato <ice799@gmail.com>

	* handle_event.c: Do not print signals when -b is used.
	* options.h, options.c: A new option (-b) was added.
	* ltrace.1: Documentation for -b was added.

2009-09-07  Joe Damato <ice799@gmail.com>

	* options.c, options.h: A new option (-g) was added.
	* ltrace.1: Documentation for -g was added.
	* handle_event.c: Do not print when -g is used.
	* elf.c: Ditto.

2009-07-25  Juan Cespedes <cespedes@debian.org>

	* New release 0.5.3
	* Created "libltrace.a" and a simple main program that calls it
	* Added support for callbacks to libltrace
	* Got rid of GNU's Autoconf stuff
	* Make it work again in sparc with new kernel headers

2009-05-21  Juan Cespedes <cespedes@debian.org>

	* Release version 0.5.2
	* new fork() and clone() approach:
	  + used PTRACE_O_TRACE{FORK,VFORK,CLONE} to trace newly created
	    processes instead of figuring it out whether a given syscall
	    would create another process or not
	  That way, new processes are always traced from the very beginning
	* Use PTRACE_O_TRACEEXEC to check if a process has called exec()

2009-05-07  Juan Cespedes <cespedes@debian.org>

	* clean-up of structs Process, Breakpoint, Function and Event

2009-04-07  Juan Cespedes <cespedes@debian.org>

	* Improved documentation
	* Cleaning up of "struct options"
	* wait_for_something -> sysdeps/linux/events.c:next_event()
	* wait for new children to stop instead of assuming they have stopped

2009-02-11  Juan Cespedes <cespedes@debian.org>

	* Fixed bug present since the first version (!) of ltrace,
	  which caused many programs to segfault when a signal is received:
	  + When a breakpoint is hit, and we need to continue with it, we:
	    1) remove the breakpoint
	    2) order a SINGLESTEP
	    3) when control comes back, set the breakpoint again
	    4) let the process continue
	  + The problem came when a signal is received in the middle
	    of all this (specifically, between 2) and 3)).
	    If this is so, we treat the signal "in the usual way",
	    it is, at the end we issue a "CONTINUE" instead of the
	    needed SINGLESTEP.

2008-12-10  Juan Cespedes <cespedes@debian.org>

	* summary.c: Fix "ltrace -o -c"
	* mkdist: rm -rf autom4te.cache
	* debian/control.ini: re-added armel and armeb

2008-12-10  Juan Cespedes <cespedes@debian.org>

	* Release version 0.5.1

2008-12-10  Juan Cespedes <cespedes@debian.org>

	* Patches from Anderson Lizardo and Riku Voipio:
	  + Add generic support for arm targets
	  + Save funtion arguments on arm
	  + Add thumb instruction support
	  + Add basic arm/eabi support
	  + fix exec() testcase cleanup
	  + fix memory corruption in clone() test
	  + fix tracing child with "-p" option

2008-02-27  Luis Machado  <luisgpm@br.ibm.com>

	* sysdeps/linux-gnu/ppc/trace.c (arch_umovelong): New function.
	* sysdeps/linux-gnu/ppc/regs.c (get_instruction): New function.
	  (get_count_register): New function.
	* sysdeps/linux-gnu/ppc/arch.h (ARCH_HAVE_UMOVELONG): New define.
	* sysdeps/linux-gnu/trace.c (umovelong): Create arch-specific
	  variant.
	* ltrace.h (umovelong): Change prototype.
	* process_event.c (process_breakpoint): Handle specifics of ppc32 PLT.
	* display_args.c: Call umovelong with info parameter.

2007-09-04  Juan Cespedes  <cespedes@debian.org>

	* ltrace.h: Take arg_num out of arg_type_info
	* linux-gnu/*/trace.c: gimme_arg(): Add arg_num as argument
	* ltrace.c: check for existence of $HOME before using it
	* General: Small fixes (indentation)

2007-08-31  Juan Cespedes  <cespedes@debian.org>

	* General: Small fixes (indentation, typos, clean-up of code)
	* ltrace.c: Close output file on exit
	* ltrace.c: use getenv("HOME") instead of getpwuid(geteuid())->pw_dir
	* read_config_file.c, display_args.c: remove "ignore" argtype;
	  that's what "void" is for
	* packaging/debian/: misc fixes, sync with version 0.5-2
	* etc/ltrace.conf: added more system calls
	* testsuite/ltrace.minor/trace-clone.c: sleep(1) to avoid earlier
	  termination of process
	* sysdeps/linux-gnu/trace.c: trace_pid(): reverted Petr's patch
	  to wait for child to stop, as it stopped following clone()
	* process_event.c: Disable breakpoints before doing fork() (again!),
	  to make children work as expected

2007-05-10  Petr Machata  <pmachata@redhat.com>

	* Based on work of Supriya Kannery <supriyak@in.ibm.com>
	* wait_for_something.c, process_event.c: Tracing across exec.
	* sysdeps/linux-gnu/trace.c, ltrace.h: New interface was_exec.
	* testsuite/ltrace.minor/trace-exec.c,
	testsuite/ltrace.minor/trace-exec.exp,
	testsuite/ltrace.minor/trace-exec1.c: Testcase for same.

2007-05-09  Petr Machata  <pmachata@redhat.com>

	* wait_for_something.c (wait_for_something): Interpret SIGILL,
	SIGEMT and SIGSEGV as valid breakpoint signals, if instruction
	pointer referes to breakpoint.
	* testsuite/ltrace.torture/ia64-sigill.s,
	* testsuite/ltrace.torture/ia64-sigill.exp: Testcase for same.
	IA64-centric, because the only reproducer is there.

2007-01-19  Petr Machata  <pmachata@redhat.com>

	* sysdeps/linux-gnu/trace.c (trace_pid): wait for child to stop,
	as indicated by ptrace documentation.
	* proc.c (open_pid): start the traced child again, it will have
	been stopped after trace_pid.  Fixes tracing with -p.
	* breakpoints.c: initialize proc->breakpoints always, don't wait
	untill it might be needed.  This renders a check in insert_breakpoint
	superfluous.  Fixes a sigsegvs experienced with -L.

2006-12-28  Eric Vaitl  <evaitl@cisco.com>

	* sysdeps/linux-gnu/mipsel/* Added mipsel support
	* debug.h Added printf format attribute to debug_
	* elf.h Added mips relocation data to struct ltelf
	* elf.c (do_init_elf) Read mips relocation data
	* elf.c (read_elf) On the mips loop through mips_gotsym 
	instead of relplt_count.
	* process_event.c (process_breakpoint) For the mips, 
	conditionally add a new breakpoint if the address of the 
	function changes because of lazy relocation. 
	* breakpoints.c (enable_all_breakpoints) For the mips, 
	reinsert breakpoints after the child has been started. 
	

2006-11-30  Petr Machata  <pmachata@redhat.com>

	* elf.c (elf_gnu_hash): renamed to private_elf_gnu_hash to avoid
	conflicts with non-static version from libelf.

2006-11-30  Petr Machata  <pmachata@redhat.com>

	* elf.c (in_load_libraries): removed unused variables
	bitmask_idxbits and shift.
	* elf.c (do_init_elf, opd2addr): use ARCH_SUPPORTS_OPD to
	determine whether to load/use .opd section
	* sysdeps/linux-gnu/*/arch.h: define ARCH_SUPPORTS_OPD accordingly
	* breakpoints.c (insert_breakpoint): rewrite loop to canonical for

2006-10-13  Olaf Hering <olh@suse.de>

	* options.c: fix up typo for config file

2006-09-25  Olaf Hering <olh@suse.de>

	* elf.c, elf.h : remove confilict with glibc SHT_GNU_HASH, include
	elf_gnu_hash() directly, remove special casing and fix up output
	specifier.

2006-09-18    Steve Fink <sphink@gmail.com>

	* display_args.c: store arg_num in arg_type_info
	* display_args.c: support 'double' parameters
	* display_args.c: fix implementation of float,double params for ia64
	* output.c, process_event.c: store arg_num in arg_type_info
	* read_config_file.c: support 'double' parameters
	* read_config_file.c: store arg_num in arg_type_info, and as a result,
	stop using singleton objects for any of the arg_type_info's.
	* read_config_file.c: improve support for struct field alignments
	* read_config_file.c: count floating-point parameters to support ia64
	float parameter passing
	* sysdeps/README, sysdeps/linux-gnu/*/trace.c: pass in the full
	arg_type_info to gimme_arg rather than just the arg_num (necessary
	for float params on some architectures)
	* sysdeps/linux-gnu/ia64/trace.c: accommodate register renaming when
	fetching the parameters of a function after it has returned
	* sysdeps/linux-gnu/ia64/trace.c: support floating point parameters

2006-09-15  Olaf Hering <olh@suse.de>

	* Makefile.in : allow installation as non-root user, print out
	some debugging information before running test suite.
	* summary.c : allow compilation without USE_DEMANGLE
	* sysdeps/linux-gnu/ppc/plt.c : fix warning in sym2addr
	* sysdeps/linux-gnu/ia64/regs.c : fix warning when finding
	instruction slot
	* elf.c : fix up error created in 2006-07-26 refactor

2006-08-14  Steve Fink <sphink@gmail.com>

	* demangle.c: remove my_demagle_dict_clear(), remove atexit() call
	for same.  Avoid potential segfault as demangling uses the
	dictionary.

2006-08-07  Steve Fink <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c,
	testsuite/ltrace.main/parameters-lib.c,
	testsuite/ltrace.main/parameters.c,
	testsuite/ltrace.main/parameters.conf,
	testsuite/ltrace.main/parameters.exp: Allow parameters to be
	pointers to structs, which themselves can contain
	(nearly) any other type, including other structs or pointers to
	structs.


2006-08-07  Steve Fink <sphink@gmail.com>

	* defs.h, display_args.c, etc/ltrace.conf, ltrace.1, ltrace.h,
	options.c, options.h, read_config_file.c,
	testsuite/ltrace.main/parameters-lib.c,
	testsuite/ltrace.main/parameters.c,
	testsuite/ltrace.main/parameters.conf,
	testsuite/ltrace.main/parameters.exp: array arguments

2006-08-07  Steve Fink <sphink@gmail.com>

	* etc/ltrace.conf, read_config_file.c,
	testsuite/ltrace.main/parameters-lib.c,
	testsuite/ltrace.main/parameters.c,
	testsuite/ltrace.main/parameters.conf,
	testsuite/ltrace.main/parameters.exp: add ability to typedef

2006-08-07  Steve Fink <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c,
	testsuite/ltrace.main/parameters-lib.c,
	testsuite/ltrace.main/parameters.c,
	testsuite/ltrace.main/parameters.conf,
	testsuite/ltrace.main/parameters.exp: short, ushort and float types

2006-08-07  Steve Fink <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c,
	testsuite/ltrace.main/parameters-lib.c,
	testsuite/ltrace.main/parameters.c,
	testsuite/ltrace.main/parameters.conf,
	testsuite/ltrace.main/parameters.exp: implement enumerated parameters

2006-08-07  Steve Fink <sphink@gmail.com>

	* testsuite/ltrace.main/Makefile.in :  update testsuite for
	new parameters
	* testsuite/ltrace.main/parameters-lib.c : added
	* testsuite/ltrace.main/parameters.c : added
	* testsuite/ltrace.main/parameters.conf : added
	* testsuite/ltrace.main/parameters.exp : added

2006-08-07  Steve Fink  <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c,
	sysdeps/README, sysdeps/linux-gnu-trace.c : switch to passing
	around values rather than argument numbers that need to be fetched
	(needed for pointer params)

2006-08-07  Steve Fink <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c:
	implement ignored arguments

2006-08-07  Steve Fink <sphink@gmail.com>

	* display_args.c, etc/ltrace.conf, ltrace.h, read_config_file.c:
	implement string[argN] and string[N] parameter descriptors

2006-08-07  Steve Fink <sphink@gmail.com>

	* ltrace.h, output.c, read_config_file.c : use arg_type_info in
	place of arg_type in order to eventually be able to record
	properties along with types.

2006-07-20  Steve Fink <sphink@gmail.com>

	* testsuite/lib/ltrace.exp: better quoting and error detection for
	ltrace_verify_output's call to grep

2006-08-07  Steve Fink  <sphink@gmail.com>

	* ltrace.1: update bug email addr

2006-07-26  Ian Wienand  <ianw@debian.org>

	* elf.c: refactor opd2addr to not pass void* (fix warnings)

2006-07-18  Petr Machata <pmachata@redhat.com>

	* elf.c: replace nonexistant elf_plt2addr with opd2addr, fix
	typo, and fix WEAK symbol detection
	* sysdeps/linux-gnu/ppc/arch.h: define breakpoint instruction,
	its length, etc., also on ppc32

2006-07-18  Petr Machata <pmachata@redhat.com>

	* elf.c: support .gnu.hash ELF entry
	* elf.h: likewise

2006-07-18  Petr Machata  <pmachata@redhat.com>

	* options.c: don't hardcode version number

2006-07-18  Justin Pryzby <justinpryzby@users.sourceforge.net>

	* ltrace.1: make demagle clearer

2006-07-16  Steve Fink  <sphink@gmail.com>

	* options.c: implement -F flag for alternate config file(s)
	* ltrace.c: load SYSCONFDIR/ltrace.conf and ~/.ltrace.conf by default

2006-06-19  Ian Wienand  <ianw@ieee.org>

	* sysdeps/linux-gnu/mksyscallent: update, fix for ia64
	* sysdeps/linux-gnu/i386/syscallent.h: regenerate to 2.6.17
	* sysdeps/linux-gnu/i386/signalent.h: likewise
	* sysdeps/linux-gnu/arm/syscallent.h: likewise
	* sysdeps/linux-gnu/arm/signalent.h: likewise
	* sysdeps/linux-gnu/m68k/syscallent.h: likewise
	* sysdeps/linux-gnu/m68k/signalent.h: likewise
	* sysdeps/linux-gnu/ia64/syscallent.h: likewise
	* sysdeps/linux-gnu/ia64/signalent.h: likewise

2006-06-19  Heiko Carstens <heiko.carstens@de.ibm.com>

	* sysdeps/linux-gnu/s390/syscalls31.h: update to 2.6.17
	* sysdeps/linux-gnu/s390/syscalls64.h: ditto

2006-06-16  Justin Pryzby <justinpryzby@users.sourceforge.net>

	* ltrace.1: spelling fix
	* TODO: spelling fix

2006-06-14  Ian Wienand  <ianw@gelato.unsw.edu.au>

	* configure.ac: Bump version to 0.5 for Paull Gillam's PPC64
	non-exec PLT patch (as merged below).
	* breakpoints.c: merge
	* elf.c: merge
	* elf.h: merge
	* ltrace.h: merge
	* output.c: merge
	* process_event.c: merge
	* sysdeps/linux-gnu/alpha/plt.c: merge
	* sysdeps/linux-gnu/arm/plt.c: merge
	* sysdeps/linux-gnu/breakpoint.c: merge
	* sysdeps/linux-gnu/i386/plt.c: merge
	* sysdeps/linux-gnu/ia64/plt.c: merge
	* sysdeps/linux-gnu/m68k/plt.c: merge
	* sysdeps/linux-gnu/ppc/arch.h: merge
	* sysdeps/linux-gnu/ppc/arch.h.rej: merge
	* sysdeps/linux-gnu/ppc/plt.c: merge
	* sysdeps/linux-gnu/s390/plt.c: merge
	* sysdeps/linux-gnu/sparc/plt.c: merge
	* sysdeps/linux-gnu/x86_64/plt.c: merge


2006-05-11  Heiko Carstens <heiko.carstens@de.ibm.com>

	* sysdeps/linux-gnu/mksyscallent_s390: add
	* sysdeps/linux-gnu/s390/syscalls31.h: update to 2.6.16
	* sysdeps/linux-gnu/s390/syscalls64.h: ditto

2006-04-24  Paul Gilliam <pgilliam@us.ibm.com>

	* elf.c: Use PLT_REINITALISATION_BP for those architectures that need
	to re-initialize breakpoints after the dynamic linker has run.  Also,
	use value of "e_entry" for address of PLT_REINITALISATION_BP if the
	 target program has been stripped.
	* ltrace.1: Note that fact that "-X" is only available on architectures
	that need it.
	* options.c: Use PLT_REINITALISATION_BP for those architectures that
	need to re-initialize breakpoints after the dynamic linker has run.
	* process_event.c: ditto.
	* sysdeps/linux-gnu/ppc/arch.h: This is the only such architecture.
	* sysdeps/linux-gnu/arm/arch.h: Delete use of PLT_REINITALISATION_BP.
	* sysdeps/linux-gnu/m68k/arch.h: ditto.
	* sysdeps/linux-gnu/alpha/arch.h: ditto.
	* sysdeps/linux-gnu/i386/arch.h: ditto.
	* sysdeps/linux-gnu/x86_64/arch.h: ditto.
	* sysdeps/linux-gnu/s390/arch.h: ditto.
	* sysdeps/linux-gnu/ia64/arch.h: ditto.
	* sysdeps/linux-gnu/sparc/arch.h: ditto.

2006-04-24  Paul Gilliam <pgilliam@us.ibm.com>

	* elf.c: Adds some casts to keep a more picky version of GCC happy.
	* sysdeps/linux-gnu/trace.c: ditto.
	* sysdeps/linux-gnu/breakpoint.c: ditto.
	* ltrace.h: ditto.

2006-04-24  Paul Gilliam <pgilliam@us.ibm.com>

	* summery.c: Correct a typo prevented the inclusion of "demangle.h".

2006-03-16  Ian Wienand  <ianw@gelato.unsw.edu.au>

	* testsuite/ltrace.minor/trace-clone.c: use __clone2() for IA64
	clone test

2006-03=13  Paul Gilliam <pgilliam@us.ibm.com>

	* Makefile.in: Add targets to support testsuite, including 'check'.
	* confiure.ac: Add testsuite Makefile's to AC_OUTPUT.
	* testsuite: Add dejagnu base testsuite.
	* testsuite/config/: Add
	* testsuite/config/unix.exp: Add
	* testsuite/lib/: Add
	* testsuite/lib/compiler.c: Add
	* testsuite/lib/compiler.cc: Add
	* testsuite/lib/ltrace.exp: Add
	* testsuite/ltrace.main/: Add
	* testsuite/ltrace.main/main.c: Add
	* testsuite/ltrace.main/main.exp: Add
	* testsuite/ltrace.main/main-internal-1.c: Add
	* testsuite/ltrace.main/main-internal.c: Add
	* testsuite/ltrace.main/main-internal.exp: Add
	* testsuite/ltrace.main/main-lib.c: Add
	* testsuite/ltrace.main/Makefile.in: Add
	* testsuite/ltrace.main/signals.c: Add
	* testsuite/ltrace.main/signals.exp: Add
	* testsuite/ltrace.main/system_calls.c: Add
	* testsuite/ltrace.main/system_calls.exp: Add
	* testsuite/ltrace.minor/: Add
	* testsuite/ltrace.minor/attach-process.c: Add
	* testsuite/ltrace.minor/attach-process.exp: Add
	* testsuite/ltrace.minor/count-record.c: Add
	* testsuite/ltrace.minor/count-record.exp: Add
	* testsuite/ltrace.minor/demangle.cpp: Add
	* testsuite/ltrace.minor/demangle.exp: Add
	* testsuite/ltrace.minor/demangle.h: Add
	* testsuite/ltrace.minor/demangle-lib.cpp: Add
	* testsuite/ltrace.minor/Makefile.in: Add
	* testsuite/ltrace.minor/print-instruction-pointer.c: Add
	* testsuite/ltrace.minor/print-instruction-pointer.exp: Add
	* testsuite/ltrace.minor/time-record.c: Add
	* testsuite/ltrace.minor/time-record-T.exp: Add
	* testsuite/ltrace.minor/time-record-tt.exp: Add
	* testsuite/ltrace.minor/time-record-ttt.exp: Add
	* testsuite/ltrace.minor/trace-clone.c: Add
	* testsuite/ltrace.minor/trace-clone.exp: Add
	* testsuite/ltrace.minor/trace-fork.c: Add
	* testsuite/ltrace.minor/trace-fork.exp: Add
	* testsuite/ltrace.torture/: Add
	* testsuite/ltrace.torture/Makefile.in: Add
	* testsuite/ltrace.torture/signals.c: Add
	* testsuite/ltrace.torture/signals.exp: Add
	* testsuite/Makefile.in: Add
	* testsuite/README: Add
	* testsuite/run-my-tests.sh: Add
	* testsuite/so_test1/: Add
	* testsuite/so_test2/: Add

2006-03-13  Paul Gilliam <pgilliam@us.ibm.com>

	* options.h: New structure for opt_x list elements, now with 'found'.
	* options.c: Use new opt_x_t structure, initializing 'found' to 0.
	* elf.c: Use new 'found' field for better error checking.

2006-03-06  Ian Wienand  <ianw@ieee.org>

	* Makefile.in: remove unneeded dirs from make dist; use rm
	directly.

2006-02-22  Ian Wienand  <ianw@ieee.org>

	* COPYING: update from FSF to update address
	* Makefile.in: check for SVN checkout with make dist.

2006-02-21  Ian Wienand  <ianw@ieee.org>

	* README: update to point to Alioth list

2006-02-21  Ian Wienand  <ianw@ieee.org>

	* lots!: Rebase from RedHat 0.3.36-4.2 package.  Forward port most
	of the below changes that weren't already there.  Bump version to
	0.4 as there are two added architectures and internal API changes.
	All changes from this point on should be reflected in this file.

2006-02-17  Ian Wienand  <ianw@ieee.org>

	* sysdeps/linux-gnu/ia64/arch.h: add ia64 support
	* sysdeps/linux-gnu/ia64/breakpoint.c: add
	* sysdeps/linux-gnu/ia64/Makefile: add
	* sysdeps/linux-gnu/ia64/plt.c: add
	* sysdeps/linux-gnu/ia64/ptrace.h: add
	* sysdeps/linux-gnu/ia64/regs.c: add
	* sysdeps/linux-gnu/ia64/signalent.h: add
	* sysdeps/linux-gnu/ia64/syscallent.h: add
	* sysdeps/linux-gnu/ia64/trace.c: add
	* elf.h: add extra field for PLT size
	* elf.c: put in PLT size
	* sysdeps/linux-gnu/breakpoint.c: add arch breakpoint override
	* sysdeps/linux-gnu/trace.c: don't single step after breakpoint for
	ia64

	* configure.ac: add version to AC_INIT, bump version to 0.3.38
	* options.c: use PACKAGE_VERSION

2006-02-16  Ian Wienand  <ianw@ieee.org>

	* Makefile.in: install documentation into share/doc, make dist
	target from SVN export.

2006-02-16  Rajeev V. Pillai <rajeevvp@yahoo.com>

	* Makefile.in: pass through CPP and LD FLAGS

2006-02-16  Ian Wienand  <ianw@ieee.org>

	* read_config_file.c: initialise pt stack argument to stop warning
	* summary.c: make show_summary() obey -C for demangaling function names

2006-02-16 Bernd Zeimetz <bernd@zeimetz.de>

	* ltrace.1: reference reportbug

2006-02-16 Colin S. Miller <csmiller@iname.com>

	* ltrace.1: fix debug typo

2006-02-16  Andrew Stribblehill <ads@debian.org>

	* etc/ltrace.conf: fix putenv typo

2006-02-16  Ian Wienand <ianw@ieee.org>

	* README: update
	* Makefile.in: remove obsolete -I- for -iquote, add TAGS target
	* debug.c, debug.h: __PRETTY_FUNCTION__ is const; change specifier
	to stop warnings.
	* ltrace.1: add a note about not tracing dlopen()ed libraries