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