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