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