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