]> Git Repo - binutils.git/blob - gdb/ChangeLog
* xcofflink.c (xcoff_link_input_bfd): Fix scan for C_BINCL/C_EINCL
[binutils.git] / gdb / ChangeLog
1 Thu Mar 21 10:56:41 1996  Ian Lance Taylor  <[email protected]>
2
3         * config.in: Rename from config.h.in.
4         * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
5         Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
6         * configure: Rebuild.
7         * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
8         Set CONFIG_HEADERS to config.h:config.in.
9
10 Tue Mar 19 12:47:51 1996  Peter Schauer  ([email protected])
11
12         * partial-stab.h (case N_ENDM):  Finish current partial symbol
13         table for Solaris 2 cc.
14
15 Tue Mar 19 10:39:15 1996  Jeffrey A Law  ([email protected])
16
17         * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
18         PC in the registers array.  From Peter Schauer.
19
20 Mon Mar 18 13:47:09 1996  Fred Fish  <[email protected]>
21
22         * symfile.c (reread_symbols): Reinitialize bcache struct
23         members to zero using memset.  Also use memset to reinit
24         global_psymbols and static_psymbols, rather than explicitly
25         resetting each structure member.
26
27 Sat Mar 16 19:47:36 1996  Fred Fish  <[email protected]>
28
29         * configure.in: Add fragment to create stamp-h.
30         
31         From Peter Schauer <[email protected]>
32         * configure.in (AC_CHECK_HEADERS):  Check for link.h.
33         * configure:  Regenerate with autoconf.
34         * config.h.in:  Regenerate with autoheader.
35         * config/i386/nm-linux.h:  Include solib.h only if HAVE_LINK_H
36         is defined.
37         * solib.c:  Exclude most of the code if HAVE_LINK_H is not defined.
38         * config/i386/linux.mh:  Reinstate XM_CLIBS, it is needed for
39         older a.out based systems.
40
41 Sat Mar 16 16:45:43 1996  Fred Fish  <[email protected]>
42
43         * config.h.in: New file.
44         * acconfig.h: New file, for autoheader.
45         * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
46         * configure: Regenerate.
47         * Makefile.in (defs_h): Add config.h
48         (distclean): Remove config.h and stamp-h during distclean.
49         (config.h, stamp-h): New targets to remake config.h when necessary.
50         * defs.h (config.h): Include before any other includes or defines.
51         * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
52         * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
53
54 Sat Mar 16 14:55:27 1996  Fred Fish  <[email protected]>
55
56         From Peter Schauer <[email protected]>
57         * Makefile.in (INSTALLED_LIBS):  Make sure that @LIBS@ will not
58         result in an empty line, to work around a bug in native Ultrix 4.4
59         and OSF/1-3.2C make.
60
61 Sat Mar 16 13:33:17 1996  Fred Fish  <[email protected]>
62
63         * configure.in: Add gdbserver to configdirs under linux.
64         * configure: Regenerate.
65         
66 Fri Mar 15 12:06:58 1996  J.T. Conklin  <[email protected]>
67
68         * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
69         * config/i386/tm-nbsd.h (NUM_REGS): Define.
70
71 Thu Mar 14 10:31:18 1996  Jeffrey A Law  ([email protected])
72
73         * solib.c (solib_break_names): Add _r_debug_state for
74         vanilla SVR4 implementations.  From Peter Schauer.
75
76 Mon Mar 11 14:24:57 1996  Dawn Perchik  <[email protected]>
77
78         * mon960-rom.c: New file; support mon960 rom monitor on i960.
79         * monitor.c (monitor_debug): Change remotedebug to buffer strings.
80         * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
81         epecting prompt and echo during open.
82         * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to 
83         determine if break should be sent as stop command.
84         * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
85         * i960-tdep.c (mon960_frame_chain_valid): New function for getting 
86         stack frame on mon960.
87         * Makefile.in: Add mon960 files.
88         * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
89         added i960-nindy-coff* and i960-nindy-elf* for target nindy.
90         * configure: Regenerated.
91         * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; 
92         support mon960 rom monitor on i960.
93
94 Mon Mar 11 11:02:47 1996  Steve Chamberlain  <[email protected]>
95
96         With Michael Snyder:
97         * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
98         * win32-nat.c (CHECK, DEBUG*, debug_*): New.
99         (handle_load_dll): Don't reload symbols.
100         (handle_exception):  Use the DEBUG_* names.
101         (child_wait): Add DEBUG_* code.
102         (_initialize_inftarg): Add new commands to set debug_ names.
103
104 Mon Mar 11 09:19:58 1996  Jeffrey A Law  ([email protected])
105
106         * From Peter Schauer:
107         * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
108         (bpstat_stop_status): Likewise.
109         (remove_solib_event_breakpoints): Likewise.
110         (clear_momentary_breakpoints): Likewise.
111         (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
112         if we still can't read the memory for that breakpoint.
113         (mention): Add bp_shlib_event case to keep gcc quiet.
114         
115 Fri Mar  8 12:08:12 1996  Jeffrey A Law  ([email protected])
116
117         * breakpoint.h (enum enable): New enum shlib_disabled for
118         shared library breakpoints that have been temporarily disabled.
119         * breakpoint.c: Handle temporarily disabled shared library
120         breakpoints like disabled breakpoints in most places.
121         (insert_breakpoints): Use shlib_disabled to indicate
122         that an unsettable breakpoint is only temporarily disabled.
123         (re_enable_breakpoints_in_shlibs): New function.
124         * corelow.c (solib_add_stub): After adding shared libraries,
125         try to reenable any temporarily disabled breakpoints.
126         * infcmd.c (attach_command): Likewise.
127         * infrun.c (wait_for_inferior): Likewise.
128
129 Fri Mar  8 11:41:25 1996  Ian Lance Taylor  <[email protected]>
130
131         * defs.h (extract_long_unsigned_integer): Declare.
132         * findvar.c (extract_long_unsigned_integer): New function.
133         * printcmd.c (print_scalar_formatted): Use it.
134         * valprint.c (val_print_type_code_int): Likewise.
135
136 Thu Mar  7 17:40:50 1996  Stan Shebs  <[email protected]>
137
138         * infcmd.c (do_registers_info): Ignore anonymous registers.
139         * sh-tdep.c (set processor): New command to set specific
140         processor type.
141         (sh_reg_names, sh3_reg_names): Arrays of register names for
142         SH and SH3 processors.
143         (sh_set_processor_type): New function.
144         * sh3-rom.c (sh3_open): Call it.
145         (sh3_regname): Add names of all the bank registers.
146         (sh3_supply_register): Clean up formatting.
147         * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
148         bank registers.
149         (REGISTER_NAMES): Add names of bank registers.
150         (FP15_REGNUM): Define.
151         (REGISTER_VIRTUAL_TYPE): Use it.
152         * monitor.c: Clean up some comments.
153
154 Thu Mar  7 12:09:51 1996  J.T. Conklin  <[email protected]>
155
156         * i386b-nat.c: Revert part of Mar 5 change.  FreeBSD collapsed the
157         s* and t* symbols too.
158
159 Thu Mar  7 15:18:51 1996  James G. Smith  <[email protected]>
160
161         * symfile.c (generic_load): Avoid division by zero.
162
163 Wed Mar  6 17:57:59 1996  Jeffrey A Law  ([email protected])
164
165         * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
166         not just those with HANDLE_SVR4_EXEC_EMULATORS.
167
168         From Peter Schauer:
169         * breakpoint.c (internal_breakpoint_number): Move to file scope.
170         (create_solib_event_breakpoint): Use an internal breakpoint number.
171
172 Wed Mar  6 00:32:44 1996  Wilfried Moser (Alcatel)  <[email protected]>
173
174         * valarith.c (value_in): Change builtin_type_chill_bool to
175         LA_BOOL_TYPE.
176
177 Tue Mar  5 23:48:36 1996  Wilfried Moser (Alcatel)  <[email protected]>
178
179         * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
180         (match_string_literal): Handle control sequence.
181         (match_character_literal): Deto.
182
183         * ch-lang.c (chill_printchar): Change formating of nonprintable
184         characters from C'xx' to ^(num).
185         (chill_printstr): Deto.
186         (value_chill_card, value_chill_max_min): New functions to process
187         Chill's CARD, MAX, MIN.
188         (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
189
190         * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
191         for Chill's CARD, MAX, MIN.
192
193         * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
194         and change return type from builtin_type_int to
195         builtin_type_chill_bool.
196
197 Tue Mar  5 18:54:04 1996  Stan Shebs  <[email protected]>
198
199         * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
200         from config/nm-nbsd.h.
201         * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
202         from config/sparc/tm-nbsd.h.
203
204         * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
205         instead of in config/m68k/xm-hp300hpux.h.
206
207 Tue Mar  5 12:05:35 1996  J.T. Conklin  <[email protected]>
208
209         * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
210         implementation for NetBSD systems.
211
212 Mon Mar  4 23:44:16 1996  Per Bothner  <[email protected]>
213
214         * valarith.c (binop_user_defined_p):  Return 0 for BINOP_CONCAT.
215         (value_concat):  Handle varying strings (add COERCE_VARYING_ARRAY).
216
217         * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT):  Error
218         if "function" is pointer to non-function.
219
220 Mon Mar  4 17:47:03 1996  Stan Shebs  <[email protected]>
221
222         * top.c (print_gdb_version): Update copyright year.
223
224 Mon Mar  4 14:44:54 1996  Jeffrey A Law  ([email protected])
225
226         From Peter Schauer:
227         * infrun.c (wait_for_inferior): Remove breakpoints and
228         switch terminal settings before calling SOLIB_ADD.
229         * solib.c (enable_break, SVR4 variant): Don't map in symbols
230         for the dynamic linker, the namespace pollution causes real
231         problems.
232
233 Sun Mar  3 17:18:57 1996  James G. Smith  <[email protected]>
234
235         * remote-mips.c (common_breakpoint): Explicitly terminate the
236         returned buffer.
237
238 Wed Feb 28 22:32:18 1996  Stan Shebs  <[email protected]>
239
240         From Wilfried Moser <[email protected]>:
241         * remote.c (remote_detach): Send a command 'D' to the target
242         when detaching, update the function's comments.
243
244 Wed Feb 28 15:50:12 1996  Fred Fish  <[email protected]>
245
246         * Makefile.in (VERSION): Bump version to 4.15.2 to establish
247         baseline for gdb 4.16 rerelease testing.
248
249 Wed Feb 28 13:32:05 1996  Jeffrey A Law  ([email protected])
250
251         * somsolib.c (som_solib_create_inferior_hook): Before returning
252         call clear_symtab_users.
253
254 Tue Feb 27 00:04:46 1996  Stu Grossman  ([email protected])
255
256         * remote-e7000.c (e7000_open):  Delete all breakpoints when
257         connecting to e7000.  Change connect message to allow use of
258         monitor.exp in test suite.
259         * (e7000_load):  Print transfer rate of download.
260         * symfile.c (generic_load):  Print transfer rate of download.
261
262 Sun Feb 25 13:58:33 1996  Stan Shebs  <[email protected]>
263
264         * configure.in (mips*-*-vxworks*): New config.
265         * configure: Regenerated.
266
267         * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
268         * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
269         Remove, never used.
270
271 Sat Feb 24 12:30:28 1996  Peter Schauer  ([email protected])
272
273         * partial-stab.h (case N_FUN):  Function symbols generated
274         by SPARCworks cc have a meaningless zero value, do not update
275         pst->textlow if the function symbol value is zero. 
276
277         * stabsread.c (define_symbol):  Initialize SYMBOL_TYPE field
278         for function prototype declaration symbols.
279
280 Fri Feb 23 22:33:04 1996  Stu Grossman  ([email protected])
281
282         * remote-e7000.c (e7000_load):  New routine to download via the
283         network.
284         * (e7000_wait):  Don't backup PC when we hit a breakpoint.
285         Apparantly new sh2 pods get this right...
286         * (e7000_ops):  Add call to e7000_load.
287
288 Thu Feb 22 00:52:42 1996  J.T. Conklin  <[email protected]>
289
290         * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
291         m68knbsd-nat.c: New files, support for NetBSD/m68k.
292
293         * configure.in (m68k-*-netbsd*): New config.
294         * configure: Regenerated.
295
296 Wed Feb 21 19:00:21 1996  Fred Fish  <[email protected]>
297
298         * standalone.c (open, _initialize_standalone): Fix obvious typos
299         reported by Martin Pool <[email protected]>.
300
301 Wed Feb 21 14:24:04 1996  Jeffrey A Law  ([email protected])
302
303         * solib.c (solib_create_inferior_hook): Fix thinko.
304
305 Tue Feb 20 23:59:19 1996  Jeffrey A Law  ([email protected])
306
307         * solib.c (solib_break_names): Define for Solaris and Linux.
308         (enable_break): For SVR4 systems, first try to use the debugger
309         interfaces in the dynamic linker to track shared library events
310         as they happen, then fall back to BKPT_AT_SYMBOL code.  Convert
311         BKPT_AT_SYMBOL code to use shared library event breakpoints.
312         (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
313         it no longer needs to restart/wait on the inferior.
314         * symfile.c (find_lowest_section): No longer static.
315         * symfile.h (find_lowest_section): Corresponding changes.
316
317 Tue Feb 20 18:54:08 1996  Fred Fish  <[email protected]>
318
319         * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
320         (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
321         * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
322         * config/mips/tm-mips.h: Ditto.
323         * config/pa/tm-hppa.h: Ditto.
324         * config/rs6000/tm-rs6000.h: Ditto.
325         * config/sparc/tm-sparc.h: Ditto.
326         
327 Tue Feb 20 17:32:05 1996  J.T. Conklin  <[email protected]>
328
329         * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
330
331         * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
332         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
333         #ifdef'd out definitions ---  Causes serious gdb failures on 
334         the i386.  Need to investigate further before enabling.
335
336         * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
337         fetch_core_registers): New functions.  These functions are defined
338         if FETCH_INFERIOR_REGISTERS is set.  Registers are fetched/stored
339         with ptrace PT_GETREGS/PT_SETREGS.
340
341 Tue Feb 20 16:55:06 1996  Stu Grossman  ([email protected])
342
343         * findvar.c (extract_floating store_floating):  Replace `long
344         double' with `DOUBLEST'.
345
346 Mon Feb 19 15:25:51 1996  J.T. Conklin  <[email protected]>
347
348         * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
349         Define.
350
351 Mon Feb 19 10:32:05 1996  Jeffrey A Law  ([email protected])
352
353         * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
354
355         * breakpoint.h (remove_solib_event_breakpoints): Declare.
356         * breakpoint.c (remove_solib_event_breakpoints): New function.
357         * somsolib.c (solib_create_inferior_hook): Remove all solib event
358         breakpoints before inserting any new ones.  Use a solib event
359         breakpoint for the breakpoint at "_start".
360         Remove extraneous "\n" from calls to warning.  
361         
362         * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
363         name array.
364         
365 Mon Feb 19 01:09:32 1996  Doug Evans  <[email protected]>
366
367         * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
368         for CORE_ADDR values.
369         (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
370         * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
371
372 Sun Feb 18 14:37:13 1996  Peter Schauer  ([email protected])
373
374         * mipsread.c (mipscoff_symfile_read):  Unconditionally add
375         alpha coff dynamic symbols for all symbol files.  Makes skipping
376         over the trampoline code work when stepping from a function in a
377         shared library into a function in a different shared library.
378
379 Sun Feb 18 09:27:10 1996  Stu Grossman  ([email protected])
380
381         * config/sparc/tm-sparc.h:  Define PS_FLAG_CARRY.  Define
382         RETURN_VALUE_ON_STACK to return long doubles on the stack.
383
384 Sat Feb 17 16:33:11 1996  Fred Fish  <[email protected]>
385
386         * Makefile.in (ch-exp.o): Add dependencies.
387         (various): Add gdb_string.h to dependencies that need it.
388
389 Sat Feb 17 08:57:50 1996  Fred Fish  <[email protected]>
390
391         * symmisc.c (print_symbol_bcache_statistics): Update description for
392         printing byte cache statistics.
393
394 Thu Feb 16 16:02:03 1996  Stu Grossman  ([email protected])
395
396         * Add native support for long double data type.
397         * c-exp.y (%union):  Change dval to typed_val_float.  Use DOUBLEST
398         to store actual data.  Change types of INT and FLOAT tokens to
399         typed_val_int and typed_val_float respectively.  Create new token
400         DOUBLE_KEYWORD to specify the string `double'.  Make production
401         for FLOAT use type determined by parse_number.  Add production for
402         "long double" data type.
403         * (parse_number):  Use sscanf to parse numbers as float, double or
404         long double depending upon the type of typed_val_float.dval.  Also
405         allow user to specify `f' or `l' suffix to explicitly specify
406         float or long double constants.  Change typed_val to
407         typed_val_int.
408         * (yylex):  Change typed_val to typed_val_int.  Also, scan for
409         "double" keyword.
410         * coffread.c (decode_base_type):  Add support for T_LNGDBL basic
411         type.
412         * configure, configure.in:  Add check for long double support in
413         the host compiler.
414         * defs.h:  Define DOUBLEST appropriatly depending on whether
415         HAVE_LONG_DOUBLE (from autoconf) is defined.  Also, fix prototypes
416         for functions that handle this type.
417         * expression.h (union exp_element):  doubleconst is now type
418         DOUBLEST.
419         * m2-exp.y f-exp.y (%union):  dval becomes type DOUBLEST.
420         * findvar.c (extract_floating):  Make return value be DOUBLEST.
421         Also, add support for numbers with size of long double.
422         * (store_floating):  Arg `val' is now type DOUBLEST.  Handle all
423         floating types.
424         * parser-defs.h parse.c (write_exp_elt_dblcst):  Arg expelt is now
425         DOUBLEST.
426         * valarith.c (value_binop):  Change temp variables v1, v2 and v to
427         type DOUBLEST.  Coerce type of result to long double if either op
428         was of that type.
429         * valops.c (value_arg_coerce):  If argument type is bigger than
430         double, coerce to long double.
431         * (call_function_by_hand):  If REG_STRUCT_HAS_ADDR is defined, and
432         arg type is float and > 8 bytes, then use pointer-to-object
433         calling conventions.
434         * valprint.c (print_floating):  Arg doub is now type DOUBLEST.
435         Use appropriate format and precision to print out floating point
436         values.
437         * value.h:  Fixup prototypes for value_as_double,
438         value_from_double, and unpack_double to use DOUBLEST.
439         * values.c (record_latest_value):  Remove check for invalid
440         floats.  Allow history to store them so that people may examine
441         them in hex if they want.
442         * (value_as_double unpack_double):  Change return value to DOUBLEST.
443         * (value_from_double):  Arg `num' is now DOUBLEST.
444         * (using_struct_return):  Use RETURN_VALUE_ON_STACK macro (target
445         specific) to expect certain types to always be returned on the stack.
446
447 Fri Feb 16 14:00:54 1996  Fred Fish  <[email protected]>
448
449         * bcache.c, bcache.h: New files to implement a byte cache.
450         * Makefile.in (SFILES): Add bcache.c.
451         (symtab_h): Add bcache.h.
452         (HFILES_NO_SRCDIR): add bcache.h
453         (COMMON_OBJS): Add bcache.o
454         (bcache.o): New target.
455         * dbxread.c (start_psymtab): Make global_syms & static_syms
456         type "partial_symbol **".
457         * hpread.c (hpread_start_symtab):  Ditto.
458         * os9kread.c (os9k_start_psymtab):  Ditto.
459         * stabsread.h (start_psymtab):  Ditto.
460         * {symfile.c, symfile.h} (start_psymtab_common):  Ditto.
461         * maint.c (maintenance_print_statistics): Call
462         print_symbol_bcache_statistics.
463         * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
464         and free pointers.
465         * solib.c (allocate_rt_common_objfile): Ditto.
466         * symfile.c (reread_symbols):  Ditto.
467         (free_objfile): Free psymbol bcache when objfile is freed.      
468         (objfile_relocate): Use new indirect psymbol pointers.
469         * objfiles.h (struct objfile): Add psymbol cache.
470         * symfile.c (compare_psymbols): Now passed pointers to pointers to
471         psymbols.
472         (reread_symbols): Free psymbol bcache when freeing other objfile
473         resources.
474         (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
475         psymbol using the psymbol bcache.
476         (init_psymbol_list): Psymbol lists now contain pointers rather than
477         the actual psymbols.
478         * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
479         grown arrays of pointers.
480         (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
481         bcache.
482         * symmisc.c (print_partial_symbols): Now takes pointer to pointer
483         to partial symbol.
484         (print_symbol_bcache_statistics): New function to print per objfile
485         bcache statistics.
486         (print_partial_symbol, print_partial_symbols,
487         maintenance_check_symtabs, extend_psymbol_list):
488         Account for change to pointer to pointer to partial symbol.
489         * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
490         make_symbol_completion_list): 
491         Account for change to pointer to pointer to partial symbol.
492         * symtab.h (bcache.h): Include.
493         * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
494         type "partial_symbol **".
495
496 Fri Feb 16 10:02:34 1996  Fred Fish  <[email protected]>
497
498         * dwarfread.c (free_utypes): New function.
499         (read_file_scope): Call free_utypes as cleanup, rather than just
500         freeing the utypes pointer.
501
502 Thu Feb 15 21:40:52 1996  Peter Schauer  ([email protected])
503
504         * demangle.c (is_cplus_marker):  New function, checks if a
505         character is one of the commonly used C++ marker characters.
506         * defs.h (is_cplus_marker):  Add prototype.
507         * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
508         cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
509         stabsread.c (define_symbol, read_member_functions, read_struct_fields),
510         symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
511         values.c (vb_match):  Use is_cplus_marker instead of comparison
512         with CPLUS_MARKER.
513
514 Thu Feb 15 18:08:13 1996  Fred Fish  <[email protected]>
515
516         * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
517         delete entirely someday.
518
519 Thu Feb 15 15:25:34 1996  Stan Shebs  <[email protected]>
520
521         * mpw-make.sed: Edit out makefile rebuild rule.
522         (host_alias, target_alias): Comment out instead of deleting.
523         (@LIBS@): Edit out references.
524
525 Tue Feb 13 22:56:46 1996  Fred Fish  <[email protected]>
526
527         * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
528         Use n_psyms in OBJSTAT, not psyms.
529
530 Mon Feb 12 15:59:31 1996  Doug Evans  <[email protected]>
531
532         * configure.in (sparclet-*-aout*): New config.
533         * configure: Regenerated.
534
535 Mon Feb 12 14:17:52 1996  Fred Fish  <[email protected]>
536
537         * somsolib.c (som_solib_add): Use xmalloc rather than bare
538         unchecked call to malloc.
539         * remote-mips.c (pmon_load_fast): ditto.
540         * remote-mm.c (mm_open): ditto.
541         * hpread.c (hpread_lookup_type): ditto.
542         * remote-adapt.c (adapt_open): ditto.
543
544 Mon Feb 12 13:11:32 1996  Fred Fish  <[email protected]>
545
546         * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
547         allocate_saved_f77_common_node, allocate_common_entry_node,
548         add_common_block): Use xmalloc rather than malloc, some of which
549         were unchecked.
550         * gnu-regex.c: At same point as other gdb specific changes
551         #undef malloc and then #define it to xmalloc.
552         * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
553         bare unchecked calls to malloc/realloc.
554         * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
555         unchecked call to malloc.
556
557 Wed Feb  7 11:31:26 1996  Stu Grossman  ([email protected])
558
559         * symtab.c (gdb_mangle_name):  Change opname var to be const to
560         match return val of cplus_mangle_name.
561         * i960-tdep.c:  Change arg types of next_insn to match callers.
562
563 Wed Feb  7 07:34:24 1996  Fred Fish  <[email protected]>
564
565         * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS):  Remove.  These
566         apparently aren't needed in any reasonably recent version of
567         linux.
568
569 Tue Feb  6 21:37:03 1996  Per Bothner  <[email protected]>
570
571         * stabsread.c (read_range_type):  If !self-subrange and language
572         is Chill, assume a true range.  If a true_range is a sub_subrange,
573         use builtin_type_int for index_type.
574
575 Tue Feb  6 18:38:51 1996  J.T. Conklin  <[email protected]>
576
577         * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
578         with an ANSI compiler.
579
580 start-sanitize-gdbtk
581 Tue Feb  6 16:31:25 1996  Tom Tromey  <[email protected]>
582
583         * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
584         double-clicking will work again.
585         (create_asm_win): Put "break" at end of all B1 bindings.
586         (create_file_win): Lower "sel" tag, don't raise it.
587         (ensure_line_visible): New proc.
588         (update_listing, update_assembly): Use it.
589         (create_copyright_window): Destroy window on Leave event.
590         (create_command_window): Put "break" at end of all B2 bindings.
591
592 end-sanitize-gdbtk      
593 Mon Feb  5 18:24:28 1996  Steve Chamberlain  <[email protected]>
594
595         From [email protected] (Michael Snyder):
596         * valops.c (value_arg_coerce): Coerce float to double, unless the
597         function prototype specifies float.
598         
599 Mon Feb  5 09:51:55 1996  Tom Tromey  <[email protected]>
600
601         * language.c (set_language_command): Use languages table when
602         printing available languages.
603
604 Sat Feb  3 12:22:05 1996  Fred Fish  <[email protected]>
605
606         Fix problems reported by Hans Verkuil ([email protected]):
607         * command.c (add_cmd):  Add missing initialization for enums member.
608         Reorder members to match structure declaration to make it easier to
609         tell when one is missing.
610         * exec.c (exec_file_command): Fix problem where filename in malloc'd
611         memory is referenced after being freed.
612
613 Sat Feb  3 03:26:21 1996  Peter Schauer  ([email protected])
614
615         * dwarfread.c (read_func_scope):  Avoid GDB core dumps if
616         AT_name tag is missing.
617
618         * procfs.c (procfs_stopped_by_watchpoint):  Fix logic when
619         FLTWATCH and FLTKWATCH are defined.
620
621         * remote.c (remote_read_bytes):  Advance memaddr for transfers,
622         return number of bytes transferred for partial reads.
623
624         * top.c (init_signals):  Reset SIGTRAP to SIG_DFL.
625
626 Fri Feb  2 13:40:50 1996  Steve Chamberlain  <[email protected]>
627
628         * win32-nat.c (mappings): Add ppc registers.
629         (child_resume): Turn off step for ppc.
630
631 Thu Feb  1 10:29:31 1996  Steve Chamberlain  <[email protected]>
632
633         * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
634         xm-cygwin32.h): New.
635         * config/i386/(*win32*): Becomes *cygwin32*.
636         * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
637         (powerpcle-*-cygwin32): New.
638         * configure: Regenerate.
639         * win32-nat.c  (child_create_inferior): Call CreateProcess
640         with the right program arg.
641
642 Thu Feb  1 11:01:10 1996  Jeffrey A Law  ([email protected])
643
644         * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
645
646 Wed Jan 31 19:01:28 1996  Fred Fish  <[email protected]>
647
648         * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
649
650 Wed Jan 31 18:36:27 1996  Stan Shebs  <[email protected]>
651
652         * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
653
654         * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
655
656         * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
657         here from config/i386/xm-i386mach.h, fix name.
658         * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
659         * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
660         here from config/i386/xm-ptx4.h.
661         * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
662         * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
663         * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
664         * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
665         * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
666
667         * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
668         (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
669         * config/sparc/sun4sol2.mh (NAT_FILE): Update.
670
671 Wed Jan 31 17:20:26 1996  Jeffrey A Law  ([email protected])
672
673         * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
674         floating point correctly.
675         (STORE_RETURN_VALUE): Likewise.
676         * config/pa/tm-pro.h (SOFT_FLOAT): define.
677
678 Wed Jan 31 13:34:52 1996  Fred Fish  <[email protected]>
679
680         * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): 
681         Define to what should be reasonable values.  However, apparently
682         a bug in linux mmap prevents mapped symbol tables from working.
683
684 Tue Jan 30 18:26:19 1996  Fred Fish  <[email protected]>
685
686         * defs.h (errno.h>:  Move #include closer to head of file to solve
687         obscure problem with systems that declare perror with const arg, in
688         both errno.h and stdio.h, and const is defined away by intervening
689         local include.
690
691 Tue Jan 30 15:41:10 1996  Fred Fish  <[email protected]>
692
693         From Jon Reeves <[email protected]>:
694         * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
695         (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
696
697 Mon Jan 29 19:05:58 1996  Fred Fish  <[email protected]>
698
699         * Makefile.in (diststuff): Make all-doc; diststuff target does not
700         exist in doc/Makefile.in.
701
702 Mon Jan 29 18:44:57 1996  Stan Shebs  <[email protected]>
703
704         * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
705
706 Mon Jan 29 00:10:35 1996  Wilfried Moser (Alcatel)  <[email protected]>
707
708         * ch-valprint.c (calculate_array_length): New function to
709         determine the length of an array type.
710         (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
711         array type is zero, call calculate_array_length.
712
713         * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
714         values may not be sorted. Scan all entries and set the real lower
715         and upper bound.
716
717 Sun Jan 28 15:50:42 1996  Fred Fish  <[email protected]>
718
719         * config/xm-linux.h: Move include of solib.h and #define of
720         SVR4_SHARED_LIBS from here ...
721         * config/nm-linux.h: ...to here.
722
723 Sat Jan 27 10:34:05 1996  Fred Fish  <[email protected]>
724
725         * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
726         Also check for gregset_t and fpregset_t types.
727         * configure: Regenerate.
728         * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
729         is defined.
730         (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
731         and HAVE_FPREGSET_T are defined.  These changes allow systems
732         like linux that are migrating to /proc support to use a single
733         configuration for both new and old versions.
734
735         * config/i386/linux.mt: Note that this is now for both a.out and
736         ELF systems.
737         * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
738         i386v4-nat.o
739         * config/i386/tm-linux.h (tm-sysv4.h): Include.
740         * config/i386/xm-linux.h (solib.h): Include
741         (SVR4_SHARED_LIBS): Define.
742         * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
743         (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
744         (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
745         defined.
746
747 Fri Jan 26 13:48:14 1996  Stan Shebs  <[email protected]>
748
749         * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
750         * config/i386/xm-sun386.h: Ditto.
751         * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
752
753 Thu Jan 25 16:05:53 1996  Tom Tromey  <[email protected]>
754
755         * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
756
757 Thu Jan 25 09:22:15 1996  Steve Chamberlain  <[email protected]>
758
759         From Greg McGary  <[email protected]>:
760         * dcache.c (dcache_peek, dcache_poke): Advance addr for
761         multi-byte I/O.
762
763 Thu Jan 25 13:08:51 1996  Doug Evans ([email protected])
764
765         * infrun.c (normal_stop): Fix test for shared library event.
766
767 Thu Jan 25 03:26:38 1996  Doug Evans  <[email protected]>
768
769         * configure.in (sparc64-*-*): Add default host configuration.
770 start-sanitize-gdbtk
771         (sparc64-*-solaris2* host): Link statically if GCC used.
772 end-sanitize-gdbtk
773         (sparc64-*-solaris2*): Add target configuration.
774         * configure: Regenerated.
775         * sparc/sp64sol2.mt: New file.
776
777 Wed Jan 24 22:31:37 1996  Doug Evans  <[email protected]>
778
779         * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
780
781 Wed Jan 24 15:42:24 1996  Tom Tromey  <[email protected]>
782
783         * Makefile.in (lint): Close backquotes.
784
785 start-sanitize-gdbtk
786 Wed Jan 24 15:28:41 1996  Tom Tromey  <[email protected]>
787
788         * gdbtk.tcl, gdbtk.c: Updated copyrights.
789
790         * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
791         greater.
792         * configure: Rebuilt.
793
794 end-sanitize-gdbtk      
795 Wed Jan 24 13:19:10 1996  Fred Fish  <[email protected]>
796
797         * NEWS: Make note of new record and replay feature for
798         remote debug sessions.
799         * serial.c (gdbcmd.h): Include.
800         (serial_logfile, serial_logfp, serial_reading, serial_writing):
801         Define here, for remote debug session logging.
802         (serial_log_command, serial_logchar, serial_write, serial_readchar):
803         New functions for remote debug session logging.
804         (serial_open): Open remote debug session log file when needed.
805         (serial_close): Close remote debug session log file when needed.
806         (_initialize_serial): Add set/show commands for name of remote
807         debug session log file.
808         * serial.h (serial_readchar): Declare
809         (SERIAL_READCHAR): Call serial_readchar().
810         (SERIAL_WRITE): Call serial_write().
811         (serial_close): Declare as extern.
812         (serial_logfile, serial_logfp): Declare.
813         * top.c (execute_command): Declare serial_logfp.  Log user command
814         in remote debug session log if log file is open.
815         * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
816         (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
817         * remote-array.c (SREC_SIZE): Remove, duplicates define in
818         monitor.h.
819         * remote-array.c (hexchars, hex2mem):  Remove, unused.
820         * gdbserver/low-linux.c (store_inferior_registers): Remove
821         unnecessary extern declaration of registers[].
822         * gdbserver/Makefile.in (all): Add gdbreplay.
823         * gdbserver/gdbreplay.c: New file.
824         * gdbserver/README: Give example of recording a remote
825         debug session with gdb and then replaying it with gdbreplay.
826         
827 Tue Jan 23 18:02:35 1996  Per Bothner  <[email protected]>
828
829         * stabsread.c (rs6000_builtin_type):  Make bool type unsigned.
830         (read_one_struct_field):  Support boolean bitfields.
831         * c-valprint.c (c_val_print): Print booleans properly.
832
833 Tue Jan 23 18:54:09 1996  Stan Shebs  <[email protected]>
834
835         * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
836         Remove, never used.
837         * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
838
839 Tue Jan 23 14:36:05 1996  Per Bothner  <[email protected]>
840
841         * ch-exp.c (parse_tuple):  Error if invalid mode.
842
843         * value.h (COERCE_ARRAY):  Don't coerce enums.
844         (COERCE_ENUM):  Don't COERCE_REF.
845         (COERCE_NUMBER):  New macro (same as COERCE_ARRAY then COERCE_ENUM).
846         * valops.c (value_assign):  Only do COERCE_ARRAY if internalvar (let
847         value_cast handle it otherwise); do *not* COERCE_ENUM either way.
848         * valarith.c:  Use COERCE_NUMBER instead od COEREC_ARRAY.
849         Add COERCE_REF before COERCE_ENUM.
850         * values.c (value_as_long):  Simplify.
851
852         * valops.c (value_array):  Create internalvar if !c_style_arrays.
853
854         * language.c (lang_bool_type):  Add Fortran support.
855         * eval.c (OP_BOOL):  Use LA_BOOL_TYPE.
856
857 Tue Jan 23 13:08:26 1996  Jeffrey A Law  ([email protected])
858
859         * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
860         All references changed.
861         * breakpoint.c (bpstat_what): Add shlib_event to the class types.
862         Update state table.  Reformat so that it's still readable.
863         When we hit the shlib_event breakpoint, set the calss of shlib_event.
864         (breakpoint_1): Add "shlib events" as a breakpoint type.
865         Print the shlib_event breakpoint like other breakpoints.
866         (create_solib_event_breakpoint): New function.
867         (breakpoint_re_set_one): Handle solib_event breakpoints.
868         * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
869         (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
870         action.
871         (create_solib_event_breakpoint): Declare.
872         * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
873         (normal_stop): Inform the user when the inferior stoped due
874         to a shared library event.
875         (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
876         to control whether or not gdb continues the inferior or stops it when
877         a shared library event occurs.
878         * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
879         * somsolib.c (TODO list): Update.
880         (som_solib_create_inferior_hook): Arrange for gdb to be notified
881         when significant shared library events occur.
882         * hppa-tdep.c (find_unwind_entry): No longer static.
883
884 Tue Jan 23 09:00:48 1996  Doug Evans  <[email protected]>
885
886         * printcmd.c (print_insn): Pass fprintf_unfiltered to
887         INIT_DISASSEMBLE_INFO.
888 start-sanitize-gdbtk
889         * gdbtk.c (gdb_disassemble): Likewise.
890 end-sanitize-gdbtk
891
892 Mon Jan 22 16:59:40 1996  Stan Shebs  <[email protected]>
893
894         * remote.c (remotebreak): New GDB variable.
895         (remote_break): New global.
896         (remote_interrupt): Send a break instead of ^C if remote_break.
897         * NEWS: Describe the new variable.
898
899 Mon Jan 22 16:24:11 1996  Doug Evans  <[email protected]>
900
901         * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
902
903 Fri Jan 19 07:19:38 1996  Fred Fish  <[email protected]>
904
905         * hp300ux-nat.c (getpagesize): Remove unused function
906         fetch_core_registers.
907         (hp300ux_core_fns):  Remove, is unused.
908         (_initialize_core_hp300ux):  Remove, is unused.
909         (gdbcore.h):  Remove #include, no longer needed.
910         
911 Fri Jan 19 00:59:53 1996  Jeffrey A Law  ([email protected])
912
913         * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
914         ptrace bug in aix4.1.3 on the rs6000.
915
916 Wed Jan 17 13:22:27 1996  Stan Shebs  <[email protected]>
917
918         * remote-hms.c (hms_ops): Add value for to_thread_alive.
919         * remote-nindy.c (nindy_ops): Ditto.
920         * remote-udi.c (udi_ops): Ditto.
921
922 Tue Jan 16 18:00:35 1996  James G. Smith  <[email protected]>
923
924         * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
925         pmon_checkset, pmon_make_fastrec, pmon_check_ack,
926         pmon_load_fast): New functions. Support for the PMON monitor world.
927         (common_open): New function to merge support for different monitors.
928         (mips_open): Use common_open().
929         (mips_send_command): New function.
930         (mips_send_packet): Scan out-of-sequence packets.
931         (mips_enter_debug, mips_exit_debug): New functions.
932         (pmon_ops): New target definition structure.
933         
934 Tue Jan 16 11:22:58 1996  Stu Grossman  ([email protected])
935
936         * Makefile.in (CLIBS):  Add LIBS to allow libraries to be
937         specified on the make command line (via make LIBS=xxx).
938 start-sanitize-gm
939         * configure.in (enable-gm):  magic.o -> gmagic.o.
940 end-sanitize-gm
941
942 start-sanitize-gdbtk
943 Mon Jan 15 09:58:41 1996  Tom Tromey  <[email protected]>
944
945         * gdbtk.tcl (create_expr_window): Many changes to update GUI.
946         (add_expr): Changes from create_expr_window.
947         (create_command_window): Set focus.
948         (delete_expr): Rewrote.
949         (expr_update_button): New proc.
950         (add_expr): Put bindings on FocusIn, FocusOut.
951         Don't allow .file_popup to be torn off.
952 end-sanitize-gdbtk
953
954 Fri Jan 12 21:41:58 1996  Jeffrey A Law  ([email protected])
955
956         * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
957         is set but there are no psymtabs.
958
959 Fri Jan 12 15:56:12 1996  Steve Chamberlain  <[email protected]>
960
961         * dsrec.c (load_srec): Remove unused variable.
962         * monitor.c (monitor_expect): Don't expect a ^C to echo.
963         * serial.c (serial_open): Add parallel interface.
964         * sh3-rom.c (parallel, parallel_in_use): New.
965         (sh3_load): If parallel_in_use, download though the
966         parallel port.
967         (sh3_open): Open parallel port if specified.
968         (sh3_close): New function.
969         (_inititalize_sh3): Add sh3_close hook and documentation.
970         * monitor.c (monitor_close): Export.
971         * monitor.h (monitor_close): Add prototype.
972
973 Fri Jan 12 13:11:42 1996  Stan Shebs  <[email protected]>
974
975         From Wilfried Moser <[email protected]>:
976         * remote.c (remotetimeout): New GDB variable, use to set the
977         remote timeout for reading.
978
979 start-sanitize-gdbtk
980 Fri Jan 12 09:36:17 1996  Tom Tromey  <[email protected]>
981
982         * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
983         (update_listing): Use lassign.  Use "see" to scroll.  Don't need
984         screen_top, screen_bot, screen_height.
985         (update_assembly): Use "see" to scroll.
986         (textscrollproc): Removed.
987         (create_file_win): Don't use textscrollproc.
988         (asmscrollproc): Removed.
989         (create_asm_window): Don't use asmscrollproc.
990         (create_asm_win): Ditto.
991         (screen_height, screen_top, screen_bot): Removed.
992         (run_editor): New proc.
993         (build_framework): Use it.
994         (create_file_win, create_source_window): Don't use textscrollproc.
995         (create_breakpoints_window): Set -xscrollcommand on canvas.
996         (not_implemented_yet): Default button is 0.
997         (delete_char): Don't use tk_textBackspace.
998         (create_command_window): Allow Tk bindings to fire after deleting
999         character.
1000         (create_command_window): Make Delete delete left, not right.
1001 end-sanitize-gdbtk
1002
1003 Fri Jan 12 07:14:27 1996  Fred Fish  <[email protected]>
1004
1005         * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
1006         to get "struct core_fns" defined.
1007         * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
1008         Are dependent upon gdbcore_h.
1009
1010 Thu Jan 11 23:13:24 1996  Per Bothner  <[email protected]>
1011
1012         * symfile.c (decrement_reading_symtab):  New function.
1013         * symfile.c, symtab.h (currently_reading_symtab):  New variable.
1014         * symfile.c (psymtab_to_symtab):  Adjust currently_reading_symtab.
1015         * gdbtypes.c (check_typedef):  Don't call lookup_symbol if
1016         currently_reading_symtab (since that could infinitely recurse).
1017
1018 Thu Jan 11 17:21:25 1996  Per Bothner  <[email protected]>
1019
1020         * stabsread.c (read_struct_type):  Trivial simplification.
1021
1022         * stabsread.c (define-symbol):  Use invisible references
1023         for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
1024         * valops.c (call_function_by_hand):  Likewise.
1025         * eval.c (evaluate_subexp_standard):  When known, use the formal
1026         parameter type as the expected type when evaluating arg expressions.
1027         * ch-lang.c (evaluate_subexp_chill):  Likewise (for MULTI_SUBSCRIPT).
1028
1029 start-sanitize-gdbtk
1030 Thu Jan 11 10:08:14 1996  Tom Tromey  <[email protected]>
1031
1032         * main.c (main): Disable window interface if --help or --version
1033         specified.
1034
1035         * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
1036
1037         Changes in sync with expect:
1038         * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
1039         CY_AC_PATH_TK.
1040         * aclocal.m4: Replaced with version from expect.
1041         * configure: Regenerated.
1042 end-sanitize-gdbtk
1043
1044 Wed Jan 10 16:08:49 1996  Brendan Kehoe  <[email protected]>
1045
1046         * configure.in, configure: Recognize rs6000-*-aix4*.
1047         * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
1048         * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
1049         * config/rs6000/xm-aix4.h: New file.
1050         * config/xm-aix4.h: New file.
1051
1052 Wed Jan 10 11:25:37 1996  Fred Fish  <[email protected]>
1053
1054         From Wilfried Moser <[email protected]>:
1055         * gdbserver/low-linux.c: New file.
1056         * remote.c (remote_read_bytes): Fix aborts on larger packets.
1057
1058         * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
1059         Define.
1060         * stabsread.c (define_symbol): If register value is too large,
1061         tell what it is and what max is.
1062
1063 start-sanitize-gdbtk
1064 Wed Jan 10 09:07:22 1996  Tom Tromey  <[email protected]>
1065
1066         * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
1067         gdbtk_tcl_flush): Use "see", not "yview".
1068         (gdbtk_tcl_query): Use questhead bitmap.
1069         various: Always wrap condition of 'if' in {...}.
1070         (add_breakpoint_frame): Set -value on radiobuttons.
1071         (lassign): New proc.
1072         (add_breakpoint_frame): Use lassign, not series of assignments.
1073         (decr): Made faster.
1074         (interactive_cmd): Use "see", not "yview".
1075         (not_implemented_yet): Use warning bitmap.
1076         (update_expr): Don't allow $expr to be evalled by Tcl.
1077         (create_expr_window): Don't use "focus".
1078         (delete_char, delete_line): Define globally.
1079         (delete_line, delete_char, create_command_window, update_autocmd,
1080         build_framework, create_asm_win, create_file_win): Use "see", not
1081         "yview".
1082         (create_copyright_window, center_window, bind_widget_after_class):
1083         New procs.
1084         (FSBox,create_command_window, create_autocmd_window): Binding
1085         changes for Tk4.
1086         (textscrollproc): Define globally.
1087         (build_framework): tk_menuBar no longer needed.  Keys Prior, Next,
1088         Home, End, Up, and Down are all defined by Tk.
1089         (apply_filespec): Use error bitmap in dialog.
1090         (files_command): Don't use tk_listboxSingleSelect.
1091         (files_command): Don't use "uniq" to remove duplicates from a
1092         list.
1093         (update_assembly): Use lassign.
1094         (create_asm_win): Removed redundant bindings.
1095         (listing_window_button_1, file_popup_menu): Use tk_popup.
1096         (ButtonRelease-1 binding): Just remove tag from window; rest
1097         handled by Tk.
1098
1099         * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
1100         (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
1101         (gdbtk_call_command): Ditto.
1102 end-sanitize-gdbtk
1103
1104 Tue Jan  9 09:33:53 1996  Jeffrey A Law  ([email protected])
1105
1106         * hpread.c (hpread_build_psymtabs): Finish Jan 4th 
1107         enum namespace -> enum_namespace change.
1108
1109 Tue Jan  9 04:44:47 1996  Wilfried Moser (Alcatel)  <[email protected]>
1110
1111         * ch-exp.c (parse_primval): In case ARRAY, add missing
1112         FORWARD_TOKEN ().
1113
1114 Mon Jan  8 13:29:34 1996  Stan Shebs  <[email protected]>
1115
1116         * remote-mips.c (mips_receive_header): Recognize \012 instead
1117         of \n, but write \n when program sends a \012.
1118         * ser-mac.c (mac_input_buffer): Increase size of buffer.
1119
1120 Mon Jan  8 12:00:40 1996  Jeffrey A Law  ([email protected])
1121
1122         * infptrace.c (initialize_infptrace): Move function out of
1123         #ifdef conditional; put code within the function inside an
1124         #ifdef conditional.
1125
1126         * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
1127         arguments.  Sorting is now dependent on OBJF_REORDERED.  All
1128         callers/references changed.
1129         * dbxread.c (read_ofile_symtab): Correctly determine value for
1130         last_source_start_addr for reordered executables.
1131         (process_one_symbol): Handle N_FUN with no name as an end of
1132         function marker.
1133         * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
1134         is the high text address for a psymtab.
1135         (case N_SO): Likewise.
1136         (case N_FUN): Handle N_FUN with no name as an end of function
1137         marker.
1138         * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
1139         at the same address rather than a random subset of them.
1140         * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
1141         * elfread.c (elf_symfile_init): Similarly.
1142         * somread.c (som_symfile_init): Similarly.
1143         * xcoffread.c (xcoff_symfile_init): Similarly.
1144
1145 Fri Jan  5 17:46:01 1996  Stu Grossman  ([email protected])
1146
1147         * stack.c (print_stack_frame print_frame_info) symmisc.c
1148         (dump_symtab):  Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
1149         that catch_errors doesn't get blindsided by QUIT and lose the
1150         cleanup chain.  This fixes a problem where ^C while in a
1151         user-defined command sometimes leaves instream NULL and causes a
1152         segfault in command_loop.
1153
1154 Fri Jan  5 13:59:16 1996  Brendan Kehoe  <[email protected]>
1155
1156         * configure.in, configure: Add `-ldl -lw' for Solaris linking.
1157
1158 Fri Jan  5 12:02:00 1996  Steve Chamberlain  <[email protected]>
1159
1160         * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
1161         config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
1162         srec.o renamed to dsrec.o.
1163
1164 Thu Jan  4 16:04:54 1996  Stu Grossman  ([email protected])
1165
1166         * breakpoint.c (remove_breakpoint):  Change error to warning so
1167         that hardware watchpoint removal problems won't leave breakpoint
1168         traps in the target.
1169 start-sanitize-gdbtk
1170         * configure configure.in:  Make --enable-gdbtk be the default.
1171 end-sanitize-gdbtk
1172         * remote-e7000.c (e7000_insert_breakpoint,
1173         e7000_remove_breakpoint):  Use e7000 based breakpoints, not memory
1174         breakpoints.
1175         * (e7000_wait):  Adjust PC back by two when we see a breakpoint to
1176         compensate for e7000 maladjustment.
1177         * sparcl-tdep.c (sparclite_check_watch_resources):  Fix logic bug
1178         which prevented hardware watchpoints from working.
1179
1180 Thu Jan  4 10:44:17 1996  Fred Fish  <[email protected]>
1181
1182         * infptrace.c (udot_info): New function.
1183         (PT_*): Define each individually if that one is not defined.
1184         * rs6000-nat.c (kernel_u_size): New function
1185         Include <sys/user.h> for "struct user"
1186         * alpha-nat.c (kernel_u_size): New function.
1187         Include <sys/user.h> for "struct user"
1188         * sparc-nat.c (kernel_u_size): New function.
1189         Include <sys/user.h> for "struct user"
1190         * i386b-nat.c (kernel_u_size): New function.
1191         * i386v-nat.c (kernel_u_size): New function.
1192         * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
1193         (kernel_u_size): Declare.
1194         * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
1195         (kernel_u_size): Declare.
1196         * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
1197         (kernel_u_size): Declare.
1198         * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
1199         (kernel_u_size): Declare.
1200         * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
1201         (kernel_u_size): Declare.
1202
1203 Thu Jan  4 11:00:01 1996  steve chamberlain  <[email protected]>
1204
1205         * mdebugread.c (mylookup_symbol): enum namespace becomes
1206         enum_namespace  type.
1207         * symfile.c (add_psymbol_to_list)
1208         (add_psymbol_addr_to_list): Ditto.
1209         * symtab.c (lookup_partial_symbol): Ditto.
1210         (lookup_symbol): Ditto.
1211         (lookup_block_symbol): Ditto.   
1212         * win32-nat.c (handle_load_dll): Use incoming dll base.
1213         (child_wait): Catch DLL load errors.
1214         (create_child_inferior): Translated between paths correctly.
1215
1216 Wed Jan  3 23:13:53 1996  Fred Fish  <[email protected]>
1217
1218         * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
1219         from NUM_REGS to get number of general registers that we care about.
1220         * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
1221         of number of general regs and number of floating point regs.
1222
1223 Wed Jan  3 19:49:54 1996  steve chamberlain  <[email protected]>
1224
1225         * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
1226         (SKIP_TRAMPOLINE_CODE): New.
1227         * config/i386/xm-win32.h (CANT_FORK): Deleted.
1228         (SLASH*) Changed to use unix style slash.
1229         * symtab.h (namespace enum): becomes typedef to avoid namespace
1230         collision in C++. 
1231         * infcmd.c (path_command): Use empty string if PATH name not set.
1232         * i386-tdep.c (skip_trampoline_code): New function.
1233         * srec.c: Renamed dsrec.c to avoid filename collision.
1234         * Makefile.in: Cope with renaming.
1235         
1236 Wed Jan  3 13:09:04 1996  Fred Fish  <[email protected]>
1237
1238         * symmisc.c (print_objfile_statistics): Print memory use statistics
1239         for objfile psymbol, symbol, and type obstacks.
1240
1241 Tue Jan  2 13:41:14 1996  Stan Shebs  <[email protected]>
1242
1243         * config/mips/nm-irix5.h: Restore.
1244         (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
1245         from Lee Iverson <[email protected]>.
1246         * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
1247         * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
1248
1249 For older changes see ChangeLog-95
1250 \f
1251 Local Variables:
1252 mode: indented-text
1253 left-margin: 8
1254 fill-column: 74
1255 version-control: never
1256 End:
This page took 0.100929 seconds and 4 git commands to generate.