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