* mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com)
2
3 * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.
4 * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth
5 to fix divide-by-zero problem with clicking on source window.
6
7 Mon Nov 4 00:48:37 1996 Stu Grossman (grossman@critters.cygnus.com)
8
9 * mswin/recordit: Fix problem with absolute paths.
10 * mswin/recordit: Fix problem with relative paths.
11
12 Sun Nov 3 18:06:42 1996 Stu Grossman (grossman@critters.cygnus.com)
13
14 * mswin/{Makefile.in configure configure.in}: New files for
15 configuring wingdb under Unix.
16
17 Sat Nov 2 03:54:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18
19 * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle
20 missing or zero-sized .text sections properly.
21 * mdebugread.c: Handle scRConst and scSUndefined storage classes.
22 * stabsread.c (scan_file_globals): Try to resolve symbols
23 for shared libraries from the minimal symbol table of the main
24 executable first.
25
26 start-sanitize-d10v
27 Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
28
29 * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support
30 inferior function calls and proper stack backtracing on D10V-EVA
31 board.
32
33 end-sanitize-d10v
34 Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com>
35
36 * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it
37 links.
38 (GDBSERVER_DEPFILES,TERMCAP): Ditto.
39
40 * monitor.c (dev_name,targ_ops): Move static variables before
41 first use, to avoid compiler warnings.
42
43 start-sanitize-m32r
44 Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
45
46 * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
47 * configure.tgt: Add entry for m32r target.
48 * monitor.h: Add a flag to tell monitor_store_register to use
49 (val, regno) instead of (regno, val).
50 * monitor.c: Make monitor_store_register honor the above flag.
51 Make monitor_exp ignore DC1/DC3 for m32r.
52 Increase buf size in monitor_dump_regs.
53
54 Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
55
56 * m32r-tdep.c, m32r-rom.c: New files.
57 * config/m32r/m32r.mt: New file.
58 * config/m32r/tm-m32r.h: New file.
59 end-sanitize-m32r
60
61 Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com>
62
63 * config/i386/xm-cygwin32.h:
64 * config/powerpc/xm-cygwin32.h:
65 add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
66 truncated.
67
68 Tue Oct 29 18:36:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
69
70 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE):
71 Define.
72
73 Tue Oct 29 14:59:20 1996 Stan Shebs <shebs@andros.cygnus.com>
74
75 * TODO: Add item suggesting an "info bfd" command.
76
77 start-sanitize-d10v
78 Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
79
80 * d10v-tdep.c: Snapshot that supports D10V-EVA board.
81
82 * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
83 (TARGET_READ_FP,TARGET_WRITE_FP): Define.
84
85 end-sanitize-d10v
86 Mon Oct 28 17:34:24 1996 Stu Grossman (grossman@critters.cygnus.com)
87
88 * mswin/genmakes mswin/recordit: New scripts to generate make
89 files for MSVC.
90
91 Sun Oct 27 20:18:04 1996 Mark Alexander <marka@cygnus.com>
92
93 * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
94 New files.
95 * configure.tgt: Modify cases for vr5000 to use new files.
96
97 Sat Oct 26 07:15:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
98
99 * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0.
100
101 * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing
102 the entry to the exit system call to detect termination of the
103 inferior stopped working. Trace termination of the inferior via
104 PRFS_STOPTERM instead.
105 (procfs_init_inferior): Do not trace entry to exit system call
106 if PIOCSSPCACT is defined.
107 (procfs_wait): Handle PR_DEAD event, which signals the termination
108 of the inferior if PRFS_STOPTERM is set.
109
110 * mdebugread.c (parse_partial_symbols): Ignore stNil section
111 start address symbols.
112
113 * sparc-tdep.c (get_saved_register): Get saved PC from the
114 frame info if not in innermost frame.
115
116 Thu Oct 24 10:51:45 1996 Mark Alexander <marka@cygnus.com>
117
118 * dbxread.c (process_one_symbol): Interpret end-of-function
119 markers correctly; this fixes problem on Vr5000 where all
120 functions in a module had the same address.
121 * configure.in, configure.tgt, configure.host, gdbserver/configure.in:
122 Correct for pc-linux-gnu problem in config.guess.
123 * configure: Regenerate.
124
125 Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com)
126
127 * dbxread.c: Don't swap symbols in place, since internal and
128 external forms may have different sizes. Don't assume that an
129 internal_nlist has the same layout as an external_nlist. Create
130 symbol for n_strx element so to hide specifics of nlist from
131 partial-stab.h.
132 * partial-stab.h: Don't reference dbxread symbols directly. Use
133 CUR_SYMBOL_STRX instead.
134 * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP.
135
136 start-sanitize-v850
137 * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for
138 MSVC builds.
139 * mswin/gdbwin.c (reg_order): Define register order for V850.
140 * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for
141 V850.
142 * mswin/regdoc.h: Define MAXREGS for V850.
143 end-sanitize-v850
144 start-sanitize-v850
145 Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com)
146
147 * v850-tdep.c (scan_prologue): Changes to deal with scheduled
148 prologues correctly. First, prologue end is now defined by
149 presence of a branch, jump or call insn. Second, can no longer
150 fix frame offsets because we may not know the offset until after a
151 register has been saved.
152 * (v850_init_extra_frame_info): Fixup frame offsets here because
153 we have all the info at this time.
154 * (v850_frame_chain): Use new calling convention for scan_prologue.
155
156 end-sanitize-v850
157 start-sanitize-d10v
158 Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
159
160 * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
161 backtraces and inferior function calls.
162
163 end-sanitize-d10v
164 Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com>
165
166 * mpw-make.sed: Update init.c editing to work with Oct 8 change.
167 (@HLDFLAGS@): Always edit out.
168
169 Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com>
170
171 * mdebugread.c (parse_partial_symbols): Fix 64-bit
172 sign-extension problems in calculating psymtab addresses.
173 * buildsym.c (end_symtab): Use macro to pop context.
174
175 start-sanitize-v850
176 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
177
178 * v850-tdep.c: Cleanup lots of things. Add many comments.
179
180 * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix
181 sign bugs with scanning prologues. Get a little smarter about
182 calculating the length of uninteresting instructions.
183
184 end-sanitize-v850
185 Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
186
187 * top.c: Add new commands "set annotate" and "show annotate".
188
189 Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
190
191 * corelow.c (core_close): Clear inferior_pid only if there is
192 an open core_bfd.
193
194 * cp-valprint.c (cp_print_value_fields): Pass correct address
195 to val_print, not 0.
196
197 From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de):
198 * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
199 typedefs before checking for integral type of right operand.
200
201 Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com>
202
203 * mdebugread.c (parse_symbol): Fix crash when malloc has
204 no type info and void type has no associated pointer type.
205
206 Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com>
207
208 * configure.host: New file, host configuration mapping.
209 * configure.tgt: New file, target configuration mapping.
210 * configure.in: Remove host and target mapping.
211 * configure: Rebuild.
212
213 Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com>
214
215 * breakpoint.c (must_shift_inst_regs): New global.
216 (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
217 equivalent expression uses.
218 * infrun.c (wait_for_inferior): Ditto.
219
220 start-sanitize-v850
221 Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com)
222
223 * v850-tdep.c (v850_push_arguments): Use symbolic names for arg
224 registers.
225 * config/v850/tm-v850.h: Change FP to 29. Define arg regs.
226
227 end-sanitize-v850
228 Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com)
229
230 * Makefile.in (init.c): Don't use -s option with grep. It means
231 something different under Digital Unix.
232
233 * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
234 LOC_LOCAL_ARG as arguments so that GDB will know about function
235 args declared this way. Mostly affects dwarf.
236 * dwarfread.c (decode_die_type): Change default type from int to
237 void. This allows GDB to recognize void functions.
238 * (new_symbol): If AT_PROTOTYPED is present, set a flag in the
239 type structure.
240 * findvar.c (extract_floating store_floating): Clean up comments
241 to reflect reality.
242 * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
243 function has a prototype. Currently, only dwarf supports this.
244 * utils.c (floatformat_from_doublest): Fix logic error with
245 converting from double to float. (It wasn't shifting mant_long if
246 it had a hidden bit.)
247
248 start-sanitize-v850
249 * v850-tdep.c: Add support for function calling. Fix some
250 problems with debugging code w/o debug symbols.
251 * config/v850/tm-v850.h: Ditto.
252
253 end-sanitize-v850
254 Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com>
255
256 * utils.c: Always ensure that size_t is defined. Check
257 HAVE_STDDEF_H rather than __STDC__
258 (xmalloc, xrealloc): Use size_t rather than long.
259
260 Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
261
262 * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
263 can use single-step commands.
264
265 Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
266
267 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
268 follow typedefs before checking TYPE_CODE for structures and unions.
269
270 Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com)
271
272 * frame.h: Move definition of struct frame_saved_regs to before
273 struct frame to make it possible to use frame_saved_regs in
274 EXTRA_FRAME_INFO macro.
275
276 start-sanitize-v850
277 * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
278 macros to make frame operations (such as backtrace) work.
279
280 end-sanitize-v850
281 Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com>
282
283 * dbxread.c (process_one_symbol): Check for null string directly
284 rather than using strcmp against "".
285 * partial-stab.h: Ditto.
286
287 Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com>
288
289 * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
290 Make it compile on Linux and eliminate some warnings.
291
292 Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
293
294 * Makefile.in (init.c): Fixup final sed script to work around
295 Linux bug with `p' operator.
296
297 Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com>
298
299 * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
300 VR4300 target.
301 (ddb_ops, pmon_ops): Fix the documentation strings.
302
303 Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com)
304
305 * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
306 filenames with sed instead.
307
308 Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com)
309
310 * defs.h: Remove decls of xmalloc and xrealloc. There is a
311 conflicting definition in libiberty.h.
312
313 Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com>
314
315 * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
316 than poking global variable (which is now static).
317 * hpread.c (hpread_build_psymtabs): Ditto.
318 * os9kread.c (os9k_symfile_read): Ditto.
319 * xcoffread.c (xcoff_initial_scan): Ditto.
320
321 * buildsym.h (free_pending_blocks): Declare here.
322 (pending_blocks): Remove declaration of global symbol.
323 (free_pendings): Remove declaration of global symbol.
324 (make_blockvector): Declare here.
325 (record_pending_block): Declare here.
326
327 * dstread.c (make_blockvector): Remove static copy that was old
328 clone of version in buildsym.c.
329 (process_dst_block): Call record_pending_block rather than doing
330 it by hand.
331 (read_dst_symtab): Ditto.
332
333 * buildsym.c (make_blockvector): Make global rather than static,
334 (record_pending_block): New function, code moved from finish_block.
335 (finish_block): Use record_pending_block.
336 (free_pending_blocks): New function.
337 (really_free_pendings): Call free_pending_blocks.
338 (pending_blocks): Make static instead of global.
339 (free_pendings): Make static instead of global.
340
341 Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com)
342
343 * config/i386/windows.mh config/i386/xm-windows.h:: New config
344 files to support building Wingdb (built under Microsoft build
345 environment).
346
347 * Makefile.in: Add rule for hpux-thread.o (needs special header
348 files).
349 * (SUBDIRS): Remove mswin.
350 * Change procedure for creating init.c. Speeds things up quite a
351 bit.
352 * config.in configure configure.in: Check for select, poll.
353 * Check for OSF header files before including hpux-thread.o.
354 * Don't configure doc or testsuite when building under MSVC.
355 * findvar.c value.h (read_register_pid write_register_pid): Make
356 global. Needed for hppa-tdep.c.
357 * (supply_register): Don't set pid to inferior_pid when supplying
358 registers.
359 * hppa-tdep.c (saved_pc_after_call): frame_saved_pc ->
360 FRAME_SAVED_PC.
361 * (frame_saved_pc): Change name to hppa_frame_saved_pc.
362 * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc.
363 Use write_pc instead, which uses the correct pid.
364 * (target_read_pc target_write_pc): Use read/write_register_pid
365 instead of read/write_register to preserve the pid passed in.
366 * inftarg.c (child_can_run): Add flag child_suppress_run to allow
367 hpux-threads.c to override this as a runnable target.
368 * config/pa/nm-hppah.h: Define target_new_objfile and
369 target_pid_to_str.
370 * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc
371 instead of frame_saved_pc.
372 * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb.
373 * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since
374 we can't easily determine the start file bounds with ELF.
375 * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb.
376 * hpux-thread.c: New file for HPUX/OSF thread support.
377 * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
378 RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
379 cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
380 cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
381 cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF
382 thread support.
383
384 Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com>
385
386 * buildsym.c (finish_block): Change innerblock_anon_complaint to
387 print the addresses as part of the complaint. Add a complaint for
388 cases where the block end address is smaller than the block start
389 address, in case any such conditions slip through our fixup mechanism.
390 * symmisc.c (dump_symtab): Only print blockvector for primary
391 symtabs, to avoid massive duplication of output due to secondary
392 symtabs that point to same blockvector. Also do some minor
393 formatting tweaks.
394
395 Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com>
396
397 Replace header_files global by per-objfile field.
398 * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files,
399 n_header_files, n_allocated_header_files.
400 * stabsread.h (header_files, n_header_files, n_allocated_header_files):
401 Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
402 N_ALLOCATED_HEADER_FILES.
403 * dbxread.c (dbx_symfile_finish): Free HEADER_FILES.
404 (free_header_files, init_header-files): Don't free/init headerfiles.
405 (various functions): Use macros instead of header_files globals.
406 * stabsread.c (various functions): Likewise.
407
408 Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
409
410 * dwarf2read.c (read_tag_reference_type): New fn.
411 (read_type_die): Call it.
412 (dwarf_attr): Also look in the DIEs referred to by specification
413 or abstract_origin attributes.
414
415 Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com>
416
417 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
418 SIGTRAMP_END.
419 * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
420 Define with dummy pc arg.
421 * config/m68k/tm-nbsd.h: Ditto.
422 * doc/gdbint.texinfo: Document that SIGTRAMP_START and
423 SIGTRAMP_END are macros that take an single argument.
424
425 Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com>
426
427 * defs.h: Remove define of PRIVATE_XMALLOC.
428
429 start-sanitize-v850
430 Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com)
431
432 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
433
434 end-sanitize-v850
435 Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com)
436
437 * top.c (execute_control_command): Free values from while_control
438 and if_control conditions after evaluation to avoid storage leaks.
439 From Peter Schauer.
440
441 start-sanitize-v850
442 Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com)
443
444 * configure configure.in: Recognize v850 target.
445 * v850-tdep.c: New file, NEC V850 target support.
446 * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
447
448 end-sanitize-v850
449 Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
450
451 * infrun.c (wait_for_inferior): Update current_line and
452 current_symtab when stepping continues in the middle of a new line.
453
454 Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com>
455
456 * top.c (print_gdb_version): Rewrote to comply with new GNU coding
457 standards for the --version option.
458 (print_gnu_advertisement): Remove, now part of print_gdb_version.
459 (show_version): Remove call to print_gnu_advertisement.
460 * top.h (print_gnu_advertisement): Remove prototype.
461 * main.c (print_gdb_help): Move help to static function and
462 add prototype.
463 (main): Call print_gdb_help rather than inlining it.
464 (main): Remove call to print_gnu_advertisement.
465 start-sanitize-gdbtk
466 * gdbtk.tcl (create_copyright_window): Increase timeout from
467 15 seconds to 30 seconds.
468 end-sanitize-gdbtk
469
470 start-sanitize-d10v
471 Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com>
472
473 * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
474 (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
475
476 end-sanitize-d10v
477 Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com>
478
479 * configure.in, config/i386/tm-linux.h: Fix configure
480 problem on older Linux systems that prevented core files
481 from being recognized.
482
483 Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com>
484
485 * dbug-rom.c: New file, support for Motorola's dBUG monitor.
486 * config/m68k/monitor.mt (TDEPFILES): Add it.
487 * NEWS: Mention it.
488
489 start-sanitize-d10v
490 Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
491
492 * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
493 Now single-steps correctly.
494 * d10v-tdep.c (d10v_pop_frame): Fixed.
495
496 end-sanitize-d10v
497 Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com>
498
499 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
500 be consistent with GCC.
501 (FPUL_REGNUM, etc): Renumber to match list changes.
502 (ADDR_BITS_REMOVE): Delete.
503 * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
504 Rearrange to match REGISTER_NAMES.
505 * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
506
507 start-sanitize-d10v
508 Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
509
510 * d10v-tdep.c: Stack chain should work now.
511
512 Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
513
514 * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
515
516 end-sanitize-d10v
517 Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com>
518
519 * configure.in: Add cases for MIPS 5000 like MIPS 4300.
520 * configure: Rebuild.
521
522 Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
523
524 * ser-e7kpc.c: Added wingdb support for target e7000pc.
525
526 Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
527
528 * remote-mips.c (pmon_wait): DDB PMON does not require forced
529 re-entry back into debug mode.
530
531 Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
532
533 * remote-mips.c (mips_load): Ensure that the PC is explicitly
534 loaded after a load to a DDB PMON system.
535
536 Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com>
537
538 * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
539 (HLDENV): Set to @HLDENV@.
540 (gdb): Prefix link command line with $(HLDENV).
541 * configure.in: Add support to test for --enable-shared and
542 generate appropriate values for HLDFLAGS and HLDENV.
543 * configure: Regenerated with autoconf.
544
545 Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com>
546
547 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
548 change for core_read_registers in struct core_fns.
549 * core-regset.c (fetch_core_registers): Ditto & add prototype.
550 * core-sol2.c (fetch_core_registers): Ditto & add prototype.
551 * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
552 * i386b-nat.c (fetch_core_registers): Ditto.
553 * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
554 * irix4-nat.c (fetch_core_registers): Ditto.
555 * irix5-nat.c (fetch_core_registers): Ditto.
556 * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
557 * m68knbsd-nat.c (fetch_core_registers): Ditto.
558 * mips-nat.c (fetch_core_registers): Ditto & add prototype.
559 * rs6000-nat.c (fetch_core_registers): Ditto.
560 * sparc-nat.c (fetch_core_registers): Ditto.
561 * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
562 * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
563
564 * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
565 * delta68-nat.c (register_addr): Ditto.
566 * gdbserver/low-linux.c (register_addr): Ditto.
567 * gdbserver/low-hppabsd.c (register_addr): Ditto.
568 * i386m3-nat.c (register_addr): Ditto.
569 * mips-nat.c (register_addr): Ditto.
570 * ultra3-nat.c (register_addr): Ditto.
571
572 Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com)
573
574 * blockframe.c (inside_main_func): Cleanup slightly. Move
575 mainsym def into the block it's used in.
576 * configure.in configure: Allow NATDEPFILES to be recognized in
577 .mh files regardless of whitespace.
578
579 * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
580 keep downloads from hanging.
581
582 * remote-wiggler.c: Add support for flash upgrades.
583 * (wiggler_error): Fix message format. Add new error code.
584 * (wiggler_write_byets): Error code is hex. Report errors with
585 proper routine name.
586 * (wiggler_read_byets): Report errors with proper routine name.
587 * (get_packet): Add support for new flash commands.
588 * (wiggler_load): Call clear_symtab_users() to reset things
589 properly after download.
590 * (flash_xfer_memory bdm_update_flash_command): New funxtions to
591 support flash upgrades for Wiggler.
592 * (_initialize_remote_wiggler): Add `bdm update-flash' command.
593
594 Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com>
595
596 * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
597
598 Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com>
599
600 * config/i386/cygwin32.mh:
601 * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
602
603 Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com>
604
605 * value.h (COERCE_REF): Fix previous change.
606 (COERCE_ENUM): Add a check_typedef (this is the real fix).
607
608 Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
609
610 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
611 better check of array boundaries.
612
613 Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com)
614
615 * configure: Update aclocal.m4 and re-run autoconf to get correct
616 defs for BFD stuff.
617 * remote-wiggler.c (wiggler_error): Error codes are hex. Also,
618 fix default message generation.
619
620 Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com)
621
622 * Makefile.in: Add mswin to SUBDIRS. Add rules for
623 mswin/libwingdb.a and remote-wiggler.o.
624 * breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
625 * (breakpoint_inserted_here_p): New func, just like
626 breakpoint_here_p, except it's honest. Honestly.
627 * breakpoint.h: Proto for above.
628 start-sanitize-gdbtk
629 * configure configure.in: Add host *windows* to list of hosts
630 that don't support GDBtk.
631 end-sanitize-gdbtk
632 * configure configure.in: Add mswin to configdirs if host is
633 i[3456]86-*-windows.
634 * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
635 Change all vars that can contain addresses to type CORE_ADDR.
636 * findvar.c (supply_register): Allow val to be NULL. This means
637 that regno is unsupported.
638 * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
639 just call pid forms with inferior_pid so that there's only once
640 place to hack PC's and such.
641 * infrun.c (proceed): Don't skip breakpoints if user changed PC.
642 * remote-wiggler.c: New file. Support for BDM interface from
643 Macraigor Systems.
644 * serial.c: Enhance serial logging capability. Add hex and octal
645 output modes (set remotelogbase {hex|octal|ascii}. Also log
646 breaks, timeouts, errors, and eofs.
647 * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
648 function so that we can log breaks. Don't export serial_logfile
649 or serial_logfp.
650 * top.c (execute_command): Don't test for serial_logfp here.
651 Just call serial_log_comand, and let serial.c sort it out.
652 * valops.c (value_of_variable): Don't attempt to establish frames
653 for static and global variables. This makes things work a bit
654 better if the stack or frame pointer is trashed.
655 * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
656 * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
657 misaligned stacks during function calls.
658
659 Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
660
661 * terminal.h: Don't use #elif.
662
663 Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
664
665 * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
666 if we have a type.
667
668 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
669 check number of args against bounds of array to avoid
670 memory corruption.
671
672 * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
673 a TYPE_CODE_TYPEDEF.
674
675 Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>
676
677 * remote-mips.c: Provide support for DDBVR4300 target board.
678 (ddb_open, ddb_ops): Added.
679 (mips_monitor_type): MON_DDB Added.
680 (mips_enter_debug, mips_exit_debug, mips_initialize,
681 mips_fetch_registers, common_breakpoint, mips_load,
682 _initialize_remote_mips): Updated.
683
684 Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
685
686 * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
687 * nlm/configure: Regenerate.
688
689 * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
690 pentium pro.
691
692 Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com>
693
694 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
695 CY_AC_LOAD_TCLCONFIG.
696 * configure: Rebuild.
697
698 Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com>
699
700 * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
701 find_pc_partial_function.
702
703 Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
704
705 * configure: Regenerate again.
706
707 Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>
708
709 * configure.in: work around host_alias configure bug.
710 AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
711 and second by AC_CANONICAL_SYSTEM). The second clobbers the
712 previous setting. Circumventing by moving the second check
713 to before the first.
714 * configure: regenerated
715
716 start-sanitize-d10v
717 Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
718
719 * config/d10v/d10v.mt: New file.
720 * config/d10v/tm-d10v.h: New file.
721 * configure.in: New target D10V.
722 * d10v-tdep.c: New file.
723
724 end-sanitize-d10v
725 Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com>
726
727 * rs6000-tdep.c: Fix typo in comment.
728 * valops.c (call_function_by_hand): Set using_gcc to 2
729 for code compiled without -g, per comment in code.
730 * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
731 * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
732 * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
733 * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
734 * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
735 * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
736 (STACK_ALIGN): Add comment, move to be with other associated
737 macros, and document.
738 * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
739 (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
740 * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
741 * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
742 handled by PUSH_ARGUMENTS.
743 (PUSH_ARGUMENTS): Enclose args in ()'s.
744
745 Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
746
747 * infrun.c (wait_for_inferior): Try to reenable shared library
748 breakpoints even if auto_solib_load is not set.
749
750 Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com>
751
752 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
753 gracefully degrade to using command line interface if none is
754 found.
755
756 Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com>
757
758 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
759 PRINTF_HAS_LONG_LONG.
760 * expprint.c (dump_expression): Ditto.
761 * configure.in: Fix check for long long support in compiler to
762 use a function body, not a nested function.
763 * configure: Rebuild with autoconf.
764
765 Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com>
766
767 * aclocal.m4: Include ../bfd/aclocal.m4.
768 * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
769 BFD_NEED_DECLARATION on malloc, realloc, and free.
770 * acconfig.h: Add NEED_DECLARATION_MALLOC,
771 NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
772 * configure, config.in: Rebuild.
773 * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
774 rather than __STDC__. Only declare malloc, realloc, and free if
775 NEED_DECLARATION_* is defined.
776
777 Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com>
778
779 * solib.c (_initialize_solib): Add missing '\' chars at ends of
780 strings that continue on next line.
781 (enable_break): Replace "return 0" with setting success to zero
782 and letting normal return handle the return.
783
784 Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com>
785
786 * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
787 are properly aligned.
788
789 Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com>
790
791 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
792 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
793 to function, declare function correctly.
794
795 Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com>
796
797 * symtab.h: changed namespace to _namespace for compiling under
798 MFC v4.0.
799
800 Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com>
801
802 * mpw-make.sed: Update for various recent changes, add some
803 comments.
804 start-sanitize-gm
805 * mpw-config.in: Fix name of Magic Cap-specific file.
806 end-sanitize-gm
807
808 Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
809
810 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
811 integer for type correctness.
812
813 Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>
814
815 * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
816 simulator is included.
817
818 Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com>
819
820 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
821 is not defined.
822 (read_register_pid): Only needed when TARGET_READ_PC is not
823 defined.
824 * hppa-tdep.c (frame_saved_pc): Remove prototype.
825 * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
826 not defined.
827 * config/xm-aix4.h (aix_resizewindow): Convert old style decl
828 to prototype.
829 * xcoffsolib.c (command.h): Include for needed prototypes.
830
831 Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com)
832
833 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
834 native work.
835
836 Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com>
837
838 From Blair MacIntyre <bm@cs.columbia.edu>:
839 * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
840 than SYMBOL_TYPE on msymbols.
841 * somsolib.c (som_solib_create_inferior_hook): Ditto.
842
843 * Makefile.in (init.c): Generate with prototypes.
844
845 * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
846 * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
847 * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
848 (pc_load_segment_name): Ditto.
849 (pop_frame): Ditto.
850 (extract_return_value): Ditto.
851 (is_magic_function_pointer): Ditto.
852 (push_dummy_frame): Ditto.
853 (fix_call_dummy): Ditto.
854 (push_arguments): Ditto.
855 (skip_trampoline_code): Ditto.
856 (aix_process_linenos): Ditto.
857
858 * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
859 * config/m68k/tm-es1800.h: Ditto.
860 * config/m68k/tm-vx68.h: Ditto.
861 * config/m68k/tm-sun3.h: Ditto.
862 * config/m68k/tm-m68kv4.h: Ditto.
863
864 Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com>
865
866 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
867 * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
868 * remote-mips.c (mips_read_processor_type): Remove prototype.
869 * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
870 * irix5-nat.c (fetch_core_registers): Add prototype.
871
872 Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com>
873
874 * remote-pa.c (boot_board): Add dummy params to make type compatible
875 for passing to add_com.
876 * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
877 * buildsym.c (compare_line_numbers): Change function to match
878 prototype and also what qsort expects.
879
880 Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com>
881
882 * remote.c: Make remote_write_size public.
883 * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
884 to prevent packet errors with some versions of CMON.
885
886 Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com)
887
888 * defs.h: Define CONST_PTR as blank if compiling with Microsoft
889 C, else it's `const'.
890 * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
891 scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
892 macro instead.
893 * configure configure.in defs.h: Use AC_C_CONST to figure out if
894 the compiler supports const. Gets rid of some cruft in defs.h.
895 * dwarf2read.c: <string.h> -> "gdb_string.h"
896 * remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
897 * sparcl-tdep.c (download): Add prototypes to write_routine and
898 start_routine args.
899
900 * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
901 rid of varargs.h Include string.h.
902 * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
903 update): Fix prototypes, fix calls.
904 * (update): Return value for catch_errors.
905 * (run_execute_command togdb_command_from_tty togdb_command):
906 Cleanup catching of errors from calls to execute_command. Also,
907 dup command string to avoid modifying const strings.
908 * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
909 of NULL when see if b->address isn't set.
910 * (bi_disable_bpt bi_enable_bpt bi_delete_all
911 bi_delete_breakpoint): Add arg to calls to update.
912 * (gui_command): Add prototype.
913 * (mswin_query): Fix prototype.
914 * (_initialize_gdbwin): Dup string to avoid modifying const.
915 * (info_path togdb_get_info_path): Remove const from decls cuz
916 this can't be const (it points at malloc'ed memory).
917 * (togdb_searchpath): Remove const from path. Dup string to
918 avoid modifying const strings.
919 * rindex -> strrchr.
920 * (gdbwin_list_symbols): Regexp param is const.
921 * Fix lots of refs to psymtabs to deref correct pointers.
922 * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
923 not &sal.
924 * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
925 toget_set_info_path): Fix prototypes to match reality.
926 * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
927 with proper prototypes.
928 * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
929 * mswin/ser-win32s.c: Fix defs of min and max.
930 * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
931 USHORT.
932 * (WriteComm16): Change lpBug from LPVOID to LPCSTR.
933 * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
934
935 Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com)
936
937 * main.c (main): Make sure command loop is used with cygwin32.
938 * terminal.h: Allow cygwin32 to use termios.h.
939
940 start-sanitize-gdbtk
941 Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com>
942
943 * Makefile.in (LIB_INSTALL_DIR): New macro.
944 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
945
946 end-sanitize-gdbtk
947 Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com)
948
949 * somread.c (som_symtab_read): Handle secondary definition
950 symbols (aka weak symbols).
951
952 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
953 last change.
954
955 Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com)
956
957 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
958 _WIN32.
959
960 * somread.c: Rearrange order of includes to fix warnings under
961 hpux-10.10. Also don't include sys/file.h.
962
963 Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com)
964
965 * dbxread.c: Don't include param.h or sys/file.h.
966 * (dbx_symfile_read): Determine symfile_relocatable from bfd
967 flags instead of file extension. Also clean up a little bit.
968
969 Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com)
970
971 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
972 mdebugread.c os9kread.c source.c top.c utils.c: Don't
973 include param.h or sys/file.h (or unistd.h in some cases).
974 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
975 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
976 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
977 * main.c: Remove #ifndef WINGDB around option processing. Fix
978 bug with passing argc==0 and argv==NULL to getopt.
979 * (main) Remove calls to access() before source_command. Let
980 soure_command handle access errors.
981 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
982 * symtab.c (operator_chars): Make this global for wingdb.
983 * top.c (disconnect): #ifdef out for _WIN32.
984 * (source_command): If got an error and from_tty, then call print
985 error, else just return quietly.
986 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
987 Just exit.
988 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
989 under windows.
990
991 Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com)
992
993 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
994 structures > 4 bytes in size.
995
996 * valops.c (call_function_by_hand): Handle aligning stacks that
997 grow up correctly.
998 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
999 (STACK_ALIGN): Define.
1000 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
1001 alignment on structs/unions.
1002
1003 Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com>
1004
1005 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
1006 which is the documented type under at least AIX 3 and AIX 4.
1007
1008 Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com>
1009
1010 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
1011 xm-alphaosf.h.
1012 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
1013 checks.
1014
1015 start-sanitize-gdbtk
1016 Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
1017
1018 * gdbtk.c (mainWindow): Deleted.
1019 (cleanup_init): Don't destroy main window.
1020 (gdbtk_init): Main window now created by Tk_Init.
1021
1022 * configure.in: Most X checks now handled automatically by Tk.
1023 Use new macros to find Tcl/Tk.
1024 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
1025 * config.in, configure: Regenerated.
1026
1027 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
1028 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1029
1030 end-sanitize-gdbtk
1031 Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com>
1032
1033 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
1034 this, define when contents are included.
1035 (mips_read_processor_type): Add prototype.
1036 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
1037 * mdebugread.c (ecoff_relocate_efi): Add prototype.
1038 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1039
1040 start-sanitize-gdbtk
1041 Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1042
1043 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
1044
1045 end-sanitize-gdbtk
1046 Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com>
1047
1048 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
1049 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
1050 (fetch_core_registers): Add prototype.
1051 (vmap_symtab): Ditto.
1052 (objfile_symbol_add): Ditto.
1053 (add_vmap): Ditto.
1054 (vmap_ldinfo): Ditto.
1055 (vmap_exec): Ditto.
1056
1057 Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com>
1058
1059 * stabsread.c (get_substring): Declare second arg as int.
1060
1061 * remote-es.c: Include gdb_string.h after defs.h.
1062
1063 Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com>
1064
1065 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
1066 (branch_dest): Remove unused variable "offset".
1067 (pop_dummy_frame): Add prototype and make static.
1068 (push_arguments): Guard against using len uninitialized.
1069 (push_arguments): Guard against using arg uninitialized.
1070 (frame_saved_pc): Remove unused variable "frameless".
1071 (free_loadinfo): Ifdef out unused function.
1072
1073 * xcoffread.c (compare_lte): Change prototype and function to
1074 be correct type for passing to qsort.
1075 (add_stab_to_list): Ifdef out unused function and prototype.
1076 (compare_lte): Add prototype
1077 (arrange_linetable): Ditto.
1078 (record_include_begin): Ditto.
1079 (record_include_end): Ditto.
1080 (process_linenos): Ditto.
1081 (xcoff_next_symbol_text): Ditto.
1082 (scan_xcoff_symtab): Ditto.
1083 (xcoff_initial_scan): Ditto.
1084
1085 * mips-tdep.c (mips_read_processor_type): Add parens around
1086 bitwise-and operands in comparison; previous expression always
1087 evaluated to 0 because of equality comparison of two constants.
1088
1089 * rs6000-tdep.c (skip_prologue): Add missing parens around
1090 operands of logical-or so that first operand does not bind
1091 to previous logical-and.
1092
1093 * configure.in: Expand "long long" test to include code that triggers
1094 known problem on HPUX with native compiler.
1095 (configure): Regenerated.
1096
1097 Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com)
1098
1099 * somsolib.c (som_solib_create_inferior_hook): Don't
1100 warn if __d_pid can't be found.
1101
1102 Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com>
1103
1104 * config/mips/tm-mips.h (struct frame_info): Forward decl.
1105 (struct type): Ditto.
1106 (struct value): Ditto.
1107
1108 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
1109 from mips-tdep.c to here.
1110 (sigtramp_end): Ditto.
1111 (fixup_sigtramp): Ditto.
1112
1113 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
1114 (mips_frame_chain): Ditto.
1115 (mips_step_skips_delay): Ditto.
1116 (mips_frame_saved_pc): Ditto.
1117 (mips_find_saved_regs): Ditto.
1118 (mips_frame_num_args): Ditto.
1119 (mips_pop_frame): Ditto.
1120 (mips_extract_return_value): Ditto.
1121 (mips_store_return_value): Ditto.
1122 (mips_push_dummy_frame): Ditto.
1123 (mips_push_arguments): Ditto.
1124 (mips_do_registers_info): Ditto.
1125 (ecoff_relocate_efi): Ditto.
1126 (ecoff_relocate_efi): Ditto.
1127 * irix4-nat.c (fetch_core_registers): Add prototype.
1128 * mips-tdep.c (read_next_frame_reg): Add prototype
1129 (heuristic_proc_start): Ditto.
1130 (heuristic_proc_desc): Ditto.
1131 (mips_print_register): Ditto.
1132 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
1133 (procfs_stopped_by_watchpoint): Ditto.
1134 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
1135 (procfs_stopped_by_watchpoint): Ditto.
1136 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
1137 (struct symbol): Add forward decl for prototype.
1138
1139 * breakpoint.c (internal_breakpoint_number): Only needed if
1140 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
1141
1142 * objfiles.c (ecoff_relocate_efi): Remove prototype.
1143
1144 Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com>
1145
1146 * configure.in: Add test for "long long" support.
1147 * configure: Regenerate with autoconf.
1148 * acconfig.h: Add CC_HAS_LONG_LONG
1149 * config.in: Regenerate with autoheader.
1150 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
1151 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
1152 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
1153 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
1154 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
1155 (PRINTF_HAS_LONG_LONG): Remove.
1156 (FORCE_LONG_LONG): Remove.
1157 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
1158 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
1159 (PRINTF_HAS_LONG_LONG): Remove.
1160 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
1161 (PRINTF_HAS_LONG_LONG): Remove.
1162 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
1163 subtraction inside shift. Put parens around subtraction
1164 in operand of bitwise and.
1165 (struct frame_info): Forward declare
1166 if __STDC__ defined.
1167 (frame_saved_regs): Ditto.
1168 (struct value): Ditto.
1169 (struct type): Ditto.
1170 (struct inferior_status): Ditto.
1171 (init_extra_frame_info): Add prototype.
1172 (skip_prologue): Ditto.
1173 (frameless_function_invocation): Ditto.
1174 (frame_chain): Ditto.
1175 (frame_chain_valid): Ditto.
1176 (saved_pc_after_call): Ditto.
1177 (hppa_fix_call_dummy): Ditto.
1178 (hppa_push_arguments): Ditto.
1179 (pa_do_registers_info): Ditto.
1180 (in_solib_call_trampoline): Ditto.
1181 (in_solib_return_trampoline): Ditto.
1182 (push_dummy_frame): Ditto.
1183 * convex-tdep.c (decout): Use print_longest rather than
1184 fprintf_filtered.
1185 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
1186 CC_HAS_LONG_LONG.
1187 (INT_MIN): Fix so it works correctly when assigned to a long long.
1188 * valprint.c (longest_to_int): Rewrite to remove dependence
1189 on INT_MIN and INT_MAX.
1190 (print_longest): Rewrite the code that falls back to synthesized
1191 hex output when LONGEST value is not representable as in a long and
1192 printf doesn't support printing long longs.
1193 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1194 chill_print_type_scalar to LONGEST.
1195 chill_print_type_scalar): Make static and add prototype.
1196 * hppa-tdep.c (get_field): Ifdef out unused function.
1197 (set_field): Ditto.
1198 (extract_3): Ditto.
1199 (extract_5_store): Ditto.
1200 (extract_11): Ditto.
1201 (extract_12): Ditto.
1202 (deposit_17): Ditto.
1203 (extract_14): Convert to static and add prototype.
1204 (deposit_14): Ditto.
1205 (extract_21): Ditto.
1206 (deposit_21): Ditto.
1207 (extract_17): Ditto.
1208 (extract_5r_store): Ditto.
1209 (extract_5R_store): Ditto.
1210 (extract_5_load): Ditto.
1211 (find_proc_framesize): Ditto.
1212 (find_dummy_frame_regs): Ditto.
1213 (sign_extend): Ditto.
1214 (find_unwind_entry): Add prototype.
1215 (find_return_regnum): Ditto.
1216 (unwind_command): Ditto.
1217 (find_dummy_frame_regs): Add parens around subtraction in operand
1218 of bitwise-and.
1219 (skip_prologue): Add parens around operands of logical-and inside
1220 operand of logical-or.
1221 (sign_extend): Add parens around operands of subtraction inside
1222 operand of shift.
1223 (low_sign_extend): Ditto.
1224 * top.c (filename_completer): Convert old style decl of
1225 filename_completion_function into prototype.
1226 * f-lang.c (patch_common_entries): Ifdef out unused function.
1227 * stabsread.c (read_cfront_baseclasses): Remove unused local
1228 variable "msg_noterm".
1229 (resolve_cfront_continuation): Remove unused local variable "fip".
1230 (read_type): Remove unused variable xtypenums.
1231 (read_cfront_static_fields): Remove unused variable "i".
1232 (read_cfront_static_fields): Remove unused variable "nfields".
1233 (read_cfront_member_functions): Add missing comment terminator.
1234 (read_cfront_static_fields): Return 1 rather than random value.
1235 (read_cfront_baseclasses): Ditto.
1236 (read_cfront_baseclasses): Ditto.
1237 (read_cfront_baseclasses): Ditto.
1238 * somsolib.c (som_solib_create_inferior_hook): Remove unused
1239 variable "u".
1240 (som_solib_create_inferior_hook): Remove unused variable
1241 shadow_contents.
1242 (language.h): Add for needed prototypes.
1243 (som_solib_sharedlibrary_command): Add prototype.
1244 * hpread.c: (hpread_read_array_type): Add prototype.
1245 * somread.c (hpread_build_pysmtabs): Add prototype.
1246 (hpread_symfile_finish): Ditto.
1247 (hpread_symfile_init): Ditto.
1248 * hppah-nat.c (fetch_register): Convert old style decl
1249 to prototype.
1250 (gdbcore.h): Include for needed prototypes.
1251 (fetch_register): Remove unused variable "mess".
1252 * remote-pa.c (get_offsets): Ifdef out unused function.
1253 (remote_start_remote): Remove unused variable "timeout".
1254 (boot_board): Add prototype.
1255 (reaad_frame): Add prototype.
1256 (getpkt): Remove unused variable "bp".
1257 (remote_kill): Add prototype.
1258 (remote_mourn): Add prototype.
1259 (remote_insert_breakpoint): Add prototype.
1260 (remote_remove_breakpoint): Add prototype.
1261 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
1262 * infcmd.c (do_registers_info): Only need prototype if
1263 DO_REGISTERS_INFO is not defined.
1264 (breakpoint_auto_delete_contents): Only need if
1265 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1266
1267 Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com>
1268
1269 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
1270 (END_PSYMTAB): Ditto.
1271 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1272
1273 Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
1274
1275 * printcmd.c (_initialize_printcmd): Initialize
1276 tm_print_insn_info.flavour.
1277 start-sanitize-gdbtk
1278 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1279 end-sanitize-gdbtk
1280
1281 Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
1282
1283 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
1284 (arm-tdep.o): Ditto.
1285 (dcache.o): Ditto.
1286 (i386ly-tdep.o): Ditto.
1287 (i960-tdep.o): Ditto.
1288 (m68k-tdep.o): Ditto.
1289 (nindy-tdep.o): Ditto.
1290 (scm-lang.o): Ditto.
1291 (w65-tdep.o): Ditto.
1292 (z8k-tdep.o): Ditto.
1293 (m68k-tdep.o): Depends upon value_h and gdb_string.h
1294 (m2-valprint.o): Depends upon m2-lang.h.
1295 (sparc-tdep.o): Depends upon gdb_string.h
1296 (valprint.o): Depends upon valprint.h
1297
1298 * remote-e7000.c (notice_quit): Remove prototype.
1299 * top.c (initialize_targets): Remove prototype, now in target.h.
1300 * stabsread.c (resolve_cfront_continuation): Remove prototype.
1301 * dbxread.c (resolve_cfront_continuation): Remove prototype.
1302 * symfile.h (set_demangling_style): Remove prototype.
1303 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
1304 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
1305 target.h.
1306 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
1307 now in target.h.
1308 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
1309 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
1310 * scm-lang.c (find_function_in_inferior): Remove prototype.
1311 (value_allocate_space_in_inferior): Ditto.
1312 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
1313 * defs.h (strchr): Remove declarations, they are declared in
1314 gdb_string.h also.
1315 (strrchr): Ditto.
1316 (strstr): Ditto.
1317 (strtok): Ditto.
1318 (strerror): Ditto.
1319 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
1320 passed to f77_print_array_1.
1321 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
1322 * scm-exp.c (scm_istr2int): Remove unused variable "j".
1323 (scm_parse): Remove unused variable "str".
1324 * hp300ux-nat.c (store_inferior_register): Remove unused variable
1325 "buf".
1326 (store_inferior_registers): Remove unnecessary decl "registers".
1327 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
1328 * scm-lang.c (scm_get_field): Remove unused variable "val".
1329 (scm_lookup_name): Remove unused variable "symval".
1330 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
1331 * procfs.c (do_attach, do_detach): Remove unused variable "result".
1332 (last_resume_pid): Remove unused static variable.
1333 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
1334 "res".
1335 * objfiles.c (map_to_address): Remove unused function.
1336 * f-valprint.c (print_max): Remove extraneous extern decl,
1337 in valprint.h.
1338 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
1339 * ch-exp.c (write_lower_upper_value): Remove prototype for
1340 type_lower_upper.
1341
1342 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
1343 * ch-exp.c (parse_mode_call): Ditto.
1344 * f-valprint.c (there_is_a_visible_common_named): Ditto.
1345 * f-lang.c (clear_function_list): Ditto.
1346 (get_bf_for_fcn): Ditto.
1347 (clear_bf_list): Ditto.
1348 (add_common_block): Ditto.
1349 (patch_all_commons_by_name): Ditto.
1350 (find_first_common_named): Ditto.
1351 (add_common_entry): Ditto.
1352 (allocate_saved_function_node): Ditto.
1353 (allocate_saved_bf_node): Ditto.
1354 (allocate_common_entry_node): Ditto.
1355 (allocate_saved_f77_common_node): Ditto.
1356
1357 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
1358 * dcache.c (gdbcore.h): Ditto.
1359 * i386ly-tdep.c (gdbcore.h): Ditto.
1360 * i960-tdep.c (gdbcore.h): Ditto.
1361 * m2-valprint.c (m2-lang.h): Ditto.
1362 * m68k-tdep.c (gdbcore.h): Ditto.
1363 (value.h): Ditto.
1364 (gdb_string.h): Ditto.
1365 * nindy-tdep.c (gdbcore.h): Ditto.
1366 * scm-lang.c (gdbcore.h): Ditto.
1367 * scm-valprint.c (gdbcore.h): Ditto.
1368 * w65-tdep.c (gdbcore.h): Ditto.
1369 * z8k-tdep.c (gdbcore.h): Ditto.
1370 * sparc-tdep.c (gdb_string.h): Include.
1371 * valprint.c (valprint.h): Include.
1372
1373 * config/xm-lynx.h: Remove part of comment about INT_MIN
1374 redefined warnings from defs.h, since INT_MIN define in
1375 defs.h is now protected by #ifndef INT_MIN.
1376 * config/i386/xm-i386bsd.h: Ditto.
1377 * config/m68k/xm-hp300bsd.h: Ditto.
1378 * config/m68k/xm-news.h: Ditto.
1379
1380 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
1381 definition as 0x80000000. The macro in defs.h is better.
1382 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
1383 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
1384 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
1385 * config/pa/xm-hppab.h: Ditto.
1386
1387 * core-aout.c (fetch_core_registers): Add prototype.
1388 * hp300ux-nat.c (fetch_inferior_register): Ditto.
1389 (store_inferior_register_1): Ditto.
1390 (store_inferior_register): Ditto.
1391 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
1392 *scm-valprint.c (c_val_print): Ditto.
1393 * procfs.c (add_fd): Ditto.
1394 (remove_fd): Ditto.
1395 (wait_fd): Ditto.
1396 (sigcodename): Ditto.
1397 (sigcodedesc): Ditto.
1398 (procfs_kill_inferior): Ditto.
1399 (procfs_xfer_memory): Ditto.
1400 (procfs_store_registers): Ditto.
1401 (create_procinfo): Ditto.
1402 (procfs_init_inferior): Ditto.
1403 (proc_set_exec_trap): Ditto.
1404 (procfs_attach): Ditto.
1405 (procfs_detach): Ditto.
1406 (procfs_prepare_to_store): Ditto.
1407 (procfs_files_info): Ditto.
1408 (procfs_open): Ditto.
1409 (procfs_wait): Ditto.
1410 (procfs_fetch_registers): Ditto.
1411 (procfs_mourn_inferior): Ditto.
1412 (procfs_can_run): Ditto.
1413 (procfs_thread_alive): Ditto.
1414 (procfs_stop): Ditto.
1415 * alpha-nat.c (fetch_core_registers): Ditto.
1416 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
1417 * objfiles.c (ecoff_relocate_efi): Ditto.
1418 * inflow.c (pass_signal): Ditto.
1419 (handle_sigio): Ditto.
1420 * annotate.c (breakpoint_changed): Ditto.
1421 * callback.c (wrap): Ditto.
1422 (fdbad): Ditto.
1423 (fdmap): Ditto.
1424 * utils.c (malloc_botch): Ditto.
1425 (fputs_maybe_filtered): Ditto.
1426 (vfprintf_maybe_filtered): Ditto.
1427 * defs.h (notice_quit): Ditto.
1428 * defs.h (xmalloc, xrealloc): Ditto.
1429 * top.c (stop_sig): Ditto.
1430 (init_signals): Ditto.
1431 (user_defined_command): Ditto.
1432 (source_cleanup_lines): Ditto.
1433 (dont_repeat_command): Ditto.
1434 (serial_log_command): Ditto.
1435 (disconnect): Ditto.
1436 * target.h (initialize_targets): Ditto.
1437 * os9kread.c (read_minimal_symbols): Ditto.
1438 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
1439 (fdr_name): Ditto.
1440 (push_parse_stack): Ditto.
1441 (pop_parse_stack): Ditto.
1442 (is_pending_symbol): Ditto.
1443 (add_pending): Ditto.
1444 * serial.c (serial_logchar): Ditto.
1445 (serial_interface_lookup): Ditto.
1446 * serial.h (serial_log_command): Ditto.
1447 * f-valprint.c (info_common_command): Ditto.
1448 * gdbtypes.h (print_type_scalar): Ditto.
1449 * scm-valprint.c (scm_scmlist_print): Ditto.
1450 (scm_ipruk): Ditto.
1451 * scm-lang.c (scm_printstr): Ditto.
1452 (in_eval_c): Ditto.
1453 (evaluate_subexp_scm): Ditto.
1454 * scm-exp.c (scm_read_token): Ditto.
1455 (scm_skip_ws): Ditto.
1456 (scm_lreadparen): Ditto.
1457 * m2-lang.c (emit_char): Ditto.
1458 (m2_printchar): Ditto.
1459 (m2_printstr): Ditto.
1460 (m2_create_fundamental_type): Ditto.
1461 * f-lang.c (emit_char): Ditto.
1462 (f_printchar): Ditto.
1463 (f_printstr): Ditto.
1464 (f_create_fundamental_type): Ditto.
1465 * ch-lang.c (chill_printchar): Ditto.
1466 (chill_printstr): Ditto.
1467 (chill_create_fundamental_type): Ditto.
1468 (value_chill_length): Ditto.
1469 (value_chill_card): Ditto.
1470 (value_chill_max_min): Ditto.
1471 (evaluate_subexp_chill): Ditto.
1472 * ch-exp.c (PEEK_TOKEN): Ditto.
1473 (peek_token_): Ditto.
1474 (forward_token_): Ditto.
1475 (parse_case_label): Ditto.
1476 (parse_opt_untyped_expr): Ditto.
1477 (parse_unary_call): Ditto.
1478 (parse_call): Ditto.
1479 (parse_named_record_element): Ditto.
1480 (parse_tuple_element): Ditto.
1481 (parse_opt_element_list): Ditto.
1482 (parse_tuple): Ditto.
1483 (parse_primval): Ditto.
1484 (parse_operand6): Ditto.
1485 (parse_operand5): Ditto.
1486 (parse_operand4): Ditto.
1487 (parse_operand3): Ditto.
1488 (parse_operand2): Ditto.
1489 (parse_operand1): Ditto.
1490 (parse_operand0): Ditto.
1491 (parse_expr): Ditto.
1492 (parse_then_alternative): Ditto.
1493 (parse_else_alternative): Ditto.
1494 (parse_if_expression): Ditto.
1495 (parse_untyped_expr): Ditto.
1496 (growbuf_by_size): Ditto.
1497 (match_simple_name_string): Ditto.
1498 (decode_integer_value): Ditto.
1499 (decode_integer_literal): Ditto.
1500 (match_float_literal): Ditto.
1501 (match_float_literal): Ditto.
1502 (match_string_literal): Ditto.
1503 (match_character_literal): Ditto.
1504 (match_integer_literal): Ditto.
1505 (match_bitstring_literal): Ditto.
1506 (write_lower_upper_value): Ditto.
1507 * ch-lang.h (type_lower_upper): Ditto.
1508 * c-lang.c (emit_char): Ditto.
1509 * dwarfread.c (free_utypes): Ditto.
1510 * stabsread.h (resolve_cfront_continuation): Ditto.
1511 * stabsread.c (get_substring): Ditto.
1512 (read_one_struct_field): Ditto.
1513 * stabsread.h (process_later): Ditto.
1514 * demangle.c (set_demangling_command): Ditto.
1515 * defs.h (set_demangling_style): Ditto.
1516 * maint.c (maintenance_info_command): Ditto.
1517 (print_section_table): Ditto.
1518 (maintenance_info_sections): Ditto.
1519 (maintenance_print_command): Ditto.
1520 * symtab.h (maintenance_print_statistics): Ditto.
1521 * objfiles.h (in_plt_section): Ditto.
1522 * objfiles.c (add_to_objfile_sections): Ditto.
1523 * bcache.c (hash): Ditto.
1524 (lookup_cache): Ditto.
1525 * exec.c (bfdsec_to_vmap): Ditto.
1526 (ignore): Ditto.
1527 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
1528 * language.c (unk_lang_printchar): Ditto.
1529 (unk_lang_printstr): Ditto.
1530 (unk_lang_create_fundamental_type): Ditto.
1531 (unk_lang_print_type): Ditto.
1532 (unk_lang_val_print): Ditto.
1533 (unk_lang_value_print): Ditto.
1534 * target.c (update_current_target): Ditto.
1535 (debug_to_open): Ditto.
1536 (debug_to_close): Ditto.
1537 (debug_to_attach): Ditto.
1538 (debug_to_detach): Ditto.
1539 (debug_to_resume): Ditto.
1540 (debug_to_wait): Ditto.
1541 (debug_to_fetch_registers): Ditto.
1542 (debug_to_store_registers): Ditto.
1543 (debug_to_prepare_to_store): Ditto.
1544 (debug_to_xfer_memory): Ditto.
1545 (debug_to_files_info): Ditto.
1546 (debug_to_insert_breakpoint): Ditto.
1547 (debug_to_remove_breakpoint): Ditto.
1548 (debug_to_terminal_init): Ditto.
1549 (debug_to_terminal_inferior): Ditto.
1550 (debug_to_terminal_ours_for_output): Ditto.
1551 (debug_to_terminal_ours): Ditto.
1552 (debug_to_terminal_info): Ditto.
1553 (debug_to_kill): Ditto.
1554 (debug_to_load): Ditto.
1555 (debug_to_lookup_symbol): Ditto.
1556 (debug_to_create_inferior): Ditto.
1557 (debug_to_mourn_inferior): Ditto.
1558 (debug_to_can_run): Ditto.
1559 (debug_to_notice_signals): Ditto.
1560 (debug_to_thread_alive): Ditto.
1561 (debug_to_stop): Ditto.
1562 start-sanitize-gdbtk
1563 * gdbtk.c (null_routine): Ditto.
1564 (gdbtk_flush): Ditto.
1565 (gdbtk_fputs): Ditto.
1566 (gdbtk_query): Ditto.
1567 (gdbtk_readline): Ditto.
1568 (gdbtk_readline_end): Ditto.
1569 (gdb_get_breakpoint_list): Ditto.
1570 (gdb_get_breakpoint_info): Ditto.
1571 (breakpoint_notify): Ditto.
1572 (gdbtk_create_breakpoint): Ditto.
1573 (gdbtk_delete_breakpoint): Ditto.
1574 (gdbtk_modify_breakpoint): Ditto.
1575 (gdb_loc): Ditto.
1576 (gdb_eval): Ditto.
1577 (gdb_sourcelines): Ditto.
1578 (map_arg_registers): Ditto.
1579 (get_register_name): Ditto.
1580 (gdb_regnames): Ditto.
1581 (get_register): Ditto.
1582 (gdb_fetch_registers): Ditto.
1583 (register_changed_p): Ditto.
1584 (gdb_changed_register_list): Ditto.
1585 (gdb_cmd): Ditto.
1586 (call_wrapper): Ditto.
1587 (gdb_listfiles): Ditto.
1588 (gdb_stop): Ditto.
1589 (gdbtk_dis_asm_read_memory): Ditto.
1590 (compare_lines): Ditto.
1591 (gdb_disassemble): Ditto.
1592 (tk_command): Ditto.
1593 (cleanup_init): Ditto.
1594 (gdbtk_interactive): Ditto.
1595 (x_event): Ditto.
1596 (gdbtk_wait): Ditto.
1597 (gdbtk_call_command): Ditto.
1598 (tk_command_loop): Ditto.
1599 (gdbtk_init): Ditto.
1600 end-sanitize-gdbtk
1601 * breakpoint.h (set_breakpoint_sal): Ditto.
1602 * remote-utils.c (usage): Ditto.
1603 * remote.c (set_thread): Ditto.
1604 (remote_thread_alive): Ditto.
1605 (get_offsets): Ditto.
1606 (read_frame): Ditto.
1607 (remote_insert_breakpoint): Ditto.
1608 (remote_remove_breakpoint): Ditto.
1609 * sparc-nat.c (fetch_core_registers): Ditto.
1610 * corelow.c (add_to_thread_list): Ditto.
1611 (ignore): Ditto.
1612 * inftarg.c (proc_wait): Ditto.
1613 * infptrace.c (udot_info): Ditto.
1614 (fetch_register): Ditto.
1615 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
1616 (hardwire_print_tty_state): Ditto.
1617 (hardwire_flush_output): Ditto.
1618 (hardwire_flush_input): Ditto.
1619 (hardwire_send_break): Ditto.
1620 (hardwire_setstopbits): Ditto.
1621 * ser-tcp.c (tcp_return_0): Ditto.
1622 (tcp_noflush_set_tty_state): Ditto.
1623 (tcp_print_tty_state): Ditto.
1624 * solib.c (match_main): Ditto.
1625 * gdbtypes.c (print_bit_vector): Ditto.
1626 (print_arg_types): Ditto.
1627 (dump_fn_fieldlists): Ditto.
1628 (print_cplus_stuff): Ditto.
1629 * symfile.h (entry_point_address): Ditto.
1630 * symfile.c (decrement_reading_symtab): Ditto.
1631 * valops.c (value_arg_coerce): Ditto.
1632 * value.h (find_function_in_inferior): Ditto.
1633 (value_allocate_space_in_inferior): Ditto.
1634 * values.c (vb_match): Ditto.
1635 * thread.c (info_thread_command): Ditto.
1636 (restore_current_thread): Ditto.
1637 (thread_apply_all_command): Ditto.
1638 (thread_apply_command): Ditto.
1639 * inferior.h (write_pc_pid): Ditto.
1640 * infrun.c (delete_breakpoint_current_contents): Ditto.
1641 * breakpoint.c (print_it_normal): Ditto.
1642 (watchpoint_check): Ditto.
1643 (print_it_done): Ditto.
1644 (print_it_noop): Ditto.
1645 (maintenance_info_breakpoints): Ditto.
1646 (create_longjmp_breakpoint): Ditto.
1647 (hbreak_command): Ditto.
1648 (thbreak_command): Ditto.
1649 (watch_commnd_1): Ditto.
1650 (rwatch_command): Ditto.
1651 (awatch_command): Ditto.
1652 (do_enable_breakpoint): Ditto.
1653 * ch-valprint.c (chill_val_print_array_elements): Ditto.
1654 * eval.c (evaluate_subexp): Ditto.
1655 (get_label): Ditto.
1656 (evaluate_struct_tuple): Ditto.
1657 * eval.c (init_array_element): Ditto.
1658
1659 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
1660 * breakpoint.c (hw_breakpoint_used_count): Ditto.
1661 (hw_watchpoint_used_count): Ditto.
1662 * findvar.c (write_register_gen): Ditto.
1663 (read_register_pid): Ditto.
1664 * symtab.c (cplusplus_hint): Ditto.
1665 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
1666 * ch-valprint.c (chill_print_type_scalar): Ditto.
1667 * gdbtypes.c (add_name): Ditto.
1668 (add_mangled_type): Ditto.
1669 (cfront_mangle_name): Ditto.
1670 * sparc-tdep.c (isbranch): Ditto.
1671 * inftarg.c (child_stop): Ditto.
1672 * win32-nat.c (child_stop): Ditto.
1673 * mac-nat.c (child_stop): Ditto.
1674 * remote-utils.c (sr_com): Ditto.
1675 * dbxread.c (process_now): Ditto.
1676 * ch-exp.c (require): Ditto.
1677 (check_token): Ditto.
1678 (expect): Ditto.
1679 (parse_mode_call): Ditto.
1680 (parse_mode_or_normal_call): Ditto.
1681 * scm-lang.c (scm_lookup_name): Ditto
1682 * f-lang.c (allocate_saved_bf_node): Ditto.
1683 (allocate_saved_function_node): Ditto.
1684 (allocate_saved_f77_common_node): Ditto.
1685 (allocate_common_entry_node): Ditto.
1686 (add_common_block): Ditto.
1687 (add_common_entry): Ditto.
1688 (find_first_common_named): Ditto.
1689 (patch_common_entries): Ditto.
1690 (patch_all_commons_by_name): Ditto.
1691 (clear_bf_list): Ditto.
1692 (get_bf_for_fcn): Ditto.
1693 (clear_function_list): Ditto.
1694 * scm-exp.c (scm_istr2int): Ditto.
1695 (scm_istring2number): Ditto.
1696 * scm-valprint.c (scm_inferior_print): Ditto.
1697 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
1698 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
1699 (f77_create_arrayprint_offset_tbl): Ditto.
1700 (f77_print_array_1): Ditto.
1701 (f77_print_array): Ditto.
1702 (list_all_visible_commons): Ditto.
1703 (there_is_a_visible_common_named): Ditto.
1704 * mdebugread.c (ecoff_relocate_efi): Ditto.
1705 * callback.c (os_close): Ditto.
1706 (os_get_errno): Ditto.
1707 (os_isatty): Ditto.
1708 (os_lseek): Ditto.
1709 (os_open): Ditto.
1710 (os_read): Ditto.
1711 (os_read_stdin): Ditto.
1712 (os_write): Ditto.
1713 (os_write_stdout): Ditto.
1714 (os_rename): Ditto.
1715 (os_system): Ditto.
1716 (os_time): Ditto.
1717 (os_unlink): Ditto.
1718 (os_shutdown): Ditto.
1719 (os_init): Ditto.
1720 (os_printf_filtered): Ditto.
1721
1722 * scm-lang.h (scm_parse): Change old style decl to prototype.
1723 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
1724 * top.c (init_proc): Ditto.
1725 (query_hook): Ditto.
1726 (error_hook): Ditto.
1727 * f-lang.c (c_value_print): Ditto.
1728 * ch-exp.c (parse_expression): Ditto.
1729 (parse_primval): Ditto.
1730 (parse_untyped_expr): Ditto.
1731 (parse_opt_untyped_expr): Ditto.
1732 (ch_lex): Ditto.
1733 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
1734 (sparc_frame_saved_pc): Ditto.
1735 (sparc_push_dummy_frame): Ditto.
1736 (sparc_pop_frame): Ditto.
1737 * defs.h (fclose): Ditto.
1738 (atof): Ditto.
1739 (error_hook): Ditto.
1740
1741 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
1742 * rs6000-tdep.c (single_step): Ditto.
1743 * sparc-tdep.c (single_step): Ditto.
1744
1745 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
1746 to PTR which is what make_cleanup expects.
1747 * utils.c (null_cleanup): Change arg type to PTR.
1748 * defs.h (null_cleanup): Change prototype to match actual function.
1749 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
1750 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1751 chill_print_type_scalar to LONGEST.
1752 * infrun.c (wait_for_inferior): Have empty switch case for
1753 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
1754 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
1755 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
1756 is defined.
1757 * symfile.c (generic_load): Scan long int using a long int spec,
1758 not an int spec.
1759 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
1760 is defined.
1761 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
1762 not defined.
1763 * inflow.c (handle_sigio): Only need prototype when the actual
1764 function is compiled in.
1765 * valprint.c (longest_to_int): Expand error message to be
1766 separate messages for args larger than largest signed int
1767 and args smaller than smallest signed int.
1768 * valprint.c (print_longest): Fix problems with support for case
1769 where compiler supports type "long long" but the runtime doesn't
1770 support printing them with "%ll".
1771 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
1772 return types to void since we don't actually return anything
1773 meaningful and callees ignore the values anyway.
1774 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
1775 ifdef.
1776 (modify_run_on_last_close_flag): Ditto.
1777 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
1778 ifdef
1779 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
1780 random value.
1781 * infrun.c (wait_for_inferior): Ensure random_signal is not used
1782 uninitialized.
1783 * valops.c (call_function_by_hand): Ensure struct_addr is not used
1784 uninitialized.
1785 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
1786 uninitialized.
1787 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
1788 to "const char *".
1789 start-sanitize-gdbtk
1790 * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
1791 to proper pointer type, from int.
1792 (gdbtk_query): Change first arg to "const char *" from "char *".
1793 end-sanitize-gdbtk
1794 * infptrace.c (udot_info): Add two dummy args so that the type is
1795 correct for passing to add_info.
1796 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
1797 in prototypes.
1798 (saved_bf_symnum): Ditto.
1799 (SAVED_FUNCTION): Ditto.
1800 (SAVED_FUNCTION_PTR): Ditto.
1801 (SAVED_BF): Ditto.
1802 (SAVED_BF_PTR): Ditto.
1803 * ch-exp.c (parse_named_record_element): Build error message in
1804 temporary buffer before passing it to expect, rather than passing
1805 wrong number of args to expect.
1806 * demangle.c (set_demangling_style): Call set_demangling_command with
1807 correct number of arguments.
1808 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
1809 int to match actual function.
1810 (os_isatty): Call fdmap with right number of arguments, was missing
1811 the host_callback* arg.
1812 * target.c (cleanup_target): Prototype all functions casts.
1813 * target.h (one_stepped, single_step): Declare here and convert
1814 single_step to prototype.
1815 * infrun.c (one_stepped, single_step): Don't declare externs
1816 here, they have moved to target.h.
1817 * eval.c (init_array_element): Declare previously undeclared
1818 last two args as LONGEST.
1819 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
1820 start-sanitize-gdbtk
1821 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
1822 end-sanitize-gdbtk
1823
1824 Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com>
1825
1826 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
1827
1828 Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com)
1829
1830 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
1831 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
1832 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
1833 text address. Use a seperate flag (textlow_not_set) instead.
1834 This makes stabs in ELF .o files work a lot better.
1835 * mdebugread.c xcoffread.c: Define textlow_not_set for
1836 partial-stab.h.
1837 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1838
1839 start-sanitize-gdbtk
1840 Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com>
1841
1842 * gdbtk.tcl (files_command): Reorder the binding tags for
1843 the listbox widget to avoid referencing the listbox after
1844 the containing widget has been destroyed by the action of
1845 a previous binding.
1846 end-sanitize-gdbtk
1847
1848 Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com>
1849
1850 * dwarf2read.c (struct filenames): Change internal "struct file"
1851 to "struct fileinfo" to avoid conflict with "struct file" in
1852 <sys/file.h> on HPUX and Solaris.
1853
1854 start-sanitize-gdbtk
1855 Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
1856
1857 * gdbtk.tcl (delete_expr): Unset corresponding element of
1858 expr_update_list when destroying an expression.
1859 (create_expr_window): Initialize expr_num, delete_expr_num,
1860 and expr_update_list here when each new expression window
1861 is created, rather than once at startup.
1862 end-sanitize-gdbtk
1863
1864 Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com>
1865
1866 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
1867 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
1868 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
1869 (SFILES): Add dwarf2read.c.
1870 (dwarf2read.o): Add build rule.
1871 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
1872 exported functions.
1873 * elfread.c (elf_symfile_read): Call them.
1874 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1875
1876 Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>
1877
1878 * symfile.c (symfile_bfd_open):
1879 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
1880 free the user from having to type the .exe extension.
1881
1882 Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com>
1883
1884 * mon960-rom.c: Shorten the mon960_inits string to a single
1885 carriage return; this prevents a hang on connecting immediately
1886 after powerup, when MON960 is attempting autobaud detection.
1887
1888 Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com>
1889
1890 * a29k-tdep.c (get_saved_register): Allow PC to be modified
1891 when innermost frame is selected, but not in outer frames.
1892
1893 Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com)
1894
1895 * command.c (do_setshow_command): Don't segfault when showing
1896 var_string and var_string_noescape vars that are NULL.
1897
1898 Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com>
1899
1900 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
1901 cygwin32_conv_to_posix_path.
1902 (child_create_inferior): unix_path_to_dos_path renamed to
1903 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1904
1905 Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
1906
1907 * defs.h printcmd.c: Create global disassemble_info structure
1908 tm_print_insn_info.
1909 start-sanitize-gdbtk
1910 * gdbtk.c (gdb_disassemble): Setup di.mach from
1911 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
1912 end-sanitize-gdbtk
1913 * i386-tdep.c (set_assembly_language_command): set
1914 tm_print_insn_info.mach to the appropriate value for 386 or 8086
1915 disassembly.
1916 * printcmd.c (print_insn): Move init of disassembler_info to
1917 _initialize_printcmd. Set endian for disassembler here.
1918 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
1919 select sparc/sparclite.
1920 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
1921 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
1922 bfd_mach_sparc/bfd_mach_sparc_sparclite.
1923
1924 Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com>
1925
1926 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
1927 than xmalloc/xrealloc.
1928
1929 Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com>
1930
1931 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
1932 a NULL pointer, not a -1.
1933
1934 Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com)
1935
1936 * i386-tdep.c (set_assembly_language_command): New routine to
1937 select between i386 and i8086 instruction sets for disassembly.
1938 New command `set assembly-language {i386 i8086}'.
1939
1940 Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com>
1941
1942 * monitor.c (monitor_write_memory, monitor_read_memory_single):
1943 Disable use of "long long" memory read/write commands; can't
1944 use them because we hold the values to read/write in an int
1945 variable, and because strtoul fails on values that exceed the
1946 size of a long. This fixes breakpoint problems on MON960.
1947
1948 Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com>
1949
1950 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
1951 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1952
1953 Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com>
1954
1955 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
1956 and MMALLOC_CHECK macros, and add comment indicating how host dependent
1957 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
1958 to use it but to not do heap corruption checking.
1959 * gdbserver/Makefile.in: Ditto.
1960 * utils.c (init_malloc): Replace warning() use with direct call of
1961 fprintf_unfiltered, since current_target has not yet been set and thus
1962 we cannot use warning(). If we try to use mmcheck and it fails,
1963 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1964 defined. Other small mmalloc related cleanups.
1965 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1966 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1967
1968 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1969 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1970 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1971 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1972 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1973 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1974 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1975 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1976 Remove obsolete defines.
1977
1978 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1979 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1980 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1981 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1982 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1983 * config/powerpc/aix.mh (MMALLOC_DISABLE):
1984 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1985 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1986 * config/mips/decstation.mh (MMALLOC_DISABLE):
1987 * config/m88k/cxux.mh (MMALLOC_DISABLE):
1988 * config/i386/i386mk.mh (MMALLOC_DISABLE):
1989 * config/i386/i386m3.mh (MMALLOC_DISABLE):
1990 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1991 Use MMALLOC_CFLAGS instead.
1992
1993 Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com)
1994
1995 * h8300-tdep.c: Remove some outdated comments.
1996 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1997 Handle stm.l insns for the H8/S.
1998 (examine_prologue): Likewise.
1999
2000 Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com>
2001
2002 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
2003
2004 Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com>
2005
2006 * mon960-rom.c (mon960_open): Add floating point detection to
2007 prevent hang on non-FPU processors (PR 9775).
2008 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
2009 setting breakpoints and improve loading speed.
2010
2011 Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com>
2012
2013 * coffread.c (record_minimal_symbol): Don't presave name string
2014 on symbol_obstack before passing to prim_record_minimal_symbol.
2015 It now handles saving the string itself.
2016 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
2017 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
2018 * os9kread.c (record_minimal_symbol): Ditto.
2019 * solib.c (solib_add_common_symbols): Ditto.
2020
2021 * coffread.c (coff_symtab_read): Don't presave name string on
2022 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
2023 It now handles saving the string itself.
2024 * dbxread.c (record_minimal_symbol): Ditto.
2025 * elfread.c (record_minimal_symbol_and_info): Ditto.
2026
2027 * dstread.c (record_minimal_symbol): Remove static function that just
2028 called prim_record_minimal_symbol with the same args (after change to
2029 prim_record_minimal_symbol to do it's own name string saves).
2030 * nlmread.c (record_minimal_symbol): Ditto.
2031 * somread.c (record_minimal_symbol): Ditto.
2032
2033 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
2034 (hpread_read_function_type): Ditto.
2035 (hpread_process_one_debug_symbol): Ditto.
2036 * mdebugread.c (parse_symbol): Ditto.
2037 (new_symbol): Ditto.
2038 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
2039
2040 * coffread.c (process_coff_symbol): Use obsavestring to save
2041 SYMBOL_NAME, rather than obstack_copy0.
2042 * dstread.c (create_new_symbol): Ditto
2043 * symfile.c (obconcat): Ditto.
2044 * stabsread.c (patch_block_stabs): Ditto.
2045 * xcoffread.c (SYMNAME_ALLOC): Ditto.
2046
2047 * symfile.c (obsavestring): Update comments
2048 * solib.c (solib_add_common_symbols): Remove local var origname.
2049
2050 Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com)
2051
2052 * configure: Re-build with autoconf-2.10.
2053
2054 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
2055 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
2056 TM_PRINT_INSN, which comes from the tm file.
2057
2058 Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com>
2059
2060 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
2061 os9kread.c: Replace identical sym_offsets functions with
2062 default_symfile_offsets.
2063 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
2064 macro to allocate section_offsets.
2065 * symfile.c (default_symfile_offsets): New function.
2066 * symfile.h: Declare default_symfile_offsets.
2067 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
2068 simplify allocation of section_offsets.
2069
2070 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
2071
2072 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2073 * configure configure.in: Only make sol-thread.o for native.
2074 Also, switch to dlopened libthread_db.so.1.
2075 * sol-thread.c: Switch to using dlopen to get the thread_db
2076 library.
2077
2078 Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com)
2079
2080 * configure, configure.in: Change test for libthread_db to only
2081 work for configs where build/host/target are the same.
2082
2083 Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2084
2085 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
2086 PowerPC.
2087
2088 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
2089 support.
2090 * configure: Regenerate.
2091
2092 Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
2093
2094 From Raymond Jou <rjou@mexican.cygnus.com>:
2095 * mpw-make.sed: Add lines to whack out autoconf hook
2096 @CONFIG_LDFLAGS@.
2097
2098 Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com>
2099
2100 * remote-e7000.c (e7000_stop): New function.
2101
2102 Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com>
2103
2104 * configure, configure.in: Add target sparclet.
2105 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
2106 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
2107 command to start process running on target is different from one
2108 to continue execution), MO_HEX_PREFIX (if addresses from monitor
2109 have a "0x" prefix).
2110 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
2111 registers array. This is to allow NULLs to be place holders in
2112 the tm-*.h file so that only minor changes are needed when a new
2113 processor is introduced (eg, one without floating point).
2114 * sparc-tdep.c: Conditionally remove dependancies on floating
2115 point.
2116 * sparclet-rom.c, config/sparc/sparclet.mt,
2117 config/sparc/tm-sparclet.h: New files for target sparclet.
2118 * symfile.c (load_command): Add option for 2nd parameter; a load
2119 offset added to the vma of each section.
2120
2121 Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com>
2122
2123 * main.c (main): Add option "l" for setting remote_timeout.
2124
2125 Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com>
2126
2127 * remote-e7000.c, remote.c, target.h, top.c: Add set option
2128 "remote_timeout" for setting remote_timeout. Add set option
2129 "use_hard_breakpoints" for setting hardware .vs. memory
2130 breakpoints.
2131
2132 Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com>
2133
2134 * remote-e7000.c (e7000_parse_device): New function.
2135 Add option "tcp_remote" to target command if using
2136 tcp to connect to a remote host which is then connected
2137 via serial port to the e7000 (for exampole, a port master).
2138 (e7000_open): Change to call e7000_parse_device.
2139
2140 Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com>
2141
2142 * monitor.c (monitor_debug): Fix remotedebug buffering.
2143
2144 Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com>
2145
2146 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
2147 (NATDEPFILES): Add a space.
2148
2149 Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2150
2151 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
2152 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
2153
2154 * ch-exp.c (calculate_array_length): Function removed.
2155
2156 Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2157
2158 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
2159 (e7000_xfer_inferior_memory): Call it.
2160
2161 Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2162
2163 * gdb/gdbserver/Makefile.in (docdir): Removed.
2164
2165 Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2166
2167 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
2168 Use autoconf set values.
2169 (docdir): Removed.
2170 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2171 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
2172 includedir): Use autoconf set values.
2173 (docdir): Removed.
2174 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
2175 * nlm/configure: Rebuilt.
2176 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
2177
2178 Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com)
2179
2180 * stabsread.c (read_cfront_member_functions): add type
2181
2182 Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com>
2183
2184 * win32-nat.c: #include <unistd.h>.
2185 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
2186 (child_create_inferior): Convert only env var PATH to win32 style.
2187 (set_pathstyle_dos): Delete.
2188 (_initialize_inftarg): Delete dos-path-style command.
2189
2190 start-sanitize-gdbtk
2191 Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
2192
2193 * gdbtk.tcl (create_register_windows): Include missing '$'s.
2194 Add global declarations for various reg_format_* variables.
2195 * gdbtk.tcl (populate_register_window): Make initial window one
2196 line taller to account for new column header line.
2197
2198 Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
2199
2200 * gdbtk.c (get_register): Support for printing raw formats.
2201 * gdbtk.tcl: Add hint for using debug_interface.
2202 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
2203 Enclose arg in braces for consistency.
2204 (create_registers_window, populate_reg_window, update_registers):
2205 Major rewrite to support displaying multiple formats in the register
2206 window.
2207 (init_reg_info): New function.
2208 (recompute_reg_display_list): Reset reg_display_list, start
2209 register display lines at line 2.
2210
2211 end-sanitize-gdbtk
2212 Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com>
2213
2214 * configure.in: Revise sol-thread.o test.
2215 * configure: Regenerated.
2216
2217 * source.c (find_source_lines): Reassign size to result of read.
2218
2219 start-sanitize-gdbtk
2220 Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
2221
2222 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
2223 avoid backing up over prompt. At every input, make sure insert
2224 point is at least after command start, handle control-u to delete
2225 current input line.
2226 (tclsh): Handle backspace to avoid backing up over prompt. Handle
2227 control-u to delete current input line.
2228
2229 Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
2230
2231 * configure.in: disable gdbtk for *cygwin32* hosted compiles
2232 * configure: regenerated with autoconf 2.8
2233
2234 end-sanitize-gdbtk
2235 Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2236
2237 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
2238 (h8300_command): Likewise.
2239 (set_machine): Likewise.
2240 (set_machine_hook): Likewise.
2241 (_initialize_h8300m): Likewise.
2242
2243 * config/h8300/tm-h8300.h (h8300smode): Declare.
2244
2245 Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2246
2247 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
2248 of shl_load calls for hpux10.
2249
2250 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
2251
2252 * config.in: Regenerated.
2253 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
2254
2255 * configure: Regenerated.
2256 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
2257 avoid name clashes with SunOS headers.
2258
2259 Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com>
2260
2261 From Michael Snyder <Michael_Snyder@next.com>:
2262 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
2263 exception if one or more objfile has no symbols, such as when
2264 a dynamic library has been stripped.
2265
2266 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
2267
2268 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2269 * configure configure.in: Only make sol-thread.o for native.
2270 Also, switch to dlopened libthread_db.so.1.
2271 * sol-thread.c: Switch to using dlopen to get the thread_db
2272 library.
2273
2274 Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com>
2275
2276 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
2277 Change from 0xE0000000 to 0xC0000000.
2278
2279 Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2280
2281 * config/powerpc/xm-solaris.h: Initial version of support for
2282 Solaris on PowerPC.
2283
2284 Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
2285
2286 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
2287 target.
2288 * configure: Rebuild.
2289
2290 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
2291 little-endian builds.
2292
2293 Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com)
2294
2295 * inftarg.c (child_thread_alive): Protect declaration with
2296 #ifndef CHILD_THREAD_ALIVE.
2297
2298 * source.c (find_source_lines): Check the time on the symtab's bfd if
2299 it exists, else check the time on the exec_bfd.
2300
2301 Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com>
2302
2303 * dsrec.c (make_srec): Fix calculation of address size
2304 to allow addresses less than 0x100.
2305
2306 Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2307
2308 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
2309
2310 Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
2311
2312 * remote-mips.c: cannot use EINVAL for breakpoint test since
2313 its value varies for different hosts (e.g. go32's is 19, while
2314 sunos is 22). Changed to hardcoded 22 since that is what the
2315 mips boards return.
2316
2317 Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
2318
2319 * configure: Regenerated.
2320 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
2321 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
2322
2323 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2324
2325 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
2326 (_initialize_solib): Add set/show commands for those variables.
2327 (solib_map_sections): Implement searching using them.
2328
2329 Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com>
2330
2331 Changes from: David Mosberger-Tang <davidm@azstarnet.com>
2332
2333 * NEWS: Add Alpha Linux as a new native configuration.
2334
2335 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
2336 return type VOID, assume no debugging info is available for that
2337 object file and patch the return value into VOID *. Otherwise,
2338 operations requiring an implicit call to malloc() will fail.
2339
2340 * infrun.c (wait_for_inferior): The criterion to detect entering a
2341 sigtramp handler is now: (a) the current pc is inside a sigtramp
2342 handler, (b) the previous pc is not in a sigtramp handler, and (c)
2343 the current stack pointer is "inner" than the old one. Condition
2344 (c) is new to avoid mistaking a return from a signal handler into
2345 sigtramp as a new sigtramp invocation.
2346
2347 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
2348 int may not be big enough to hold an address.
2349 (dcache_hit): Ditto.
2350 (dcache_peek_byte): Fix indentation.
2351
2352 * configure.in (alpha-*-linux*): Add target.
2353 * configure: Rebuild
2354
2355 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
2356 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
2357 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
2358 (SIGCONTEXT_ADDR): Ditto.
2359 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2360
2361 * config/alpha/alpha-linux.mh: New file.
2362 * config/alpha/alpha-linux.mt: Ditto.
2363 * config/alpha/nm-linux.h: Ditto.
2364 * config/alpha/tm-alphalinux.h: Ditto.
2365 * config/alpha/xm-alphalinux.h: Ditto.
2366 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
2367 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
2368 xm-alphaosf.h.
2369 * config/alpha/alpha-osf2.mh: Ditto.
2370
2371 * blockframe.c (find_pc_partial_function): Pass PC to
2372 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
2373 that detect sigtramp code via designated code sequences (as is the
2374 case for Linux/Alpha, for example).
2375
2376 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
2377 to ignore new PC argument.
2378 * config/m68k/tm-hp300bsd.h: Ditto.
2379 * config/vax/tm-vax.h: Ditto.
2380
2381 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
2382 (alpha_osf_skip_sigtramp_frame): Ditto.
2383 (push_sigtramp_desc): Ditto.
2384 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
2385 sigcontext address from frame.
2386 (alpha_saved_pc_after_call): When in sigtramp, use
2387 alpha_frame_saved_pc() instead of read-register().
2388 (after_prologue): When inside a dynamically generated sigtramp
2389 function, there is no prologue, so return address of first
2390 instruction.
2391 (alpha_in_prologue): Fix typo in comment.
2392 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
2393 whether we're inside a dynamicaly generated sigtramp function. If
2394 so, create and push and appropriate procedure descriptor.
2395 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
2396 the frame past a sigtramp frame (if the current frame is indeed a
2397 sigtramp function).
2398 (init_extra_frame_info): Don't read next frame register off of
2399 stack-pointer when inside a dynamiccaly generated sigtramp.
2400 (alpha_pop_frame): Also unlink and destroy procedure descriptors
2401 created for dynamically generated sigtramp functions.
2402
2403 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
2404 <alpha/ptrace.h> instead of <machine/reg.h>
2405
2406 Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2407
2408 * gnu-nat.c (inf_validate_task_sc):
2409 Give terminal to gdb while asking question.
2410 (inf_resume): Don't validate the task suspend-count while execing.
2411
2412 Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
2413
2414 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
2415 additional suspend count.
2416 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
2417 (inf_resume): Call inf_validate_task_sc here.
2418 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
2419
2420 Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
2421
2422 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
2423
2424 Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com)
2425
2426 * h8300-tdep.c (IS_PUSH): Refine.
2427 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
2428 (IS_SUB4_SP, IS_SUBL_SP): New macros.
2429 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
2430 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
2431 when in H8/300H mode. Get the return pointer's address correctly
2432 for the H8/300H. Handle H8/300H prolouge code sequences.
2433
2434 * symfile.c (generic_load): Print the starting address
2435 of the file just loaded.
2436
2437 Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com>
2438
2439 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
2440
2441 Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2442
2443 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
2444 if a `source' command is contained in bs->commands.
2445
2446 * infrun.c (wait_for_inferior): Update step_frame_address when
2447 stepping into a new line.
2448
2449 From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab):
2450 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
2451 bpenables array.
2452
2453 Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com>
2454
2455 * dsrec.c (load_srec): Add WAITACK parameter, for machines
2456 like EST visionICE that send back an ACK after each S-record.
2457 * monitor.c (monitor_wait_srec_ack): New function.
2458 (monitor_load): Pass monitor_wait_srec_ack to load_srec
2459 if the monitor's MO_SREC_ACK flag is set.
2460 * monitor.h: Define MO_SREC_ACK flag.
2461 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
2462 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
2463 * srec.h: Add WAITACK parameter to load_srec prototype.
2464
2465 Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
2466
2467 * config/sparc/sparclite.mt: Add the sparc simulator.
2468
2469 Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
2470
2471 * defs.h (read_command_lines, query_hook): Update prototypes.
2472 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
2473 * breakpoint.c (commands_command): Build message in temporary buffer
2474 and pass that, as well as tty control flag, to read_command_lines.
2475 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
2476 Define here.
2477 (command_loop): Check for non-NULL instream before looping.
2478 (command_line_input): Use readline_hook when appropriate, to get
2479 user input from a GUI window.
2480 (read_next_line): Also build prompt if getting user input from a GUI.
2481 (recurse_read_control_structure): Fix typo in comment.
2482 (read_command_lines): Use passed in prompt and tty flag to decide how
2483 to build message. Use readline_begin_hook when appropriate, to set
2484 up a GUI interaction window. Just return head, whether NULL or not,
2485 after using readline_end_hook to complete GUI interaction.
2486 (define_command, document_command): Build message in a temporary
2487 buffer and pass it to read_command_lines, along with tty flag.
2488
2489 start-sanitize-gdbtk
2490 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
2491 New functions.
2492 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
2493 (gdbtk_init): Set readline_begin_hook, readline_hook,
2494 and readline_end_hook.
2495 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
2496 gdbtk_tcl_readline_end): New functions.
2497 (tclsh): Pack scroll bar on right side of window, not left.
2498 end-sanitize-gdbtk
2499
2500 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2501
2502 * blockframe.c (frameless_look_for_prologue):
2503 Add FUNCTION_START_OFFSET only if func_start is non-zero.
2504 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
2505 pc is not in a known section.
2506 * stack.c (print_frame_info): Remove check for fi->pc in known
2507 section, now handled by lookup_minimal_symbol_by_pc.
2508
2509 start-sanitize-gdbtk
2510 Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
2511
2512 * gdbtk.tcl (create_command_window): Change a misspelled "get"
2513 to the intended "cget".
2514 (delete_line): Fix so it deletes the current line at the
2515 insertion cursor.
2516 end-sanitize-gdbtk
2517
2518 Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com>
2519
2520 * sh-stub.c: New file, was config/sh/stub.c.
2521
2522 start-sanitize-gdbtk
2523 Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com>
2524
2525 * gdbtk.tcl (gdb_prompt): Set this early on.
2526 (create_command_window): Use gdb_prompt rather than "(gdb) ".
2527 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
2528 (tclsh): If an evaluation window already exists, just bring it
2529 to the front instead of trying to create another.
2530 * gdbtk.c (tk_command_loop): New function.
2531 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
2532
2533 Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
2534
2535 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
2536 implement a tcl evaluation window for gdbtk maintainers to use.
2537
2538 Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
2539
2540 * gdbtk.tcl (files_command): Correctly insert list of files into
2541 listbox widget.
2542
2543 * gdbtk.tcl (files_command): listbox command no longer accepts
2544 -geometry.
2545
2546 Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
2547
2548 * gdbtk.tcl (create_command_window): If command window's buffer
2549 is disabled, don't execute any of the key bindings.
2550 end-sanitize-gdbtk
2551
2552 Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com)
2553
2554 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
2555
2556 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
2557 C_STAT symbols.
2558 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
2559 Flush cached frames just before exiting.
2560 * remote-sim.c (gdbsim_resume): Complain if the program isn't
2561 being run.
2562 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
2563
2564 Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com)
2565
2566 * procfs.c (procfs_thread_alive procfs_stop): Make static.
2567 (procfs_pid_to_str): New routine to print out thread id's in an
2568 intelligible manner.
2569 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
2570 which supply_register is called to fix bug with writing
2571 individual regs.
2572 * config/sparc/tm-sun4sol2.h: Define default for
2573 target_pid_to_str in case host lacks libthread_db.
2574
2575 Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com)
2576
2577 * Makefile.in config.in configure configure.in
2578 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
2579 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
2580 and pthread support, since pre-2.5 systems don't come with
2581 libthread_db.so.1.
2582
2583 * procfs.c (info_proc): Use int instead of id_t. Old versions of
2584 Irix don't seem to define this.
2585
2586 start-sanitize-gdbtk
2587 Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
2588
2589 * gdbtk.c (tk_command): Catch case where no argument is given
2590 since this will cause the tcl interpreter to dump core.
2591 end-sanitize-gdbtk
2592
2593 Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
2594
2595 * top.c (execute_control_command, case while_control): Allow
2596 a while command to be interrupted.
2597
2598 Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
2599
2600 * sol-thread.c: More cleanup, add comments.
2601 (sol_thread_resume): Prevent people from trying to step
2602 inactive threads.
2603 (sol_thread_wait sol_thread_fetch_registers
2604 sol_thread_store_registers): Remove unnecessary check for
2605 sol_thread_active. These routines won't get called unless threads
2606 are active.
2607
2608 Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com>
2609
2610 SH3-E support from Allan Tajii <atajii@hmsi.com>:
2611 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
2612 float registers.
2613 (sh3e_reg_names): New register name array.
2614 (sh_processor_type_table): Add sh3e processor type.
2615 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
2616 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
2617 full set of registers.
2618 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
2619 (e7000_fetch_registers, e7000_wait): Use them.
2620 * sh3-rom.c (sh3_regnames): Add float registers.
2621 (sh3e_cmds, sh3e_ops): New globals.
2622 (sh3e_open): New function.
2623 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
2624 sh3e target vector.
2625
2626 Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com)
2627
2628 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
2629 Print out messages instead of codes for thread_db errors. Make
2630 access macros for thread and lwp manipulation. Make cleanups to
2631 fixup inferior_pid in case of errors.
2632
2633 Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
2634
2635 * aclocal.m4: Remove unused definition of AC_C_CROSS.
2636 * configure.in: Add powerpcle-*-solaris* host and target config
2637 so April 30th change does not get lost next time configure is
2638 rebuilt.
2639
2640 Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
2641
2642 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
2643 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
2644 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
2645 avoid conflict with Solaris /usr/include/thread.h.
2646
2647 Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com>
2648
2649 * abug-rom.c: Config file for the older style ABug monitor that
2650 runs on the mvme13x boards.
2651 * config/m68k/monitor.mt: Add abug support for m68k cross
2652 debugging.
2653
2654 Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
2655
2656 * infcmd.c (do_registers_info): Always print the raw floating
2657 point value's bytes in big endian order, so the the leftmost bit
2658 is the most significant.
2659 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
2660 that is referenced nowhere else.
2661 (set_breakpoint): Ditto.
2662 (do_enable_breakpoint): Created from enable_once_breakpoint
2663 with a couple of changes.
2664 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
2665 bpdisp enum value to set disposition of breakpoint.
2666 (enable_once_breakpoint): Ditto.
2667 (enable_delete_breakpoint): Ditto.
2668 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
2669 * symtab.c (find_pc_line): Improve comments.
2670 start-sanitize-gdbtk
2671 * gdbtk.c: Fix a couple of misspellings.
2672 end-sanitize-gdbtk
2673 * xcoffread.c: Ditto.
2674
2675 Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com>
2676
2677 * target.c (debug_to_xfer_memory): Insert line breaks when
2678 dumping the memory block.
2679
2680 Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2681
2682 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
2683 returns a possibly modified pid.
2684 * inftarg.c (ptrace_him): Now returns pid;
2685 * m3-nat.c (m3_trace_him): Now returns pid;
2686 * infcmd.c (run_command): Minor cleanup.
2687 * infrun.c (wait_for_inferior): Add another check for one_stepped
2688 near where we read the pc to avoid erroneously setting
2689 random_signal for multi-threaded support.
2690 * procfs.c: Add support for Solaris LWPs. Remove def of
2691 LOSING_POLL. Many cleanups... Several workarounds for Solaris
2692 lossage. System call entry and exit are now handled by
2693 dynamically registered handlers.
2694 * (syscallname): Don't barf when handed an unknown syscall
2695 number.
2696 * (info_proc_syscalls): Ditto.
2697 * sol-thread.c: New file. Implements Solaris thread support.
2698 * symfile.c (symbol_file_add): Add call to target_new_objfile to
2699 notify target-dependent code about new symbol tables.
2700 * (clear_symtab_users): Call target_new_objfile to notify it of
2701 the removal of all symbol tables.
2702 * target.c (push_target): Make sure that to_close is non-zero
2703 before calling it.
2704 * target.h (target_new_objfile): Provide default.
2705 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
2706 of OSF can't hack using poll with /proc.
2707 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
2708 sol-thread-new-objfile.
2709 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
2710 add libthread_db.so.1 to NAT_CLIBS.
2711 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
2712 target_pid_to_str.
2713
2714 Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net>
2715
2716 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
2717 removal of the requested fd.
2718
2719 Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2720
2721 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
2722 hooks under ELF.
2723
2724 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
2725
2726 start-sanitize-gdbtk
2727 Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
2728
2729 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
2730 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
2731 (file_popup_menu): Delete, never used.
2732 (listing_window_popup): Rename from listing_window_button_1,
2733 remove breakpoint toggling code.
2734 (toggle_breakpoint): New procedure.
2735 (create_file_win): Bind popup menu to button 2, toggle breakpoints
2736 with button 1 in breakpoint area, add display of tagged areas if
2737 debugging on.
2738 end-sanitize-gdbtk
2739
2740 Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com)
2741
2742 From Peter Schauer:
2743 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
2744 * breakpoint.c (insert_breakpoints, watchpoint_check,
2745 bpstat_stop_status): Avoid bad references to memory freed via
2746 delete_breakpoint on watchpoints going out of scope.
2747 Do not delete these watchpoints, disable them and change their
2748 disposition to del_at_next_stop instead.
2749 (breakpoint_auto_delete): Delete all breakpoints whose disposition
2750 is del_at_next_stop.
2751 (breakpoint_init_inferior): Use switch to avoid reference to
2752 already deleted breakpoint.
2753
2754 Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com>
2755
2756 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
2757 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
2758 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
2759 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
2760 (solib_info): Call xcoff_relocate_symtab via the hook.
2761 (sharedlibrary_command): Ditto.
2762 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
2763 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
2764 (xcoff_init_loadinfo_hook): Define and initialize here.
2765 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
2766 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
2767 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
2768 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
2769 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
2770 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
2771 of xcoff_relocate_symtab_hook.
2772
2773 Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2774
2775 * configure (powerpcle-*-solaris*): Add Solaris support.
2776
2777 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
2778 Solaris support.
2779
2780 Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
2781
2782 * c-valprint.c (c_val_print): Fix printing for arrays defined
2783 with 0 length.
2784
2785 Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
2786
2787 Support for bi-endian remote breakpoints.
2788 * remote.c (big_break_insn, little_break_insn): New globals.
2789 (break_insn): Remove.
2790 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
2791 code if REMOTE_BREAKPOINT defined, otherwise call memory
2792 breakpoint functions.
2793 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
2794 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
2795
2796 * mon960-rom.c (mon960_cmds): Remove forward decl.
2797 (mon960_load): Use current_monitor instead of mon960_cmds.
2798 (mon960_regnames): Remove backslashes from line ends.
2799 (_initialize_mon960): Fix documentation string.
2800
2801 Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com>
2802
2803 * symfile.h (psymbol_allocation_list): Expand comments which
2804 describe the psymbol allocation list and how each field is
2805 used.
2806
2807 Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2808
2809 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
2810 storage leaks.
2811 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
2812
2813 * infcmd.c (run_command), solib.c (locate_base): Check for
2814 target_has_execution in addition to inferior_pid, a core file
2815 from a threaded program is yielding a non-zero inferior_pid.
2816
2817 * sparc-tdep.c (get_saved_register): Handle window registers
2818 in a dummy frame correctly.
2819
2820 Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com>
2821
2822 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
2823 so that anything that wants an allocation function not yet pulled
2824 in, will get it from mmalloc rather than a system library.
2825 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
2826 to avoid surprising results when used.
2827
2828 Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com)
2829
2830 * stabsread.c: Changes and bug fixes for cfront support.
2831 Fix bug for class data members.
2832 Fix parsing bug when no base classes exist.
2833 Fix memory bug - allocate space for cplusplus specific info.
2834 Add support for static data.
2835 Add prototypes for static functions.
2836 Enhance comments to show what each function expects to parse.
2837 Cleanup code.
2838 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
2839 function to resolve_cfront_continuation.
2840
2841 Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com)
2842
2843 * infrun.c (wait_for_inferior): Call registers_changed when
2844 restarting the inferior to get over a nullified instruction.
2845
2846 Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com)
2847
2848 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
2849 Add new support for parsing cfront stabs.
2850
2851 Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com)
2852
2853 * infrun.c (wait_for_inferior): Move "have_waited" label
2854 outside of #ifdef conditionals. Don't trash the wait status
2855 if we get a signal and the current instruction is nullified.
2856
2857 Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com>
2858
2859 * Makefile.in (VERSION): Bump version number to 4.16.1.
2860 * NEWS: Update for 4.16 release.
2861
2862 Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com>
2863
2864 * monitor.h: Clean up comment formatting.
2865 (current_monitor): Remove decl.
2866 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
2867 (push_monitor, SREC_SIZE): Remove.
2868 * monitor.c: Expand old macro into current_monitor derefs
2869 everywhere.
2870 * remote-os9k.c (current_monitor): Remove definition.
2871
2872 Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com>
2873
2874 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
2875 hooks.
2876 (call_extra_exec_file_hooks): New function.
2877 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
2878 remove unused variables.
2879 (set_machine_hook): New function.
2880 (_initialize_h8300m): Initialize it.
2881
2882 Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com>
2883
2884 * remote-mips.c (encoding): Don't specify size, to avoid bug in
2885 SunOS native compiler.
2886
2887 Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com>
2888
2889 * monitor.c: Use int rather than LONGEST for values, since
2890 the formatting strings are not prepared to accept long longs.
2891
2892 Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com>
2893
2894 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
2895
2896 Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com)
2897
2898 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
2899 before de-referencing it. Prevents deref of NULL pointer if core
2900 file lacks .reg section.
2901 * defs.h: Rename floatformat_{to from}_long_double to
2902 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
2903 FROM}... macros.
2904 * findvar.c (extract_floating store_floating): Change all refs to
2905 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
2906 * utils.c: Change floatformat_{to from}_long_double to
2907 floatformat_{to from}_doublest cuz the new routines will use
2908 whatever size (double or long double) is appropriate.
2909 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2910 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
2911 floatformat... routine calls.
2912
2913 Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com>
2914
2915 * stabsread.c (read_type): Move handling of '@' from type
2916 number handling to handling of types proper (as emitted by gcc!).
2917 For typedefs, allocate the typedef type before reading its
2918 definition, to properly handling recursive types.
2919
2920 Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
2921
2922 * ch-exp.c (calculate_array_length): Fix prototype.
2923
2924 Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com)
2925
2926 * remote-nindy.c (nindy_open): Acquire more target state so that
2927 user can attach to a previously running program.
2928 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
2929 conversion code. That's all handled in {extract store}_floating
2930 now.
2931 * utils.c (floatformat_to_double): Don't bias exponent when
2932 handling zero's, denorms or NaNs.
2933 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2934 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
2935 FLOATFORMAT_TO/FROM_DOUBLEST macros.
2936 * config/i960/tm-nindy960.h: Undefine
2937 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
2938 REGISTER_CONVERTIBLE. These are no longer necessary now that all
2939 the magic happens in extract/store_floating.
2940
2941 Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2942
2943 * eval.c (evaluate_subexp_standard): Report error when attempting to
2944 evaluate subscripts for types which cannot be subscripted.
2945
2946 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
2947 Return a zero value with the return type of the member function
2948 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
2949 function.
2950 * values.h (value_x_binop, value_x_unop): Update prototypes
2951 accordingly.
2952 * eval.c (evaluate_subexp_standard): Update all callers of
2953 value_x_binop, value_x_unop accordingly.
2954
2955 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
2956 integral promotion on operands.
2957
2958 Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com>
2959
2960 * README: Update for 4.16 release.
2961 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2962 * configure: Regenerate with autoconf.
2963 * config.in: Regenerate with autoheader.
2964 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2965 * top.c (command_loop): Ditto.
2966
2967 Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com)
2968
2969 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2970 defaults for bi-endian targets. Replace function pointers for
2971 floatformat routines with macros. No need for these to be runtime
2972 selectable.
2973 * findvar.c: Get rid of floatformat function pointers. Use
2974 macros in extract_floating and store_floating.
2975 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2976 Use floatformat macros.
2977
2978 Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com>
2979
2980 From: Miles Bader <miles@gnu.ai.mit.edu>
2981 * configure.in (AC_CHECK_HEADERS): check for endian.h.
2982 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
2983 Add host & target cases for i[345]86-*-gnu*.
2984 * config.in: Regenerate with autoheader.
2985 * configure: Regenerate with autoconf.
2986 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2987 (init.c): Don't scan mig-generated files.
2988 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2989 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2990 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2991 rather than "#ifndef MACH".
2992
2993 Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com>
2994
2995 * remote.c (remotewritesize): New GDB variable, controls size
2996 of memory packets sent to the target.
2997
2998 Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2999
3000 * dcache.c: Add prototypes. Make many functions static.
3001 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
3002 dcache_poke call dcache_xfer_memory directly in order to fix
3003 problems with turning off dcache. dcache_peek is now unnecessary,
3004 so it goes away.
3005
3006 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
3007 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
3008 to a struct floatformat. This allows for better handling of
3009 targets whose floating point formats differ from the host by more
3010 than just byte order.
3011 * (floatformat_to_long_double floatformat_from_long_double):
3012 Prototypes for new functions in utils.c.
3013 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
3014 for pointers to floating point conversion functions. The actual
3015 function uses either double or long double if the host supports it.
3016 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
3017 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
3018 * (extract_floating store_floating): Rewrite. Now, if host fp
3019 format is the same as the target, we just do a copy. Otherwise,
3020 we call floatformat_{to from}_doublest.
3021 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
3022 `write' to `should_write'.
3023 * utils.c (floatformat_to_long_double
3024 floatformat_from_long_double): New routines that implement long
3025 double versions of functions in libiberty/floatformat.c.
3026 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
3027 i960 extended real (80 bit) numbers.
3028 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
3029 actually read or written.
3030
3031 Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3032
3033 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
3034 (calculate_array_length): Move function from here ...
3035
3036 * ch-exp.c (calculate_array_length): ... to here.
3037 (parse_primval): If we have a symbol with an array type
3038 and the length is 0, call calculate_array_length.
3039
3040 Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3041
3042 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
3043 Add some checks for powerset compatibility.
3044
3045 * valops.c (value_slice): Use lowbound instead of lowerbound for
3046 call to slice_range_type to get correct bounds.
3047
3048 Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com>
3049
3050 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
3051 dependencies.
3052 * scm-lang.c (gdb_string.h): Include.
3053 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
3054 call to correct type (char *).
3055 * cp-valprint.c (cp_print_static_field): Ditto.
3056 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
3057 for external find_unwind_entry function (from hppa-tdep.c).
3058 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
3059 type of second arg to "char *" to be type compatible with
3060 dcache.
3061 (remote_wait): Cast second arg to strtol to correct type.
3062 * hppa-tdep.c (compare_unwind_entries): Change argument types to
3063 "const void *" to be type compatible with qsort, and then
3064 assign to local args prior to use.
3065
3066 Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com)
3067
3068 * infptrace.c (kill_inferior): Remove call to "kill"; update
3069 comments.
3070
3071 Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com>
3072
3073 * remote-e7000.c: don't append :23 to target port if __WIN32__
3074 is defined (it's WinGDB).
3075
3076 Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com>
3077
3078 From: Miles Bader <miles@gnu.ai.mit.edu>
3079 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
3080 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
3081 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
3082 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
3083
3084 Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com>
3085
3086 * configure.in (case host): Add i386sco5 host.
3087 * configure: Regenerate.
3088
3089 From: Robert Lipe <robertl@dgii.com>
3090 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
3091 target is an SVR3.2 with COFF, ELF, and shared libes, but
3092 no /proc.
3093 * config/i386/i386sco5.mh: New file.
3094 * config/i386/nm-i386sco5.h: New file.
3095
3096 Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
3097
3098 * bcache.c (bcache): When size of chunk to cache is exactly equal to
3099 BCACHE_MAXLENGTH, stash chunk as unique copy.
3100
3101 Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
3102
3103 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
3104 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
3105 use it, rather than calling add_psymbol_addr_to_list.
3106 (add_psymbol_addr_to_list): Delete.
3107 (add_psymbol_to_list): Make psymbol static to avoid random data in
3108 gaps due to alignment of structure members.
3109 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
3110 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
3111 performance improvements by inlining via complicated macros and
3112 they just make gdb larger and harder to maintain.
3113 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
3114 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
3115 add_psymbol_to_list with appropriate long or CORE_ADDR args.
3116 (add_partial_symbol): Ditto.
3117 * partial-stab.h: Ditto.
3118 * os9kread.c (read_os9k_psymtab): Ditto
3119 * mdebugread.c (parse_partial_symbols): Ditto.
3120 (handle_psymbol_enumerators): Ditto.
3121 (demangle.h): Include.
3122 * hpread.c (hpread_build_psymtabs): Ditto.
3123 (hpread_build_psymtabs): Ditto.
3124 (demangle.h): Include
3125
3126 start-sanitize-gdbtk
3127 Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
3128
3129 * gdbtk.c (running_now): New global variable.
3130 (gdb_cmd): Test it before executing any command.
3131 (gdbtk_call_command): Set it when inferior is running.
3132 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
3133 disable interaction with command window's text appropriately.
3134
3135 Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3136
3137 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
3138 some versions of the kernel don't support it.
3139 end-sanitize-gdbtk
3140
3141 Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
3142
3143 * configure.in: Check for setpgid function.
3144 * config.in: Regenerate with autoheader.
3145 * configure: Regenerate with autoconf.
3146 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
3147 if it is actually defined.
3148 (gdb_setpgid): Use HAVE_SETPGID.
3149 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
3150 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
3151 * c-exp.y, serial.c: Include <ctype.h>.
3152 * config/m68k/nm-news.h: Add typedef for pid_t which is
3153 apparently missing from <sys/types.h>. Enclose entire
3154 file in NM_NEWS_H ifndef and define when included.
3155 * config/mips/nm-news-mips.h: Ditto.
3156 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
3157 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
3158
3159 Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
3160
3161 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
3162 * arm-tdep.c (arm_apcs_32): New global.
3163 (arm_addr_bits_remove, arm_saved_pc_after_call,
3164 arm_push_dummy_frame, arm_pop_frame): New functions.
3165 (arm_skip_prologue): Updated version from Richard Earnshaw.
3166 (_initialize_arm_tdep): Add set/show "apcs32".
3167 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
3168 arm_addr_bits_remove.
3169 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
3170 (frame_find_saved_regs): Declare properly.
3171 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
3172 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
3173 explicit mask.
3174 * config/arm/nm-arm.h: New file.
3175 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
3176 Move definitions to nm-arm.h.
3177 * config/arm/arm.mh (NAT_FILE): Define.
3178
3179 * symfile.c (generic_load): Initialize data_count properly.
3180
3181 Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
3182
3183 * symmisc.c (print_objfile_statistics): Print memory used by
3184 psymbol cache obstack.
3185
3186 Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
3187
3188 * symfile.c (report_transfer_performance): New function.
3189 (generic_load): Call it to report transfer rate.
3190 * remote-e7000.c (e7000_load): Ditto.
3191
3192 Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3193
3194 * mpw-make.sed: Change references to config.h to be in objdir,
3195 edit out rules to rebuild config.h.
3196
3197 Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
3198
3199 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
3200 proceeding.
3201
3202 Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com>
3203
3204 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
3205 fetch_register, child_xfer_memory): Use call_ptrace function supplied
3206 by infptrace.c rather than calling ptrace directly.
3207
3208 Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3209
3210 * mon960-rom.c: Cleanups and elimination of unused code,
3211 clarify documentation string.
3212 (mon960_serial, mon960_ttyname): Remove.
3213 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
3214 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
3215
3216 Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
3217
3218 * configure.in: Check whether printf family supports printing
3219 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
3220 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
3221 * configure: Regenerate.
3222 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
3223 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
3224 * configure.in: Fix have_gregset and have_fpregset autoconf
3225 variable names so that they match the pattern required to
3226 cache them.
3227
3228 Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
3229
3230 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
3231 before testing against reg_ptr.
3232 * eval.c (evaluate_subexp_standard): Cast type of
3233 TYPE_FN_FIELD_VOFFSET to int.
3234 * findvar.c (extract_signed_integer, extract_unsigned_integer,
3235 extract_long_unsigned_integer): Cast type of sizeof to int.
3236 * values.c (unpack_field_as_long, modify_field): Ditto.
3237 * valops.c (value_assign, call_function_by_hand): Ditto.
3238 * infcmd.c (do_registers_info): Ditto.
3239 * ser-tcp.c (tcp_open): Ditto.
3240 * remote.c (putpkt): Ditto.
3241 * dcache.c (dcache_peek): Ditto.
3242 * dcache.c (dcache_poke): Ditto.
3243 * m2-exp.y (yylex): Ditto.
3244 * gnu-regex.c (re_match_2): Ditto.
3245 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
3246 out unused macro definition and variables.
3247 * inftarg.c (proc_wait): Move from main.c to here, and make static.
3248 * valprint.c (val_print_string): Change bufsize from int to unsigned.
3249 * main.c (wait.h): Include.
3250 * top.c (command_line_input): Remove unused variable "c".
3251 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
3252 value TYPE_CODE_TYPEDEF to switch statement.
3253 (f_type_print_varspec_suffix): Add missing enum value
3254 TYPE_CODE_TYPEDEF to switch statement.
3255 * ch-exp.c (parse_primval): Add remaining enumeration values to
3256 switch statement, with no specific action.
3257 (ch_lex): Add LOC_UNRESOLVED in switch statement.
3258 (pushback_token): Ifdef out, since code using it is ifdef'd out.
3259 * stabsread.c (cleanup_undefined_types): Remove unused label
3260 "badtype".
3261 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
3262 * maint.c (objfiles.h): Include.
3263 (maintenance_print_statistics): Remove unused variable "temp".
3264 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
3265 unused variable "found_file_symbol".
3266 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
3267 * language.c (lang_bool_type): Use existing function local type
3268 variable rather than create block local variables.
3269 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
3270 * infptrace.c (wait.h, command.h): Include.
3271 * ser-tcp.c (gdb_string.h): Include
3272 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
3273 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
3274 * command.c (complete_on_enum): Make assignment used as truth value
3275 explictly check against NULL.
3276 (wait.h): Include.
3277 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
3278 that uses it is ifdef'd out.
3279 * parser-defs.h: Add prototype for write_dollar_variable.
3280 * infrun.c: Add prototype for write_pc_pid.
3281 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
3282 * symmisc.c (bcache.h): Include.
3283 * bcache.h: Add prototype for print_bcache_statistics.
3284 * symfile.c: Include <time.h>.
3285 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
3286 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
3287 * valarith.c (value_binop): Change result_len, promoted_len1,
3288 and promoted_len2 to unsigned int.
3289 * valarith.c (value_subscripted_rvalue): Change elt_offs and
3290 elt_size to unsigned int.
3291 * valops.c (value_array): Change typelength to unsigned int.
3292 (destructor_name_p): Change len to unsigned int.
3293 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
3294 * symfile.c (decrement_reading_symtab): Change return type to void.
3295 * valarith.c (value_subscript): Remove unused variable "word".
3296 (value_subscript): Remove unused variable "tint".
3297 * valops.c (auto_abandon): Ifdef out, since code using it is also
3298 ifdef'd out.
3299 * eval.c (init_array_element): Remove unused variable "val".
3300 * Makefile.in (values.o): Depends on scm-lang.h.
3301 (command.o): Depends upon wait_h.
3302 (ser-tcp.o): Depends upon gdb_string.h.
3303 (infptrace.o): Depends upon wait_h and command_h.
3304 (maint.o): Depends on objfiles.h and symfile.h.
3305 * values.c (allocate_repeat_value): Remove unused variable
3306 "element_type".
3307 (scm-lang.h): Include.
3308 * breakpoint.c (create_longjmp_breakpoint): Enclose in
3309 GET_LONGJMP_TARGET define, unused otherwise.
3310 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
3311 i386_remove_watchpoint and i386_stopped_by_watchpoint.
3312
3313 Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
3314
3315 * configure.in (sparc64-*-solaris2*): Delete.
3316 Stick with sparc-*-solaris2*.
3317 * configure: Regenerated.
3318
3319 Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
3320
3321 * valops.c (value_assign): Make copy of internal variable value
3322 before returning it as a new value, since it is owned by the
3323 internal variable and will be freed along with it.
3324
3325 Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
3326
3327 * From Peter Schauer.
3328 * breakpoint.c (breakpoint_re_set_one): Keep temporary
3329 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
3330 and bp_step_resume in case breakpoint_re_set_one is called due
3331 to a step over a dlopen call.
3332 * infrun.c (wait_for_inferior): Always remove breakpoints from
3333 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
3334
3335 Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
3336
3337 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
3338 non-prototyped case over prototyped case for C.
3339 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
3340
3341 Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
3342
3343 * os9kread.c (os9k_process_one_symbol): Note nonportable
3344 assumption that an int can hold a char *.
3345
3346 * bcache.h (struct hashlink): Wrap data[] inside union with
3347 double to force longest alignment.
3348 (BCACHE_DATA): New macro to access data[].
3349 (BCACHE_ALIGNMENT): New macro to get offset to data[].
3350 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3351 address of cached data. Use BCACHE_ALIGNMENT to compute
3352 amount of space to allocate for each hashlink struct.
3353
3354 Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
3355
3356 * ch-lang.c (evaluate_subexp_chill): Fix typo.
3357
3358 Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
3359
3360 * Makefile.in (VERSION): Bump version to 4.15.3
3361
3362 Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
3363
3364 * config.in: Rename from config.h.in.
3365 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
3366 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
3367 * configure: Rebuild.
3368 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
3369 Set CONFIG_HEADERS to config.h:config.in.
3370
3371 Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3372
3373 * partial-stab.h (case N_ENDM): Finish current partial symbol
3374 table for Solaris 2 cc.
3375
3376 Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
3377
3378 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
3379 PC in the registers array. From Peter Schauer.
3380
3381 Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
3382
3383 * symfile.c (reread_symbols): Reinitialize bcache struct
3384 members to zero using memset. Also use memset to reinit
3385 global_psymbols and static_psymbols, rather than explicitly
3386 resetting each structure member.
3387
3388 Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
3389
3390 * configure.in: Add fragment to create stamp-h.
3391
3392 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3393 * configure.in (AC_CHECK_HEADERS): Check for link.h.
3394 * configure: Regenerate with autoconf.
3395 * config.h.in: Regenerate with autoheader.
3396 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
3397 is defined.
3398 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
3399 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
3400 older a.out based systems.
3401
3402 Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
3403
3404 * config.h.in: New file.
3405 * acconfig.h: New file, for autoheader.
3406 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
3407 * configure: Regenerate.
3408 * Makefile.in (defs_h): Add config.h
3409 (distclean): Remove config.h and stamp-h during distclean.
3410 (config.h, stamp-h): New targets to remake config.h when necessary.
3411 * defs.h (config.h): Include before any other includes or defines.
3412 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
3413 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
3414
3415 Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
3416
3417 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3418 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
3419 result in an empty line, to work around a bug in native Ultrix 4.4
3420 and OSF/1-3.2C make.
3421
3422 Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
3423
3424 * configure.in: Add gdbserver to configdirs under linux.
3425 * configure: Regenerate.
3426
3427 Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3428
3429 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
3430 * config/i386/tm-nbsd.h (NUM_REGS): Define.
3431
3432 Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
3433
3434 * solib.c (solib_break_names): Add _r_debug_state for
3435 vanilla SVR4 implementations. From Peter Schauer.
3436
3437 Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
3438
3439 * mon960-rom.c: New file; support mon960 rom monitor on i960.
3440 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
3441 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
3442 epecting prompt and echo during open.
3443 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
3444 determine if break should be sent as stop command.
3445 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
3446 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
3447 stack frame on mon960.
3448 * Makefile.in: Add mon960 files.
3449 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
3450 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
3451 * configure: Regenerated.
3452 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
3453 support mon960 rom monitor on i960.
3454
3455 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
3456
3457 With Michael Snyder:
3458 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
3459 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
3460 (handle_load_dll): Don't reload symbols.
3461 (handle_exception): Use the DEBUG_* names.
3462 (child_wait): Add DEBUG_* code.
3463 (_initialize_inftarg): Add new commands to set debug_ names.
3464
3465 Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
3466
3467 * From Peter Schauer:
3468 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
3469 (bpstat_stop_status): Likewise.
3470 (remove_solib_event_breakpoints): Likewise.
3471 (clear_momentary_breakpoints): Likewise.
3472 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
3473 if we still can't read the memory for that breakpoint.
3474 (mention): Add bp_shlib_event case to keep gcc quiet.
3475
3476 Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
3477
3478 * breakpoint.h (enum enable): New enum shlib_disabled for
3479 shared library breakpoints that have been temporarily disabled.
3480 * breakpoint.c: Handle temporarily disabled shared library
3481 breakpoints like disabled breakpoints in most places.
3482 (insert_breakpoints): Use shlib_disabled to indicate
3483 that an unsettable breakpoint is only temporarily disabled.
3484 (re_enable_breakpoints_in_shlibs): New function.
3485 * corelow.c (solib_add_stub): After adding shared libraries,
3486 try to reenable any temporarily disabled breakpoints.
3487 * infcmd.c (attach_command): Likewise.
3488 * infrun.c (wait_for_inferior): Likewise.
3489
3490 Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
3491
3492 * defs.h (extract_long_unsigned_integer): Declare.
3493 * findvar.c (extract_long_unsigned_integer): New function.
3494 * printcmd.c (print_scalar_formatted): Use it.
3495 * valprint.c (val_print_type_code_int): Likewise.
3496
3497 Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
3498
3499 * infcmd.c (do_registers_info): Ignore anonymous registers.
3500 * sh-tdep.c (set processor): New command to set specific
3501 processor type.
3502 (sh_reg_names, sh3_reg_names): Arrays of register names for
3503 SH and SH3 processors.
3504 (sh_set_processor_type): New function.
3505 * sh3-rom.c (sh3_open): Call it.
3506 (sh3_regname): Add names of all the bank registers.
3507 (sh3_supply_register): Clean up formatting.
3508 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
3509 bank registers.
3510 (REGISTER_NAMES): Add names of bank registers.
3511 (FP15_REGNUM): Define.
3512 (REGISTER_VIRTUAL_TYPE): Use it.
3513 * monitor.c: Clean up some comments.
3514
3515 Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3516
3517 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
3518 s* and t* symbols too.
3519
3520 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
3521
3522 * symfile.c (generic_load): Avoid division by zero.
3523
3524 Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
3525
3526 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
3527 not just those with HANDLE_SVR4_EXEC_EMULATORS.
3528
3529 From Peter Schauer:
3530 * breakpoint.c (internal_breakpoint_number): Move to file scope.
3531 (create_solib_event_breakpoint): Use an internal breakpoint number.
3532
3533 Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3534
3535 * valarith.c (value_in): Change builtin_type_chill_bool to
3536 LA_BOOL_TYPE.
3537
3538 Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3539
3540 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
3541 (match_string_literal): Handle control sequence.
3542 (match_character_literal): Deto.
3543
3544 * ch-lang.c (chill_printchar): Change formating of nonprintable
3545 characters from C'xx' to ^(num).
3546 (chill_printstr): Deto.
3547 (value_chill_card, value_chill_max_min): New functions to process
3548 Chill's CARD, MAX, MIN.
3549 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
3550
3551 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
3552 for Chill's CARD, MAX, MIN.
3553
3554 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
3555 and change return type from builtin_type_int to
3556 builtin_type_chill_bool.
3557
3558 Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
3559
3560 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
3561 from config/nm-nbsd.h.
3562 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
3563 from config/sparc/tm-nbsd.h.
3564
3565 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
3566 instead of in config/m68k/xm-hp300hpux.h.
3567
3568 Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3569
3570 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
3571 implementation for NetBSD systems.
3572
3573 Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
3574
3575 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
3576 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
3577
3578 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
3579 if "function" is pointer to non-function.
3580
3581 Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
3582
3583 * top.c (print_gdb_version): Update copyright year.
3584
3585 Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
3586
3587 From Peter Schauer:
3588 * infrun.c (wait_for_inferior): Remove breakpoints and
3589 switch terminal settings before calling SOLIB_ADD.
3590 * solib.c (enable_break, SVR4 variant): Don't map in symbols
3591 for the dynamic linker, the namespace pollution causes real
3592 problems.
3593
3594 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
3595
3596 * remote-mips.c (common_breakpoint): Explicitly terminate the
3597 returned buffer.
3598
3599 Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
3600
3601 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
3602 * remote.c (remote_detach): Send a command 'D' to the target
3603 when detaching, update the function's comments.
3604
3605 Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu>
3606
3607 * gnu-nat.c (thread_cmd_list): New declaration.
3608 (parse_int_arg): New function.
3609
3610 Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
3611
3612 * gnu-nat.h (struct proc): Add DETACH_SC field.
3613 * gnu-nat.c (make_proc): Set DETACH_SC.
3614 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3615 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3616 (add_thread_commands): Add set/show for detach-suspend-count.
3617 Add takeover-suspend-count cmd.
3618 (inf_detach): Set suspend counts to the detach SC, not 0.
3619 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
3620 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
3621 set_thread_default_thread_detach_sc_cmd,
3622 show_thread_default_thread_detach_sc_cmd): New functions.
3623 (show_task_cmd): Also show detach-suspend-count values.
3624 (thread_takeover_sc_cmd): New function.
3625
3626 Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
3627
3628 * gnu-nat.c (show_thread_run_cmd): Actually print state.
3629
3630 Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
3631
3632 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
3633
3634 Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu>
3635
3636 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
3637 pointer to the flags now, not the flags themselves.
3638
3639 Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
3640
3641 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
3642 (gnu_create_inferior): Check return from ptrace.
3643
3644 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
3645
3646 * gnu-nat.h (struct proc): Add DEAD field.
3647 * gnu-nat.c (make_proc): Initialize DEAD.
3648 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
3649 (gnu_wait): Only abort for 0 threads if the task isn't dead.
3650
3651 Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
3652
3653 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
3654
3655 Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
3656
3657 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
3658 (inf_set_traced): Only give no-signal-thread error message if
3659 turning *on* tracing.
3660
3661 Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
3662
3663 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
3664 set inf->threads_up_to_date to 0.
3665 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
3666 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
3667 (proc_update_sc): Cast thread state arg to thread_set_state.
3668 (proc_get_state): Cast thread state arg to thread_get_state.
3669 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
3670 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
3671 inf_update_procs before we lookup the thread.
3672 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
3673
3674 Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu>
3675
3676 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
3677
3678 Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
3679
3680 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
3681 INIT_TRACEMASK instead of setting the exec flags.
3682
3683 Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3684
3685 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
3686 the task's died, so others have a chance at it.
3687 (gnu_resume): When single-stepping a single thread, given an error
3688 if there is no such thread. When single-stepping one but running
3689 the others, just given a warning and still run all the threads.
3690 (gnu_wait): If there seem to be no threads, look harder, and
3691 signal an error if there really aren't any.
3692 (gnu_attach): Reset thread numbering to 0.
3693
3694 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
3695 thread name in warning messages.
3696
3697 * gnu-nat.c (active_inf): New function.
3698 (show_sig_thread_cmd, show_stopped_cmd): Use it.
3699 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
3700 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
3701 New functions.
3702 (add_task_commands): Add new port-right info commands.
3703
3704 Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
3705
3706 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
3707 use mach_msg with MACH_RCV_INTERRUPT.
3708 (set_noninvasive_cmd): New function.
3709 (add_task_commands): Add command entry for `set noninvasive'.
3710
3711 Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
3712
3713 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
3714 (safe_bcopy): Function removed.
3715
3716 Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu>
3717
3718 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
3719 (make_proc): Initialize state_valid & state_changed fields.
3720
3721 Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu>
3722
3723 * reply_mig_hack.awk: New file.
3724
3725 Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu>
3726
3727 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
3728
3729 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
3730 threads.
3731
3732 Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu>
3733
3734 * target.c (debug_to_check_threads): New function.
3735
3736 * inflow.c (terminal_init_inferior_with_pgrp): New function.
3737 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
3738 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
3739 but only if PROCESS_GROUP_TYPE is defined.
3740
3741 Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu>
3742
3743 * target.c (debug_to_thread_alive): Pass through the return value.
3744
3745 Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu>
3746
3747 * target.c (signals, target_signal_from_host, target_signal_to_host):
3748 Add mach exceptions.
3749 * target.h (enum target_signal): Add mach exceptions.
3750
3751 Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu>
3752
3753 * gnu-nat.c: New file: gnu native backend.
3754 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
3755 * gnu-nat.h: New file.
3756 * config/nm-gnu.h: New file.
3757 * config/tm-i386gnu.h: New file.
3758 * config/xm-i386gnu.h: New file.
3759 * config/i386/i386gnu.mh: New file.
3760 * config/i386/i386gnu.mt: New file.
3761
3762 Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
3763
3764 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
3765 baseline for gdb 4.16 rerelease testing.
3766
3767 Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
3768
3769 * somsolib.c (som_solib_create_inferior_hook): Before returning
3770 call clear_symtab_users.
3771
3772 Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
3773
3774 * remote-e7000.c (e7000_open): Delete all breakpoints when
3775 connecting to e7000. Change connect message to allow use of
3776 monitor.exp in test suite.
3777 * (e7000_load): Print transfer rate of download.
3778 * symfile.c (generic_load): Print transfer rate of download.
3779
3780 Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
3781
3782 * configure.in (mips*-*-vxworks*): New config.
3783 * configure: Regenerated.
3784
3785 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
3786 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
3787 Remove, never used.
3788
3789 Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3790
3791 * partial-stab.h (case N_FUN): Function symbols generated
3792 by SPARCworks cc have a meaningless zero value, do not update
3793 pst->textlow if the function symbol value is zero.
3794
3795 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
3796 for function prototype declaration symbols.
3797
3798 Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
3799
3800 * remote-e7000.c (e7000_load): New routine to download via the
3801 network.
3802 * (e7000_wait): Don't backup PC when we hit a breakpoint.
3803 Apparantly new sh2 pods get this right...
3804 * (e7000_ops): Add call to e7000_load.
3805
3806 Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3807
3808 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
3809 m68knbsd-nat.c: New files, support for NetBSD/m68k.
3810
3811 * configure.in (m68k-*-netbsd*): New config.
3812 * configure: Regenerated.
3813
3814 Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com>
3815
3816 * standalone.c (open, _initialize_standalone): Fix obvious typos
3817 reported by Martin Pool <martin@citr.uq.oz.au>.
3818
3819 Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
3820
3821 * solib.c (solib_create_inferior_hook): Fix thinko.
3822
3823 Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
3824
3825 * solib.c (solib_break_names): Define for Solaris and Linux.
3826 (enable_break): For SVR4 systems, first try to use the debugger
3827 interfaces in the dynamic linker to track shared library events
3828 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
3829 BKPT_AT_SYMBOL code to use shared library event breakpoints.
3830 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
3831 it no longer needs to restart/wait on the inferior.
3832 * symfile.c (find_lowest_section): No longer static.
3833 * symfile.h (find_lowest_section): Corresponding changes.
3834
3835 Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com>
3836
3837 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
3838 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
3839 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
3840 * config/mips/tm-mips.h: Ditto.
3841 * config/pa/tm-hppa.h: Ditto.
3842 * config/rs6000/tm-rs6000.h: Ditto.
3843 * config/sparc/tm-sparc.h: Ditto.
3844
3845 Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3846
3847 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
3848
3849 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
3850 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3851 #ifdef'd out definitions --- Causes serious gdb failures on
3852 the i386. Need to investigate further before enabling.
3853
3854 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
3855 fetch_core_registers): New functions. These functions are defined
3856 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
3857 with ptrace PT_GETREGS/PT_SETREGS.
3858
3859 Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
3860
3861 * findvar.c (extract_floating store_floating): Replace `long
3862 double' with `DOUBLEST'.
3863
3864 Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3865
3866 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3867 Define.
3868
3869 Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
3870
3871 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
3872
3873 * breakpoint.h (remove_solib_event_breakpoints): Declare.
3874 * breakpoint.c (remove_solib_event_breakpoints): New function.
3875 * somsolib.c (solib_create_inferior_hook): Remove all solib event
3876 breakpoints before inserting any new ones. Use a solib event
3877 breakpoint for the breakpoint at "_start".
3878 Remove extraneous "\n" from calls to warning.
3879
3880 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
3881 name array.
3882
3883 Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
3884
3885 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
3886 for CORE_ADDR values.
3887 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
3888 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
3889
3890 Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3891
3892 * mipsread.c (mipscoff_symfile_read): Unconditionally add
3893 alpha coff dynamic symbols for all symbol files. Makes skipping
3894 over the trampoline code work when stepping from a function in a
3895 shared library into a function in a different shared library.
3896
3897 Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
3898
3899 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
3900 RETURN_VALUE_ON_STACK to return long doubles on the stack.
3901
3902 Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
3903
3904 * Makefile.in (ch-exp.o): Add dependencies.
3905 (various): Add gdb_string.h to dependencies that need it.
3906
3907 Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
3908
3909 * symmisc.c (print_symbol_bcache_statistics): Update description for
3910 printing byte cache statistics.
3911
3912 Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
3913
3914 * Add native support for long double data type.
3915 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
3916 to store actual data. Change types of INT and FLOAT tokens to
3917 typed_val_int and typed_val_float respectively. Create new token
3918 DOUBLE_KEYWORD to specify the string `double'. Make production
3919 for FLOAT use type determined by parse_number. Add production for
3920 "long double" data type.
3921 * (parse_number): Use sscanf to parse numbers as float, double or
3922 long double depending upon the type of typed_val_float.dval. Also
3923 allow user to specify `f' or `l' suffix to explicitly specify
3924 float or long double constants. Change typed_val to
3925 typed_val_int.
3926 * (yylex): Change typed_val to typed_val_int. Also, scan for
3927 "double" keyword.
3928 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
3929 type.
3930 * configure, configure.in: Add check for long double support in
3931 the host compiler.
3932 * defs.h: Define DOUBLEST appropriatly depending on whether
3933 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
3934 for functions that handle this type.
3935 * expression.h (union exp_element): doubleconst is now type
3936 DOUBLEST.
3937 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
3938 * findvar.c (extract_floating): Make return value be DOUBLEST.
3939 Also, add support for numbers with size of long double.
3940 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
3941 floating types.
3942 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
3943 DOUBLEST.
3944 * valarith.c (value_binop): Change temp variables v1, v2 and v to
3945 type DOUBLEST. Coerce type of result to long double if either op
3946 was of that type.
3947 * valops.c (value_arg_coerce): If argument type is bigger than
3948 double, coerce to long double.
3949 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
3950 arg type is float and > 8 bytes, then use pointer-to-object
3951 calling conventions.
3952 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
3953 Use appropriate format and precision to print out floating point
3954 values.
3955 * value.h: Fixup prototypes for value_as_double,
3956 value_from_double, and unpack_double to use DOUBLEST.
3957 * values.c (record_latest_value): Remove check for invalid
3958 floats. Allow history to store them so that people may examine
3959 them in hex if they want.
3960 * (value_as_double unpack_double): Change return value to DOUBLEST.
3961 * (value_from_double): Arg `num' is now DOUBLEST.
3962 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
3963 specific) to expect certain types to always be returned on the stack.
3964
3965 Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
3966
3967 * bcache.c, bcache.h: New files to implement a byte cache.
3968 * Makefile.in (SFILES): Add bcache.c.
3969 (symtab_h): Add bcache.h.
3970 (HFILES_NO_SRCDIR): add bcache.h
3971 (COMMON_OBJS): Add bcache.o
3972 (bcache.o): New target.
3973 * dbxread.c (start_psymtab): Make global_syms & static_syms
3974 type "partial_symbol **".
3975 * hpread.c (hpread_start_symtab): Ditto.
3976 * os9kread.c (os9k_start_psymtab): Ditto.
3977 * stabsread.h (start_psymtab): Ditto.
3978 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
3979 * maint.c (maintenance_print_statistics): Call
3980 print_symbol_bcache_statistics.
3981 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3982 and free pointers.
3983 * solib.c (allocate_rt_common_objfile): Ditto.
3984 * symfile.c (reread_symbols): Ditto.
3985 (free_objfile): Free psymbol bcache when objfile is freed.
3986 (objfile_relocate): Use new indirect psymbol pointers.
3987 * objfiles.h (struct objfile): Add psymbol cache.
3988 * symfile.c (compare_psymbols): Now passed pointers to pointers to
3989 psymbols.
3990 (reread_symbols): Free psymbol bcache when freeing other objfile
3991 resources.
3992 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3993 psymbol using the psymbol bcache.
3994 (init_psymbol_list): Psymbol lists now contain pointers rather than
3995 the actual psymbols.
3996 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3997 grown arrays of pointers.
3998 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3999 bcache.
4000 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
4001 to partial symbol.
4002 (print_symbol_bcache_statistics): New function to print per objfile
4003 bcache statistics.
4004 (print_partial_symbol, print_partial_symbols,
4005 maintenance_check_symtabs, extend_psymbol_list):
4006 Account for change to pointer to pointer to partial symbol.
4007 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
4008 make_symbol_completion_list):
4009 Account for change to pointer to pointer to partial symbol.
4010 * symtab.h (bcache.h): Include.
4011 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
4012 type "partial_symbol **".
4013
4014 Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
4015
4016 * dwarfread.c (free_utypes): New function.
4017 (read_file_scope): Call free_utypes as cleanup, rather than just
4018 freeing the utypes pointer.
4019
4020 Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4021
4022 * demangle.c (is_cplus_marker): New function, checks if a
4023 character is one of the commonly used C++ marker characters.
4024 * defs.h (is_cplus_marker): Add prototype.
4025 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
4026 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
4027 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
4028 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
4029 values.c (vb_match): Use is_cplus_marker instead of comparison
4030 with CPLUS_MARKER.
4031
4032 Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
4033
4034 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
4035 delete entirely someday.
4036
4037 Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
4038
4039 * mpw-make.sed: Edit out makefile rebuild rule.
4040 (host_alias, target_alias): Comment out instead of deleting.
4041 (@LIBS@): Edit out references.
4042
4043 Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
4044
4045 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
4046 Use n_psyms in OBJSTAT, not psyms.
4047
4048 Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
4049
4050 * configure.in (sparclet-*-aout*): New config.
4051 * configure: Regenerated.
4052
4053 Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
4054
4055 * somsolib.c (som_solib_add): Use xmalloc rather than bare
4056 unchecked call to malloc.
4057 * remote-mips.c (pmon_load_fast): ditto.
4058 * remote-mm.c (mm_open): ditto.
4059 * hpread.c (hpread_lookup_type): ditto.
4060 * remote-adapt.c (adapt_open): ditto.
4061
4062 Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
4063
4064 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
4065 allocate_saved_f77_common_node, allocate_common_entry_node,
4066 add_common_block): Use xmalloc rather than malloc, some of which
4067 were unchecked.
4068 * gnu-regex.c: At same point as other gdb specific changes
4069 #undef malloc and then #define it to xmalloc.
4070 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
4071 bare unchecked calls to malloc/realloc.
4072 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
4073 unchecked call to malloc.
4074
4075 Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
4076
4077 * symtab.c (gdb_mangle_name): Change opname var to be const to
4078 match return val of cplus_mangle_name.
4079 * i960-tdep.c: Change arg types of next_insn to match callers.
4080
4081 Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
4082
4083 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
4084 apparently aren't needed in any reasonably recent version of
4085 linux.
4086
4087 Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
4088
4089 * stabsread.c (read_range_type): If !self-subrange and language
4090 is Chill, assume a true range. If a true_range is a sub_subrange,
4091 use builtin_type_int for index_type.
4092
4093 Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
4094
4095 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
4096 with an ANSI compiler.
4097
4098 start-sanitize-gdbtk
4099 Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4100
4101 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
4102 double-clicking will work again.
4103 (create_asm_win): Put "break" at end of all B1 bindings.
4104 (create_file_win): Lower "sel" tag, don't raise it.
4105 (ensure_line_visible): New proc.
4106 (update_listing, update_assembly): Use it.
4107 (create_copyright_window): Destroy window on Leave event.
4108 (create_command_window): Put "break" at end of all B2 bindings.
4109
4110 end-sanitize-gdbtk
4111 Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
4112
4113 From Michael_Snyder@NeXT.COM (Michael Snyder):
4114 * valops.c (value_arg_coerce): Coerce float to double, unless the
4115 function prototype specifies float.
4116
4117 Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
4118
4119 * language.c (set_language_command): Use languages table when
4120 printing available languages.
4121
4122 Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
4123
4124 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
4125 * command.c (add_cmd): Add missing initialization for enums member.
4126 Reorder members to match structure declaration to make it easier to
4127 tell when one is missing.
4128 * exec.c (exec_file_command): Fix problem where filename in malloc'd
4129 memory is referenced after being freed.
4130
4131 Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4132
4133 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
4134 AT_name tag is missing.
4135
4136 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
4137 FLTWATCH and FLTKWATCH are defined.
4138
4139 * remote.c (remote_read_bytes): Advance memaddr for transfers,
4140 return number of bytes transferred for partial reads.
4141
4142 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
4143
4144 Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
4145
4146 * win32-nat.c (mappings): Add ppc registers.
4147 (child_resume): Turn off step for ppc.
4148
4149 Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
4150
4151 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
4152 xm-cygwin32.h): New.
4153 * config/i386/(*win32*): Becomes *cygwin32*.
4154 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
4155 (powerpcle-*-cygwin32): New.
4156 * configure: Regenerate.
4157 * win32-nat.c (child_create_inferior): Call CreateProcess
4158 with the right program arg.
4159
4160 Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
4161
4162 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
4163
4164 Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
4165
4166 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
4167
4168 Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4169
4170 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
4171
4172 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
4173
4174 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
4175 here from config/i386/xm-i386mach.h, fix name.
4176 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
4177 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
4178 here from config/i386/xm-ptx4.h.
4179 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
4180 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
4181 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
4182 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
4183 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
4184
4185 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
4186 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
4187 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
4188
4189 Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
4190
4191 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
4192 floating point correctly.
4193 (STORE_RETURN_VALUE): Likewise.
4194 * config/pa/tm-pro.h (SOFT_FLOAT): define.
4195
4196 Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
4197
4198 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
4199 Define to what should be reasonable values. However, apparently
4200 a bug in linux mmap prevents mapped symbol tables from working.
4201
4202 Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
4203
4204 * defs.h (errno.h>: Move #include closer to head of file to solve
4205 obscure problem with systems that declare perror with const arg, in
4206 both errno.h and stdio.h, and const is defined away by intervening
4207 local include.
4208
4209 Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
4210
4211 From Jon Reeves <reeves@zk3.dec.com>:
4212 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
4213 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
4214
4215 Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
4216
4217 * Makefile.in (diststuff): Make all-doc; diststuff target does not
4218 exist in doc/Makefile.in.
4219
4220 Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
4221
4222 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
4223
4224 Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
4225
4226 * ch-valprint.c (calculate_array_length): New function to
4227 determine the length of an array type.
4228 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
4229 array type is zero, call calculate_array_length.
4230
4231 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
4232 values may not be sorted. Scan all entries and set the real lower
4233 and upper bound.
4234
4235 Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
4236
4237 * config/xm-linux.h: Move include of solib.h and #define of
4238 SVR4_SHARED_LIBS from here ...
4239 * config/nm-linux.h: ...to here.
4240
4241 Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
4242
4243 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
4244 Also check for gregset_t and fpregset_t types.
4245 * configure: Regenerate.
4246 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
4247 is defined.
4248 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
4249 and HAVE_FPREGSET_T are defined. These changes allow systems
4250 like linux that are migrating to /proc support to use a single
4251 configuration for both new and old versions.
4252
4253 * config/i386/linux.mt: Note that this is now for both a.out and
4254 ELF systems.
4255 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
4256 i386v4-nat.o
4257 * config/i386/tm-linux.h (tm-sysv4.h): Include.
4258 * config/i386/xm-linux.h (solib.h): Include
4259 (SVR4_SHARED_LIBS): Define.
4260 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
4261 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
4262 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
4263 defined.
4264
4265 Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
4266
4267 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
4268 * config/i386/xm-sun386.h: Ditto.
4269 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
4270
4271 Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
4272
4273 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
4274
4275 Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
4276
4277 From Greg McGary <gkm@gnu.ai.mit.edu>:
4278 * dcache.c (dcache_peek, dcache_poke): Advance addr for
4279 multi-byte I/O.
4280
4281 Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
4282
4283 * infrun.c (normal_stop): Fix test for shared library event.
4284
4285 Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
4286
4287 * configure.in (sparc64-*-*): Add default host configuration.
4288 start-sanitize-gdbtk
4289 (sparc64-*-solaris2* host): Link statically if GCC used.
4290 end-sanitize-gdbtk
4291 (sparc64-*-solaris2*): Add target configuration.
4292 * configure: Regenerated.
4293 * sparc/sp64sol2.mt: New file.
4294
4295 Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
4296
4297 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
4298
4299 Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
4300
4301 * Makefile.in (lint): Close backquotes.
4302
4303 start-sanitize-gdbtk
4304 Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
4305
4306 * gdbtk.tcl, gdbtk.c: Updated copyrights.
4307
4308 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
4309 greater.
4310 * configure: Rebuilt.
4311
4312 end-sanitize-gdbtk
4313 Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
4314
4315 * NEWS: Make note of new record and replay feature for
4316 remote debug sessions.
4317 * serial.c (gdbcmd.h): Include.
4318 (serial_logfile, serial_logfp, serial_reading, serial_writing):
4319 Define here, for remote debug session logging.
4320 (serial_log_command, serial_logchar, serial_write, serial_readchar):
4321 New functions for remote debug session logging.
4322 (serial_open): Open remote debug session log file when needed.
4323 (serial_close): Close remote debug session log file when needed.
4324 (_initialize_serial): Add set/show commands for name of remote
4325 debug session log file.
4326 * serial.h (serial_readchar): Declare
4327 (SERIAL_READCHAR): Call serial_readchar().
4328 (SERIAL_WRITE): Call serial_write().
4329 (serial_close): Declare as extern.
4330 (serial_logfile, serial_logfp): Declare.
4331 * top.c (execute_command): Declare serial_logfp. Log user command
4332 in remote debug session log if log file is open.
4333 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
4334 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
4335 * remote-array.c (SREC_SIZE): Remove, duplicates define in
4336 monitor.h.
4337 * remote-array.c (hexchars, hex2mem): Remove, unused.
4338 * gdbserver/low-linux.c (store_inferior_registers): Remove
4339 unnecessary extern declaration of registers[].
4340 * gdbserver/Makefile.in (all): Add gdbreplay.
4341 * gdbserver/gdbreplay.c: New file.
4342 * gdbserver/README: Give example of recording a remote
4343 debug session with gdb and then replaying it with gdbreplay.
4344
4345 Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
4346
4347 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
4348 (read_one_struct_field): Support boolean bitfields.
4349 * c-valprint.c (c_val_print): Print booleans properly.
4350
4351 Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
4352
4353 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4354 Remove, never used.
4355 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
4356
4357 Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
4358
4359 * ch-exp.c (parse_tuple): Error if invalid mode.
4360
4361 * value.h (COERCE_ARRAY): Don't coerce enums.
4362 (COERCE_ENUM): Don't COERCE_REF.
4363 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
4364 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
4365 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
4366 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
4367 Add COERCE_REF before COERCE_ENUM.
4368 * values.c (value_as_long): Simplify.
4369
4370 * valops.c (value_array): Create internalvar if !c_style_arrays.
4371
4372 * language.c (lang_bool_type): Add Fortran support.
4373 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
4374
4375 Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
4376
4377 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
4378 All references changed.
4379 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
4380 Update state table. Reformat so that it's still readable.
4381 When we hit the shlib_event breakpoint, set the calss of shlib_event.
4382 (breakpoint_1): Add "shlib events" as a breakpoint type.
4383 Print the shlib_event breakpoint like other breakpoints.
4384 (create_solib_event_breakpoint): New function.
4385 (breakpoint_re_set_one): Handle solib_event breakpoints.
4386 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
4387 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
4388 action.
4389 (create_solib_event_breakpoint): Declare.
4390 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
4391 (normal_stop): Inform the user when the inferior stoped due
4392 to a shared library event.
4393 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
4394 to control whether or not gdb continues the inferior or stops it when
4395 a shared library event occurs.
4396 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
4397 * somsolib.c (TODO list): Update.
4398 (som_solib_create_inferior_hook): Arrange for gdb to be notified
4399 when significant shared library events occur.
4400 * hppa-tdep.c (find_unwind_entry): No longer static.
4401
4402 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
4403
4404 * printcmd.c (print_insn): Pass fprintf_unfiltered to
4405 INIT_DISASSEMBLE_INFO.
4406 start-sanitize-gdbtk
4407 * gdbtk.c (gdb_disassemble): Likewise.
4408 end-sanitize-gdbtk
4409
4410 Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
4411
4412 * remote.c (remotebreak): New GDB variable.
4413 (remote_break): New global.
4414 (remote_interrupt): Send a break instead of ^C if remote_break.
4415 * NEWS: Describe the new variable.
4416
4417 Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
4418
4419 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
4420
4421 Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
4422
4423 * hp300ux-nat.c (getpagesize): Remove unused function
4424 fetch_core_registers.
4425 (hp300ux_core_fns): Remove, is unused.
4426 (_initialize_core_hp300ux): Remove, is unused.
4427 (gdbcore.h): Remove #include, no longer needed.
4428
4429 Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
4430
4431 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
4432 ptrace bug in aix4.1.3 on the rs6000.
4433
4434 Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4435
4436 * remote-hms.c (hms_ops): Add value for to_thread_alive.
4437 * remote-nindy.c (nindy_ops): Ditto.
4438 * remote-udi.c (udi_ops): Ditto.
4439
4440 Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
4441
4442 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
4443 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
4444 pmon_load_fast): New functions. Support for the PMON monitor world.
4445 (common_open): New function to merge support for different monitors.
4446 (mips_open): Use common_open().
4447 (mips_send_command): New function.
4448 (mips_send_packet): Scan out-of-sequence packets.
4449 (mips_enter_debug, mips_exit_debug): New functions.
4450 (pmon_ops): New target definition structure.
4451
4452 Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
4453
4454 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
4455 specified on the make command line (via make LIBS=xxx).
4456 start-sanitize-gm
4457 * configure.in (enable-gm): magic.o -> gmagic.o.
4458 end-sanitize-gm
4459
4460 start-sanitize-gdbtk
4461 Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
4462
4463 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
4464 (add_expr): Changes from create_expr_window.
4465 (create_command_window): Set focus.
4466 (delete_expr): Rewrote.
4467 (expr_update_button): New proc.
4468 (add_expr): Put bindings on FocusIn, FocusOut.
4469 Don't allow .file_popup to be torn off.
4470 end-sanitize-gdbtk
4471
4472 Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
4473
4474 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4475 is set but there are no psymtabs.
4476
4477 Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
4478
4479 * dsrec.c (load_srec): Remove unused variable.
4480 * monitor.c (monitor_expect): Don't expect a ^C to echo.
4481 * serial.c (serial_open): Add parallel interface.
4482 * sh3-rom.c (parallel, parallel_in_use): New.
4483 (sh3_load): If parallel_in_use, download though the
4484 parallel port.
4485 (sh3_open): Open parallel port if specified.
4486 (sh3_close): New function.
4487 (_inititalize_sh3): Add sh3_close hook and documentation.
4488 * monitor.c (monitor_close): Export.
4489 * monitor.h (monitor_close): Add prototype.
4490
4491 Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
4492
4493 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4494 * remote.c (remotetimeout): New GDB variable, use to set the
4495 remote timeout for reading.
4496
4497 start-sanitize-gdbtk
4498 Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
4499
4500 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
4501 (update_listing): Use lassign. Use "see" to scroll. Don't need
4502 screen_top, screen_bot, screen_height.
4503 (update_assembly): Use "see" to scroll.
4504 (textscrollproc): Removed.
4505 (create_file_win): Don't use textscrollproc.
4506 (asmscrollproc): Removed.
4507 (create_asm_window): Don't use asmscrollproc.
4508 (create_asm_win): Ditto.
4509 (screen_height, screen_top, screen_bot): Removed.
4510 (run_editor): New proc.
4511 (build_framework): Use it.
4512 (create_file_win, create_source_window): Don't use textscrollproc.
4513 (create_breakpoints_window): Set -xscrollcommand on canvas.
4514 (not_implemented_yet): Default button is 0.
4515 (delete_char): Don't use tk_textBackspace.
4516 (create_command_window): Allow Tk bindings to fire after deleting
4517 character.
4518 (create_command_window): Make Delete delete left, not right.
4519 end-sanitize-gdbtk
4520
4521 Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com>
4522
4523 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
4524 to get "struct core_fns" defined.
4525 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
4526 Are dependent upon gdbcore_h.
4527
4528 Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
4529
4530 * symfile.c (decrement_reading_symtab): New function.
4531 * symfile.c, symtab.h (currently_reading_symtab): New variable.
4532 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
4533 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
4534 currently_reading_symtab (since that could infinitely recurse).
4535
4536 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
4537
4538 * stabsread.c (read_struct_type): Trivial simplification.
4539
4540 * stabsread.c (define-symbol): Use invisible references
4541 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
4542 * valops.c (call_function_by_hand): Likewise.
4543 * eval.c (evaluate_subexp_standard): When known, use the formal
4544 parameter type as the expected type when evaluating arg expressions.
4545 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
4546
4547 start-sanitize-gdbtk
4548 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
4549
4550 * main.c (main): Disable window interface if --help or --version
4551 specified.
4552
4553 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
4554
4555 Changes in sync with expect:
4556 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
4557 CY_AC_PATH_TK.
4558 * aclocal.m4: Replaced with version from expect.
4559 * configure: Regenerated.
4560 end-sanitize-gdbtk
4561
4562 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4563
4564 * configure.in, configure: Recognize rs6000-*-aix4*.
4565 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
4566 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
4567 * config/rs6000/xm-aix4.h: New file.
4568 * config/xm-aix4.h: New file.
4569
4570 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
4571
4572 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4573 * gdbserver/low-linux.c: New file.
4574 * remote.c (remote_read_bytes): Fix aborts on larger packets.
4575
4576 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
4577 Define.
4578 * stabsread.c (define_symbol): If register value is too large,
4579 tell what it is and what max is.
4580
4581 start-sanitize-gdbtk
4582 Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
4583
4584 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
4585 gdbtk_tcl_flush): Use "see", not "yview".
4586 (gdbtk_tcl_query): Use questhead bitmap.
4587 various: Always wrap condition of 'if' in {...}.
4588 (add_breakpoint_frame): Set -value on radiobuttons.
4589 (lassign): New proc.
4590 (add_breakpoint_frame): Use lassign, not series of assignments.
4591 (decr): Made faster.
4592 (interactive_cmd): Use "see", not "yview".
4593 (not_implemented_yet): Use warning bitmap.
4594 (update_expr): Don't allow $expr to be evalled by Tcl.
4595 (create_expr_window): Don't use "focus".
4596 (delete_char, delete_line): Define globally.
4597 (delete_line, delete_char, create_command_window, update_autocmd,
4598 build_framework, create_asm_win, create_file_win): Use "see", not
4599 "yview".
4600 (create_copyright_window, center_window, bind_widget_after_class):
4601 New procs.
4602 (FSBox,create_command_window, create_autocmd_window): Binding
4603 changes for Tk4.
4604 (textscrollproc): Define globally.
4605 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
4606 Home, End, Up, and Down are all defined by Tk.
4607 (apply_filespec): Use error bitmap in dialog.
4608 (files_command): Don't use tk_listboxSingleSelect.
4609 (files_command): Don't use "uniq" to remove duplicates from a
4610 list.
4611 (update_assembly): Use lassign.
4612 (create_asm_win): Removed redundant bindings.
4613 (listing_window_button_1, file_popup_menu): Use tk_popup.
4614 (ButtonRelease-1 binding): Just remove tag from window; rest
4615 handled by Tk.
4616
4617 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
4618 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
4619 (gdbtk_call_command): Ditto.
4620 end-sanitize-gdbtk
4621
4622 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
4623
4624 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
4625 enum namespace -> enum_namespace change.
4626
4627 Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
4628
4629 * ch-exp.c (parse_primval): In case ARRAY, add missing
4630 FORWARD_TOKEN ().
4631
4632 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
4633
4634 * remote-mips.c (mips_receive_header): Recognize \012 instead
4635 of \n, but write \n when program sends a \012.
4636 * ser-mac.c (mac_input_buffer): Increase size of buffer.
4637
4638 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
4639
4640 * infptrace.c (initialize_infptrace): Move function out of
4641 #ifdef conditional; put code within the function inside an
4642 #ifdef conditional.
4643
4644 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
4645 arguments. Sorting is now dependent on OBJF_REORDERED. All
4646 callers/references changed.
4647 * dbxread.c (read_ofile_symtab): Correctly determine value for
4648 last_source_start_addr for reordered executables.
4649 (process_one_symbol): Handle N_FUN with no name as an end of
4650 function marker.
4651 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
4652 is the high text address for a psymtab.
4653 (case N_SO): Likewise.
4654 (case N_FUN): Handle N_FUN with no name as an end of function
4655 marker.
4656 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
4657 at the same address rather than a random subset of them.
4658 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
4659 * elfread.c (elf_symfile_init): Similarly.
4660 * somread.c (som_symfile_init): Similarly.
4661 * xcoffread.c (xcoff_symfile_init): Similarly.
4662
4663 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
4664
4665 * stack.c (print_stack_frame print_frame_info) symmisc.c
4666 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
4667 that catch_errors doesn't get blindsided by QUIT and lose the
4668 cleanup chain. This fixes a problem where ^C while in a
4669 user-defined command sometimes leaves instream NULL and causes a
4670 segfault in command_loop.
4671
4672 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4673
4674 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
4675
4676 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
4677
4678 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
4679 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
4680 srec.o renamed to dsrec.o.
4681
4682 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
4683
4684 * breakpoint.c (remove_breakpoint): Change error to warning so
4685 that hardware watchpoint removal problems won't leave breakpoint
4686 traps in the target.
4687 start-sanitize-gdbtk
4688 * configure configure.in: Make --enable-gdbtk be the default.
4689 end-sanitize-gdbtk
4690 * remote-e7000.c (e7000_insert_breakpoint,
4691 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
4692 breakpoints.
4693 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
4694 compensate for e7000 maladjustment.
4695 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
4696 which prevented hardware watchpoints from working.
4697
4698 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com>
4699
4700 * infptrace.c (udot_info): New function.
4701 (PT_*): Define each individually if that one is not defined.
4702 * rs6000-nat.c (kernel_u_size): New function
4703 Include <sys/user.h> for "struct user"
4704 * alpha-nat.c (kernel_u_size): New function.
4705 Include <sys/user.h> for "struct user"
4706 * sparc-nat.c (kernel_u_size): New function.
4707 Include <sys/user.h> for "struct user"
4708 * i386b-nat.c (kernel_u_size): New function.
4709 * i386v-nat.c (kernel_u_size): New function.
4710 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
4711 (kernel_u_size): Declare.
4712 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
4713 (kernel_u_size): Declare.
4714 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
4715 (kernel_u_size): Declare.
4716 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
4717 (kernel_u_size): Declare.
4718 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
4719 (kernel_u_size): Declare.
4720
4721 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
4722
4723 * mdebugread.c (mylookup_symbol): enum namespace becomes
4724 enum_namespace type.
4725 * symfile.c (add_psymbol_to_list)
4726 (add_psymbol_addr_to_list): Ditto.
4727 * symtab.c (lookup_partial_symbol): Ditto.
4728 (lookup_symbol): Ditto.
4729 (lookup_block_symbol): Ditto.
4730 * win32-nat.c (handle_load_dll): Use incoming dll base.
4731 (child_wait): Catch DLL load errors.
4732 (create_child_inferior): Translated between paths correctly.
4733
4734 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
4735
4736 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
4737 from NUM_REGS to get number of general registers that we care about.
4738 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
4739 of number of general regs and number of floating point regs.
4740
4741 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
4742
4743 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
4744 (SKIP_TRAMPOLINE_CODE): New.
4745 * config/i386/xm-win32.h (CANT_FORK): Deleted.
4746 (SLASH*) Changed to use unix style slash.
4747 * symtab.h (namespace enum): becomes typedef to avoid namespace
4748 collision in C++.
4749 * infcmd.c (path_command): Use empty string if PATH name not set.
4750 * i386-tdep.c (skip_trampoline_code): New function.
4751 * srec.c: Renamed dsrec.c to avoid filename collision.
4752 * Makefile.in: Cope with renaming.
4753
4754 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
4755
4756 * symmisc.c (print_objfile_statistics): Print memory use statistics
4757 for objfile psymbol, symbol, and type obstacks.
4758
4759 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
4760
4761 * config/mips/nm-irix5.h: Restore.
4762 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
4763 from Lee Iverson <leei@ai.sri.com>.
4764 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
4765 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
4766
4767 For older changes see ChangeLog-95
4768 \f
4769 Local Variables:
4770 mode: indented-text
4771 left-margin: 8
4772 fill-column: 74
4773 version-control: never
4774 End:
This page took 0.182998 seconds and 4 git commands to generate.