* breakpoint.c (bpstat_do_actions): Once we've executed the
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Sun Mar 26 13:22:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2
3 * breakpoint.c (bpstat_do_actions): Once we've executed the
4 commands, set bs->commands to NULL.
5
6 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7
8 * buildsym.c (patch_subfile_name): Update last_source_file
9 with the real source file name.
10 * dbxread.c (end_psymtab): Handle static functions in the
11 SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
12 to lookup_minimal_symbol.
13 (process_one_symbol): Ignore extra outermost context from
14 SunPRO cc and acc.
15 * stabsread.c (define_symbol): Do not complain for SunPRO
16 static variable encoding if STATIC_TRANSFORM_NAME is defined.
17 * sparc-tdep.c, config/sparc/tm-sun4sol2.h
18 (sunpro_static_transform_name): Renamed from
19 solaris_static_transform_name.
20 * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
21 Define to sunpro_static_transform_name for acc 3.0 compiled
22 executables.
23 * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
24 Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
25 if defined.
26 * procfs.c (info_proc_siginfo): Cast sip->si_addr to
27 `unsigned long' and use `lx' format for printing it.
28
29 Fri Mar 24 15:45:42 1995 Stu Grossman (grossman@cygnus.com)
30
31 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
32 * findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
33 the beginning of the code.
34 * (write_register_gen): New routine. Analogous to
35 read_register_gen.
36 * (write_register_bytes): Another rewrite! Make it smarter about
37 not updating regs with the same value.
38 * monitor.c (printf_monitor readchar): Use stderr instead of
39 stdout to output debug info. Also cleanup readchar a little.
40 * (expect): Make sure that excessive responses are null
41 terminated.
42 * (monitor_open): Check for magic number in monitor_ops struct.
43 Allow multiple commands as init strings. Also, clear all
44 breakpoints.
45 * (monitor_resume monitor_wait): Send a command to dump all the
46 regs for those targets which don't do so when waking up after a
47 continue command.
48 * (monitor_wait): Handle excessive response output better.
49 * (monitor_write_memory): Use block fill, word, and long word
50 commands (if they exist) to write memory more efficiently.
51 * General cleanups to use flag bits instead of individual flag
52 words in monitor_ops struct.
53 * (monitor_command): Return output from command.
54 * (monitor_load_srec): Allocate buffer only once. Use alloca.
55 Wait for load response string instead of using a timeout to start
56 sending S-records. Fix bug where value of srec_frame shrinks. If
57 hashmark is set, print `-' for retransmissions. General cleanups.
58 * (monitor_make_srec): Get rid of S-record default type kludge.
59 * monitor.h: Use seperate struct for memory and register
60 read/write commands. Memory commands can come in byte, word,
61 long, and longlong forms.
62 * (monitor_ops): Change lots of fields. Generalize some stuff.
63 Put all flags into flags word. Allow init to be a list of commands.
64 Add command for clearing all breakpoints, block fill, dumping all
65 registers.
66 * remote-est.c: Rewrite to use new monitor conventions.
67 * config/m68k/est.mt (TDEPFILES): Add monitor.o.
68 * config/m68k/tm-est.h: Set NUM_REGS to 18.
69 * testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
70 more thoroughly.
71
72 Thu Mar 23 23:20:00 1995 Jeff Law (law@snake.cs.utah.edu)
73
74 * somsolib.c (som_solib_add): Handle case where a shared library
75 referenced by a core file has sections without the SEC_ALLOC bit
76 set (eg stabs sections).
77
78 Thu Mar 23 15:07:08 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
79
80 * breakpoint.c (bpstat_do_actions): For each element in the bpstat
81 chain, do all the commands regardless of whether they run the
82 inferior.
83
84 Wed Mar 22 19:17:06 1995 Doug Evans <dje@cygnus.com>
85
86 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
87 BREAKPOINT if mono-endian.
88 (break_insn): Deleted.
89 (big_break_insn, little_break_insn): Define.
90 (memory_insert_breakpoint): Handle bi-endian cpus.
91 (BREAKPOINT_LEN): Define.
92 (memory_remove_breakpoint): Use it.
93 (memory_breakpoint_size): Likewise.
94
95 Tue Mar 21 17:03:17 1995 Kung Hsu <kung@mexican.cygnus.com>
96
97 * sparc-stub.c: add nop after 'bg good_wim'.
98 * sparcl-stub.c: ditto.
99
100 Tue Mar 21 13:34:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
101
102 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
103 TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
104
105 Mon Mar 20 10:09:59 1995 Jeff Law (law@snake.cs.utah.edu)
106
107 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.
108
109 Mon Mar 20 07:34:48 1995 Stu Grossman (grossman@cygnus.com)
110
111 * hppah-nat.c (store_inferior_registers): Move check for
112 CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
113 found by test suite during function calls, which attempts to write
114 unwritable registers.
115
116 Sat Mar 18 02:02:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
117
118 * mdebugread.c (parse_symbol): If finishing a function without
119 known parameter type info, set that from parameter symbols.
120 Remove commented-out add_param_to_type support.
121
122 Thu Mar 16 16:38:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
123
124 * xcoffread.c (process_linenos): Make sure filename we pass to
125 start_subfile will cause deduce_language_from_filename to return
126 the correct thing. Reindent function to GNU standards.
127
128 Thu Mar 16 15:54:00 1995 J.T. Conklin <jtc@rtl.cygnus.com>
129
130 * nlm/gdbserve.c (handle_exception): #if out call to StopBell,
131 as it is not available on NetWare 3 or PIN.
132 * nlm/ppc.c (StopBell): Removed.
133
134 Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
135
136 * xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
137 inferred from the traceback tags, give its type the name
138 "<non-float parameter>".
139
140 * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
141
142 Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com)
143
144 * findvar.c (read_register_bytes write_register_bytes): Make
145 these routines much smarter about updating registers from the
146 target, only doing so when absolutely necessary. This really
147 speeds up register modification on some remote targets.
148
149 * monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
150 BFD makes this unnecessary. Lots of debugging speedups.
151 * (expect): NULL terminate return string.
152 * (monitor_open monitor_supply_register parse_register_dump
153 monitor_wait monitor_fetch_register): Switch to using GNU regexp
154 library to parse multi-register displays.
155 * (monitor_read_memory): Read multiple bytes (up to 16) at once.
156 * (monitor_create_inferior): Call clear_proceed_status to make run
157 command notice first breakpoint.
158 * (monitor_load): Clean up. Reset inferior_pid, set pc to start
159 address and reset symbol table stuff to make loads put things into
160 a fresh state.
161 * (monitor_load_srec): Lower sleep time to 1 second.
162
163 * monitor.h (struct monitor_ops): Add register_pattern and
164 supply_register to monitor_ops.
165
166 * rom68k-rom.c: Add new support for handling register dumps.
167 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
168 dump handling.
169
170 Wed Mar 15 15:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
171
172 * utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
173 argument be an int, not a char. Using a prototype followed by an
174 old-style function definition in a case where an argument is
175 widened is a GCC-ism not supported by the native AIX compiler.
176
177 Wed Mar 15 12:22:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
178
179 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
180 long ago.
181
182 * configure.in (alpha-*-netware*): Removed configuration.
183 * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
184 * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
185 alpha.c, alpha.h, altdebug.h}: Removed.
186
187 * nlm/gdbserve.c (main): Add support for processing BOARD=
188 argument, deprecate NODE=.
189
190 Wed Mar 15 10:58:26 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
191
192 * c-exp.y (yylex): Make an empty character constant an error.
193
194 Tue Mar 14 15:00:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
195
196 * valops.c (value_arg_coerce): Do possible value_coerce_array
197 before determining type argument to value_cast.
198
199 Tue Mar 14 10:41:41 1995 Kung Hsu <kung@mexican.cygnus.com>
200
201 * remote-es.c: Replace ignore with 0.
202
203 Tue Mar 14 05:52:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
204
205 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
206 If VALUE_REPEATED is already set, just error out.
207
208 * valops.c (value_cast, value_slice), parse.c (follow_types): Add
209 FIXME-type-allocation comments.
210
211 * gdbtypes.h (struct type): Fix comment about what units the
212 TYPE_LENGTH is in.
213
214 Mon Mar 13 18:27:25 1995 Stan Shebs <shebs@andros.cygnus.com>
215
216 * ch-valprint.c (annotate.h): Include.
217 * eval.c (evaluate_subexp_standard): Remove unused variable.
218 (calc_f77_array_dims): Add parens to expression.
219 * f-exp.y (yylex): Add parens to expression, remove unused label.
220 * f-lang.h (calc_f77_array_dims): Declare.
221 * f-valprint.c (f_val_print): Remove unused variables.
222
223 Mon Mar 13 15:25:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
224
225 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
226 use the PDR, just examine prologues instead.
227
228 start-sanitize-arc
229 Fri Mar 10 16:13:18 1995 Kung Hsu <kung@mexican.cygnus.com>
230
231 * config/tm-arc.h: Change arc register names.
232 end-sanitize-arc
233
234 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
235
236 Fix problems with infinite recursion when printing a class
237 that contains a static instance of the class.
238 * cp-valprint.c (dont_print_vb_obstack): Renamed from
239 dont_print_obstack, made static.
240 (dont_print_statmem_obstack): New obstack, controls printing
241 of static member classes.
242 (_initialize_cp_valprint): Initialize it.
243 (cp_print_static_field): New function, handles printing of
244 static members.
245 (cp_print_value_fields): New parameter dont_print_statmem to
246 handle recursive printing of static member classes, use
247 cp_print_static_field to handle printing of static members.
248 * c-valprint.c (cp_print_value_fields): Update prototype and
249 call to include additional dont_print_statmem parameter.
250 * c-valprint.c, f-valprint.c (dont_print_obstack): Remove unused
251 extern declaration.
252
253 * alpha-tdep.c, findvar.c, infptrace.c: Include <string.h>.
254
255 * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS): Call
256 alpha_find_saved_regs if fi->saved_regs is still NULL.
257
258 * elfread.c (elf_symtab_read): Ensure that the filename field
259 of a minsym is nonempty. Ignore solib trampoline symbols from
260 the main symbol table, they might have a bogus value.
261
262 * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
263 Fix typos in comments.
264
265 Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
266
267 * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
268 pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
269 we know whether the PDR ever got set.
270 * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
271 use the PDR, just examine prologues instead.
272
273 Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
274
275 * somsolib.c (som_solib_section_offsets): Get offset of text
276 section right.
277
278 Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
279
280 start-sanitize-gdbtk
281 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
282 type is not bp_breakpoint.
283 end-sanitize-gdbtk
284
285 * source.c (forward_search_command reverse_search_command): Set
286 convenience variable $_ to be the line # of the match.
287 * symtab.c (decode_line_1): Allow convenience variables to be
288 used in line specs (for breakpoints and such).
289
290 Wed Mar 8 12:51:00 1995 Stan Shebs <shebs@andros.cygnus.com>
291
292 * Makefile.in (VERSION): Bump to 4.14.1.
293 * NEWS, README: Update for 4.14.
294 * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
295 (i386_insert_nonaligned_watchpoint): Call aligned instead of
296 generic watchpoint insertion.
297
298 Tue Mar 7 19:26:10 1995 Per Bothner <bothner@kalessin.cygnus.com>
299
300 * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
301
302 Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
303
304 * monitor.c, array-rom.c, monitor.h, rom68k-rom.c: Move target_ops
305 into monitor.c.
306 * monitor.c (monitor_create_inferior): Allow run command to start
307 program.
308
309 * monitor.c (monitor_load): Set PC to start address when done
310 loading.
311
312 * array-rom.c, monitor.h, rom68k-rom.c: Clean up target_ops.
313 Remove ref to monitor_create_inferior.
314
315 * monitor.c: More general cleanups. Add prototypes, remove
316 unused routines. Fix bug with wrong number of args to error().
317
318 * main.c (main): Don't start up GUI when running under gdb mode
319 in emacs.
320
321 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
322 Sun make (with VPATH) work...
323
324 * monitor.c, monitor.h, rom68k-rom.c: Serious cleanup to make IDP
325 (rom68k) target work right.
326 * array-rom.c, op50-rom.c, w89k-rom.c: Partial updates to new
327 monitor.c interface. More work needs to be done here.
328 * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to
329 match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no
330 floating-point for this card.
331
332 * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
333 ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits
334 (needed for IDP board?!?!?).
335
336 * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c: Fix defs
337 and usage of fputc_unfiltered and putchar_unfiltered. Eliminate
338 putc_unfiltered (it's superfluous).
339
340 * command.h, command.c, top.c: Add var_enum command type. It's
341 like var_string but allows only only one of the specified strings.
342
343 Mon Mar 6 15:03:59 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
344
345 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
346 compilers (such as SunOS4 /bin/cc) don't generally support it
347 except in some contexts.
348
349 Fri Mar 3 17:42:48 1995 Per Bothner <bothner@kalessin.cygnus.com>
350
351 * valops.c (value_cast): Check for cast to array type *before*
352 we coerce array to pointer (in case arg2 is already array).
353
354 * valops.c (call_function_by_hand): Set using_gcc to 2 if using
355 gcc2. Needed for REG_STRUCT_HAS_ADDR to work on sparc.
356 Also check REG_STRUCT_HAS_ADDR for union, array and string types.
357
358 * valops.c (call_function_by_hand): Re-arrange code for pushing
359 paramaters on the stack so we can do better STACK_ALIGN.
360
361 * valops.c (call_function_by_hand): Call error if the number
362 of arguments is fewer than parameter types in function type.
363
364 Fri Mar 3 17:13:05 1995 Doug Evans <dje@canuck.cygnus.com>
365
366 * sparc-tdep.c (sparc_extract_struct_value_address): Move
367 sparc64 support to here.
368 (sparc64_extract_struct_value_address): Deleted.
369 (dump_ccreg): Add a prototype so long long arg -> int.
370 * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
371 (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
372
373 Fri Mar 3 15:12:12 1995 Jeff Law (law@snake.cs.utah.edu)
374
375 * hpread.c (hpread_record_lines): New argument "offset". All
376 callers changed. Use it to handle dynamic address relocation.
377 (hpread_build_psymtabs): Adjust texthigh as we read each function
378 debug symbol. Fix computation of texthigh.
379 (hpread_read_subrange_type): Work around macro bugs in HP's
380 compilers.
381 (hpread_process_one_debug_symbol): Correctly map source lines.
382
383 * somread.c (check_strange_names): Filter names emitted by the HP
384 compiler when generating PIC code.
385
386 * valops.c (value_struct_elt_for_reference): Work around macro
387 bugs in HP's compilers.
388 * c-exp.y (block): Likewise.
389
390 Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
391
392 * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
393 store_address.
394
395 * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
396
397 Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
398
399 * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
400 registers that GCC emits on the PowerPC by default in addition to
401 the store multiple instruction used on the Power series.
402
403 Fri Mar 3 00:54:58 1995 Doug Evans <dje@canuck.cygnus.com>
404
405 * sparc-tdep.c (decode_asi): New function.
406 (sparc_print_register_hook): Pretty print more v9 registers.
407 * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
408
409 Thu Mar 2 22:20:22 1995 Doug Evans <dje@canuck.cygnus.com>
410
411 * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
412 (target_to_host): Change result type to CORE_ADDR.
413
414 Thu Mar 2 15:13:04 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
415
416 * rs6000-tdep.c: Fix byte-swapping sins.
417
418 Thu Mar 2 16:48:45 1995 Michael Meissner <meissner@cygnus.com>
419
420 * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
421 code between branch unconditional and branch conditional cases.
422
423 Wed Mar 1 09:41:26 1995 Doug Evans <dje@canuck.cygnus.com>
424
425 Various changes for sparc64.
426 * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
427 (SPARC_INTREG_SIZE): Define.
428 (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
429 where appropriate.
430 (enum branch_type): New value `done_retry'.
431 (isbranch): Renamed from isannulled. All callers changed.
432 Support new sparc64 branch insns.
433 (single_step): Handle done_retry.
434 (sparc_extract_struct_value_address): Don't assume 4 byte regs.
435 (get_saved_register): Likewise.
436 (sparc_push_dummy_frame): Likewise.
437 (sparc_frame_find_saved_regs): Likewise.
438 (sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
439 or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
440 (sparc64_extract_struct_value_address): New function.
441 (dump_ccreg, sparc_print_register_hook): Likewise.
442 * sp64-tdep.c: Deleted.
443 * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
444 (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
445 (CC_HAS_LONG_LONG): Define.
446 (REGISTER_NAMES): Delete cle/tle and reorganize.
447 (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
448 sparc-tdep.c now.
449 (REGISTER_BYTES): Update.
450 (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
451 (EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
452 (NO_SINGLE_STEP): Likewise.
453 * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
454 * sparc/sp64.mt: Move simulator support ...
455 * sparc/sp64sim.mt: ... to here.
456
457 Wed Mar 1 13:14:42 1995 Kung Hsu <kung@mexican.cygnus.com>
458
459 * remote-vx960.c: new file for target specific register packaging.
460 * remote-vx68.c: ditto.
461 * config/i960/vxworks960.mt: add remote-vx960.o.
462 * config/m68k/vxworks68.mt: add remote-vx68.o.
463
464 Wed Mar 1 13:42:49 1995 Michael Meissner <meissner@tiktok.cygnus.com>
465
466 * remote.c (remote_wait): Make calls to strtol be type correct by
467 passing the address of a char * pointer instead of an unsigned
468 char *.
469
470 * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
471 write_memory to make things type correct.
472
473 Wed Mar 1 12:17:31 1995 Michael Meissner <meissner@cygnus.com>
474
475 * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
476 standard Linux yacc by adding more names to be redefined with a
477 prefix.
478
479 Tue Feb 28 22:55:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
480
481 * hppa-tdep.c (pa_print_registers), monitor.c: Use
482 extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
483 * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
484 Rename it to SWAP_FLOATING to make it clear it is no longer for
485 integers.
486
487 Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
488
489 * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
490 compile time.
491
492 start-sanitize-arc
493 * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
494 processor.
495 * remote-arc.c (arc_wait): when a processor stops, stop other two
496 processors too.
497 * remote-arc.c (switch_command): switch tm_print_insn.
498 end-sanitize-arc
499
500 * vx-share/ptrace.h: merge in WRS new ptrace requests.
501
502 * defs.h: fix a syntax error.
503
504 * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
505 * remote-vx.c: move read_register and write_register out to
506 target specific files.
507 * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
508
509 * defs.h: define SWAP_TARGET_AND_HOST macro.
510 * findvar.c, monitor.c, hppa-tdep.c: remove definition of
511 SWAP_TARGET_AND_HOST.
512
513 Tue Feb 28 08:31:40 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
514
515 * alpha-tdep.c (find_proc_desc): Only attempt to set
516 PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
517
518 Mon Feb 27 11:56:32 1995 Stan Shebs <shebs@andros.cygnus.com>
519
520 * monitor.c: General gcc -Wall lint cleanup and reformat.
521 (monitor_command): If no args, send an empty command.
522
523 Thu Feb 23 21:07:25 1995 Stu Grossman (grossman@cygnus.com)
524
525 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
526 after send LOAD_CMD to prevent loss of first S-record.
527
528 Tue Feb 21 20:48:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
529
530 * valops.c (call_function_by_hand): Set using_gcc to 2 if gcc-2.
531 Call error if too few arguments.
532 If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
533 copy and convert to reference *before* we calculate alignment.
534 Also, make sure structs allocated for return values and invisible
535 reference don't violate STACK_ALIGN.
536
537 Tue Feb 21 23:29:59 1995 Per Bothner <bothner@rtl.cygnus.com>
538
539 * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
540 (same as C's '(TYPE[])EXPR')
541
542 Tue Feb 21 11:47:26 1995 Stan Shebs <shebs@andros.cygnus.com>
543
544 * top.c (print_gdb_version): Update the year.
545
546 Sun Feb 19 14:31:57 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
547
548 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
549 `..' not in `../..'.
550
551 Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
552
553 * procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
554 in addition to a PIOCSSIG to kill the inferior.
555
556 Thu Feb 16 15:06:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
557
558 * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
559 create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
560 * valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
561 of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
562 * c-typeprint.c (c_type_print_varspec_suffix): If array length
563 is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
564
565 Thu Feb 16 16:06:50 1995 Michael Meissner <meissner@tiktok.cygnus.com>
566
567 * dcache.c (insque, remque): Rewrite Linux support.
568
569 Wed Feb 15 12:33:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
570
571 * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
572
573 * dcache.c (insque, remque): If compiling in standard C on Linux,
574 protect insque and remque with macros to cast the pointer
575 arguments to the proper type.
576
577 Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
578
579 * annotate.c, breakpoint.c, defs.h, top.c: Replace
580 enable/disable_breakpoint_hook with modify_breakpoint_hook.
581 start-sanitize-gdbtk
582 * gdbtk.c: Ditto.
583 * gdbtk.c: General cleanups, get rid of unused variables. Redo
584 handling of stdout/stderr to just return output as the result of
585 the tcl command that caused the output. Cleanup -Wall stuff.
586 * (breakpoint_notify): Now returns just action and breakpoint
587 number.
588 * (gdb_get_breakpoint_list): New routine. Does the obvious.
589 * (gdb_get_breakpoint_info): Mostly derived from the old
590 breakpoint_notify, but returns lots more info.
591 * (dsprintf_append_element): Helper routine, works like printf,
592 but appends a tcl element onto the specified DString. Good for
593 building up lists as return values.
594 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
595 gdbtk_modify_breakpoint.
596 * (*many routines*): Use new result protocol.
597 * (call_wrapper): Make sure that recursive calls don't trash results.
598 * gdbtk.tcl: New windows, autocmd, and breakpoints.
599 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
600 anymore. It's not needed (in fact, this routine may not be needed
601 anymore).
602 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
603 notification protocol.
604 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
605 catches.
606 * (interactive_cmd): Use this wrapper around button invocations
607 of many commands. This will catch errors and put the results into
608 the command window. It also updates all the other windows.
609 * Also, change reliefs of most things to sunken. This actually
610 looks better.
611 * (create_file_win): Fix margin binding to allow breakpoints to
612 work again.
613 * (create_asm_win): Use return value of gdb_disassemble instead
614 of implicit I/O to the command window.
615 * (create_command_window): Use new result protocol to get output
616 from commands.
617 end-sanitize-gdbtk
618
619 Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
620
621 * expression.h: Move declaration of evaluate_subexp_with_coercion
622 from here...
623 * value.h: ...to here.
624 * expression.h: Don't include value.h
625
626 Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
627
628 * expression.h: Move include of value.h until after declaration of
629 enum exp_opcode.
630
631 Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
632
633 * remote-e7000.c: Comprehensive cleanup; removal of dead code,
634 simplify code, declare things, format to standards.
635 (inferior.h, value.h, command.h, remote-utils.h): Include.
636 (e7000_login): Rename to e7000_login_command.
637 (e7000_ftp): Rename to e7000_ftp_command.
638 (e7000_drain): Rename to e7000_drain_command.
639
640 * irix5-nat.c (string.h): Include near beginning of file.
641
642 Sun Feb 12 12:36:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
643
644 * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
645 arg, it is a value not a symbol.
646
647 gcc -Wall lint:
648 * eval.c: Move declaration of evaluate_subexp_with_coercion from here..
649 * expression.h: ..to here.
650 * expression.h: Include value.h.
651 * ch-lang.c (evaluate_subexp_chill): Add default case in switch.
652
653 Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
654
655 * language.h (struct language_defn): New field evaluate_exp.
656 * c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
657 f-lang.c (f_language_defn), language.c (unknown_language_defn,
658 auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
659 Set evaluate_exp to evaluate_subexp_standard.
660 * ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
661 support for MULTI_SUBSCRIPT.
662 (chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
663 * eval.c (enum noside): Move from here ....
664 * expression.h (enum noside): ... to here.
665 (evaluate_subexp_standard): New prototype.
666 * eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
667 Removed lo-longer-needed test for chill_varying_type.
668 (evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
669
670 * ch-exp.y (maybe_expression_list): New non-terminal.
671 (primitive_value): Allow empty parameter list.
672
673 Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
674
675 * buildsym.c (finish_block): If finishing a function without known
676 parameter type info, set that from parameter symbols.
677 * c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
678 print parameter types, if available.
679 * ch-typeprint.c (chill_type_print_base): Likewise.
680
681 * gdbtypes.h (struct type): Remove function type field.
682 (TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
683 function types now that we're also storing parameter types.
684 And the payoff is much less.
685 * gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
686 (recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
687 * dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
688
689 * valops.c (value_arg_coerce): Now takes param_type argument.
690 (call_function_by_hand): Convert arguments with value_arg_coerce
691 early, and overwrite original args with converted args.
692 No longer need multiple calls to value_arg_coerce.
693 (value_arg_push): Removed.
694 * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
695 * mips-tdep.c (mips_push_arguments): Likewise.
696 * alpha-tdep.c (alpha_push_arguments): Likewise.
697 * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
698 Likewise.
699 * value.h (value_arg_coerce): Remove declaration. (It's now static.)
700
701 * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
702
703 * symtab.c (add_param_to_type): Remove (commented-out) function,
704 since that functionality has been re-written.
705 * coffread.c: Remove commented-out add_param_to_type support.
706 * mdebugread.c (parse_symbol): Likewise.
707 * stabsread.c (define_symbol): Likewise.
708
709 Sun Feb 12 09:03:47 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
710
711 * buildsym.c (start_subfile): Set language for f2c like for cfront.
712
713 Thu Feb 9 20:20:11 1995 Rob Savoye <rob@darkstar.cygnus.com>
714
715 * op50n-rom.c: Add the control registers.
716
717 Thu Feb 9 15:46:39 1995 Stan Shebs <shebs@andros.cygnus.com>
718
719 * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
720 after, any host/target/native libraries.
721 * dcache.c (insque, remque): Remove declarations.
722 * gdbtypes.h (type_code): Remove trailing comma.
723
724 From Peter Schauer:
725 * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
726 STATIC_NODEBUG_VARS inside case.
727
728 Thu Feb 9 07:43:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
729
730 * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
731 * partial-stab.h: Call it.
732 * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
733 STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
734 get the address.
735 * sparc-tdep.c (solaris_static_transform_name): New function.
736
737 Thu Feb 9 12:09:09 1995 Jeff Law (law@snake.cs.utah.edu)
738
739 * somread.c (som_symtab_read): Handle dynamic relocation for both
740 text and data symbols.
741 (som_symfile_offsets): If objfile is a shared library, then get
742 text and data offsets from the shared library structures.
743 * somsolib.c (som_solib_add): Copy the bfd pointer from the
744 objfile rather than reopening the file again.
745 (som_solib_section_offsets): New function.
746 * somsolib.h (som_solib_section_offsets): Declare.
747
748 Wed Feb 8 20:32:18 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
749
750 * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
751 N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
752 * symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
753 filename field.
754 * elfread.c (record_minimal_symbol_and_info),
755 minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
756 newly created symbol.
757 * elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
758 Set filename field of minimal symbol.
759 * symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
760 Print filename field.
761 * minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
762 * symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
763 m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
764 os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
765 printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
766 * dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
767 Find address of function from minimal symbols.
768 * partial-stab.h, case 'f', 'F': Call find_stab_function_addr
769 instead of getting pst->textlow from the stab.
770 * minsyms.c (find_stab_function_addr): New function.
771
772 Wed Feb 8 19:19:56 1995 Rob Savoye <rob@darkstar.cygnus.com>
773
774 * monitor.c: Fix so all the output shows up in the GUI command
775 window.
776
777 Mon Feb 6 18:50:59 1995 Stan Shebs <shebs@andros.cygnus.com>
778
779 * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
780 line, so init.c generation works correctly.
781 start-sanitize-arc
782 * arc-tdep.c (_initialize_arc_tdep): Ditto.
783 end-sanitize-arc
784
785 Mon Feb 6 14:44:36 1995 Rob Savoye <rob@darkstar.cygnus.com>
786
787 * config/mips/idt.mt: Add support for the lsi33k target.
788 * config/sparc/sun4sol2.mh: Add support for ser-tcp.
789 * array-rom.c: Finish the rest of the support commands needed by
790 GDB.
791 * mips-tdep.c: Add LSI33k register names and processor type.
792
793 start-sanitize-gdbtk
794 Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
795
796 * gdbtk.c (gdb_disassemble): Deference pointer to function before
797 calling it (pre-ANSI compilers generally require this).
798
799 end-sanitize-gdbtk
800 Sat Feb 4 13:29:52 1995 Stan Shebs <shebs@andros.cygnus.com>
801
802 * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.
803
804 Fri Feb 3 16:47:31 1995 Kung Hsu <kung@mexican.cygnus.com>
805
806 * ser-go32-para.c (dos_read): fix syntax errors.
807
808 Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
809
810 * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of
811 dis_asm_read_memory_hook. We can now call the disassemblers
812 directly and have no need for this hook anymore.
813 start-sanitize-gdbtk
814 * gdbtk.c (gdb_disassemble): Ditto.
815 end-sanitize-gdbtk
816 * defs.h, printcmd.c: Make print_insn be static.
817
818 * ser-go32.c (dos_comisr): Make this 8 bit clean.
819 * (dos_open dos_close): Allow multiple opens to the same device.
820 Use a ref count to prevent unwanted deallocations.
821 * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32
822 happy.
823 * (sparclite_ops): Switch to download_stratum.
824 * target.h (enum strata): Move download_stratum before
825 process_stratum so that executable targets get pushed on top of
826 download targets.
827
828 Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com>
829
830 * array-rom.c: Remove the non GDB remote protocol config stuff.
831
832 * monitor.c: All reading/writing functions for memory and
833 registers work.
834
835 Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com>
836
837 start-sanitize-arc
838 * config/arc/arc.mt: new target makefile for arc processor.
839 * config/arc/tm-arc.h: new target header for arc processor.
840 * config/arc/go32.mh: new go32 host makefile for arc processor.
841 * config/arc/xm-go32.h: new go32 host header for arc processor.
842 * arc-tdep.c: new target dependent codes for arc processor.
843 * remote-arc.c: new file for arc-specific protocol through
844 parallel line.
845 end-sanitize-arc
846 * ser-go32-para.c: new file for go32 parallel port communication.
847
848 Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com>
849
850 * Makefile.in (VERSION): Bump to 4.13.2.
851
852 Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
853
854 Fix compiler warnings:
855 * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug
856 and have the caller do the sprintf. Saves us from varargs hell.
857 (normal): Define before use.
858 * remote-e7000.c: Reindent a few things.
859
860 Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com>
861
862 * f-typeprint.c (f_type_print_varspec_suffix): Print array index
863 ranges in reverse order.
864 * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation.
865
866 * eval.c (evaluate_subscript): Don't call value_subscript, since
867 it adjusts for lower bound and enforces ranges.
868
869 * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR.
870 * eval.c, parse.c: Removed uses of removed opcodes.
871 * eval.c (evaluate_subexp): Clean up handling of
872 OP_UNDETERMINED_ARGLIST (no backtracking, more general).
873
874 * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using
875 LA_PRINT_STRING, and not val_print_string (which reads from inferior).
876
877 * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function
878 duplicate function made redundant by chill_varying_type.
879
880 Re-write of f77 string and complex number support:
881
882 * language.h (struct language_defn): New fields string_lower_bound
883 and string_char_type.
884 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn),
885 language.c (unknown_language_defn, auto_language_defn,
886 local_language_defn), m2-lang.c (m2_language_defn), f-lang.c
887 (f_language_defn), ch-lang.c (chill_language_defn): Set new fields.
888 * gdbtypes.c (create_string_type): Use new string_char_type field.
889 * valops.c (value_string): Use new string_lower_bound field.
890
891 * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed.
892 * f-lang.c (f_create_fundamental_type, _initialize_f_language),
893 m2-lang.c (m2_create_fundamental_type),
894 gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex
895 types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX.
896 * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex):
897 Removed. Use builtin_type_complex and builtin_type_double_complex.
898
899 * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING
900 and TYPE_CODE_LITERAL_COMPLEX.
901 * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of
902 TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX.
903 * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type,
904 f77_create_literal_string_type): Removed.
905 * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR,
906 VALUE_SUBSTRING_MYADDR): Removed.
907
908 * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to
909 OP_COMPLEX.
910 * parse.c: Update accordingly.
911
912 * f-valprint.c (f77_print_cmplx): Removed.
913 (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating.
914
915 * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY.
916 * eval.c (evaluate_subexp): For case OP_ARRAY, don't call
917 f77_value_literal_string.
918 * valops.c, value.h (f77_value_literal_string, f77_value_substring,
919 f77_assign_from_literal_string, f77_assign_from_literal_complex):
920 Removed.
921 (value_assign): No longer need to handle literal types.
922 * valops.c (f77_value_literal_complex), value.h: Re-written and
923 renamed to value_literal_complex. Last arg is now a (complex) type.
924 * valops.c (f77_cast_into_complex): Re-written and renamed to
925 cast_into_complex.
926 * eval.c (evaluate_subexp): Update accordingly.
927
928 * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
929 print address for non-'s'-formats.
930 * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead
931 of chill_is_varying_struct.
932
933 Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com>
934
935 gcc -Wall lint.
936 * alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
937 (after_prologue): Remove unused local b.
938 * procfs.c (thread.h): Include.
939 (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
940 nested braces in initializer.
941 * top.c (initialize_targets, initialize_utils): Declare.
942 (locate_arg, insert_args): Add parens around tested assignments.
943 * remote-utils.c (sr_scan_args): Remove decl of strtol.
944 * remote.c (thread.h): Include.
945 (remote_wait): Remove unused local p2.
946 * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
947 registers array.
948
949 defs.h (stdlib.h): Include.
950 (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
951 (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
952 strtok, strerror): Don't specify parameter types in declaration.
953
954 Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com>
955
956 * ch-exp.y (value_string_element, string_primitive_value,
957 start_element, left_element, right_element, slice_size,
958 lower_element, upper_element, first_element): Removed.
959 (value_string_slice, value_array_slice): Replaced by ...
960 (slice): New non-terminal, with working slice support.
961 (primitive_value_lparen, rparen): New non-terminals.
962 (maybe_tuple_elements): New non-terminal, to allow empty tuples.
963 (idtokentab): Added "up".
964
965 * value.h (COERCE_VARYING_ARRAY): New macro.
966 * valarith.c (value_subscript): Use it.
967 * valops.c (value_cast): Likewise. Also, do nothing if already
968 correct type, and allow converting from/to range to/from scalar.
969
970 * valops.c, value.h (varying_to_slice, value_slice): New functions.
971 * eval.c (OP_ARRAY): Add cast for array element.
972 * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes.
973 * valops.c (chill_varying_type): Moved function frp, here ...
974 * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here.
975 * parse.c (length_of_subexp, prefixify_subexp): Add support
976 for TERNOP_SLICE, TERNOP_SLICE_COUNT.
977 * expprint.c (print_subexp, dump_expression): Likewise.
978 * eval.c (evaluate_subexp): Likewise.
979
980 * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call
981 value_x_binop on a Chill varying string.
982
983 Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
984
985 * config/m68k/monitor.mt,
986 config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
987 depfiles in TDEPFILES not REMOTE_O.
988
989 Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat>
990
991 From nigel@algor.co.uk.
992 * ser-go32.c (dos_close): Don't crash if scb null.
993 (dos_sendbreak): New function.
994 (dos_ops): Point to dos_sendbreak.
995 (dos_info): Calculate COM number correctly.
996
997 Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
998
999 * xcoffread.c (process_xcoff_symbol): Use new variables
1000 func_symbol_type and var_symbol_type as type of functions and
1001 variables which don't have any stabs associated with them.
1002 Reindent most of function.
1003 (_initialize_xcoffread): Initialize *_symbol_type.
1004
1005 * xcoffread.c (read_xcoff_symtab): Reindent most of function.
1006 Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
1007 them (this part commented out as I didn't quite get it to work).
1008 (cs_to_section, find_targ_sec): New functions, to support above code.
1009 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
1010 actually present.
1011
1012 Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
1013 start-sanitize-gdbtk
1014 * gdbtk.tcl (create_file_win): Disable old popup menu for source
1015 window.
1016 end-sanitize-gdbtk
1017 * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
1018 downloads to SPARClite demo boards.
1019
1020 Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1021
1022 * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
1023 no hope of working as is for a long time (in particular, shebs' 27
1024 Jan 95 change confuses the issue further--target_read_memory and
1025 xfer_core_file do *not* do the same thing in this context).
1026 Revise comment.
1027
1028 Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1029
1030 * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
1031 procedure linkage table symbols, it is no longer set due to the
1032 Jan 6 BFD change in bfd/elfcode.h.
1033
1034 Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
1035
1036 * top.c (use_windows): Clarify comments.
1037
1038 * convex-tdep.c (xfer_core_file): Comment out.
1039 * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
1040 * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
1041 references to target_read_memory.
1042 * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
1043 declarations.
1044 * corelow.c (core_open, core_detach): Make static.
1045
1046 * arm-tdep.c: Make it compile.
1047 (exec_file_command, xfer_core_file): Comment out.
1048 (arm_print_insn): Remove, now in libopcodes.
1049 (skip_prologue): Comment out most of body.
1050 (arm_frame_find_saved_regs): Move here from tm-arm.h.
1051 (_initialize_arm_tdep): Set tm_print_insn.
1052 * config/arm/tm-arm.h: Remove old refs to first_object_file_end.
1053 (XFER_CORE_FILE): Remove.
1054 (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.
1055
1056 Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1057
1058 * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
1059
1060 Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1061
1062 * symtab.c (find_pc_line): When subtracting one to get a line
1063 number, make sure not to end up with zero.
1064
1065 * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
1066 problems with those changes were (a) the file didn't compile, (b)
1067 they changed memset to bzero--memset is correct, (c) they took out
1068 code to deal with boards lacking floating point, (d) who knows
1069 what I didn't discover in a quick read.
1070
1071 Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com)
1072
1073 * sparcl-tdep.c: Clean up formatting and indentation.
1074
1075 Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat>
1076
1077 * remote-hms.c (hms_ops): Change ref of hr_load_image
1078 to gr_load_image.
1079 (dcache_flush, dcache_hit, dcache_value, dcache_fetch,
1080 dcache_poke, dcache_init): Deleted.
1081 (hms_open, hms_resume, hms_fetch_word, hms_store_word):
1082 Use dcache routines provided by remote-util.h
1083
1084 Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com>
1085
1086 * configure.in: Add support for powerpc-*-eabi.
1087
1088 * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for
1089 PowerPC support.
1090
1091 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1092
1093 * language.h (struct language_defn): New field c_style_arrays.
1094 * language.c (unknown_language_defn, auto_language_defn,
1095 local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
1096 asm_language_defn): Set c_style_arrays to true.
1097 * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
1098 f-lang.c (f_language_defn): Set c_style_arrays to false.
1099 * valops.c (value_string): If c_style_array is not set,
1100 allocate string in gdb (not inferior) using allocate_value.
1101
1102 * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
1103 Only call value_coerce_array if current_language->c_style_arrays.
1104 * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
1105
1106 * valops.c (chill_varying_type): New predicate.
1107 * valops.c (value_cast): Support assigning a fixed string or array
1108 to a variable string/array structure.
1109
1110 * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
1111 Check index>=lowerbound, and then add lowerbound to index here,
1112 instead of in caller. Generalize to arbitrary lval_types.
1113 (value_subscript): Use enhanced value_subscripted_rvalue if
1114 c_style_arrays is false (and index is in range).
1115
1116 start-sanitize-gdbtk
1117 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
1118
1119 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
1120 found.
1121 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
1122 popping up expression window for the first time.
1123 end-sanitize-gdbtk
1124
1125 Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
1126
1127 * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
1128 TYPE_LENGTH is length in bytes, not bits.
1129
1130 Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1131
1132 * infrun.c (proceed): Flush stdout before resuming inferior.
1133 * infcmd.c (step_1), annotate.c (annotate_starting):
1134 Don't bother to flush here.
1135
1136 Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu)
1137
1138 * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
1139 by an ill-advised global search and replace.
1140
1141 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
1142
1143 * gdbtk.tcl (create_registers_window): Work around a radiobutton
1144 widget bug to make Options|Natural button work.
1145
1146 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
1147 g++ caused by out-of-order pc's.
1148 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
1149 add scrollbar.
1150
1151 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
1152
1153 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
1154 doc!
1155
1156 Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
1157
1158 Add support for Chill bitstring literals (e.h. H'FF00').
1159 * ch-exp.y (match_bitstring_literal): Fix for proper endianness.
1160 * expprint.c (print_subexp): Don't call error on OP_BITSTRING,
1161 just print B'<unimlemented>'.
1162 * gdbtypes.c (create_set_type): Fix bug in length calculation.
1163 * valops.c, value.h (value_bitstring): New function.
1164 * eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
1165
1166 * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
1167 check that return type is non-void, and print in proper Chill syntax.
1168
1169 Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com>
1170
1171 * Makefile.in: Remove references to remote-mon.c.
1172 * remote-mon.c: remove. Replaced by rom68k-rom.c.
1173 * rom68k-rom.c: Support for Rom68k monitor.
1174
1175 Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1176
1177 * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
1178 gcc/ch/runtime not chillrt, since that is where the chill runtime
1179 lives now.
1180
1181 Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
1182
1183 * remote-hms.c (hms_load): Delete.
1184 (target_ops): Use hr_load_image.
1185
1186 * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
1187 Define memory_insert/remove_breakpoint.
1188 * xm-go32.h: Remove redundant SIGs.
1189
1190 Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
1191
1192 * ser-go32.c: Rewritten by nigel@algor.co.uk.
1193
1194 Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com>
1195
1196 * expression.h (OP_LABELED): New operator, for Chill
1197 labeled structre tuples.
1198 * ch-exp.y (tuple_element, named_record_element, tuple_elements):
1199 New non-terminals, to handle labeled structure tuples.
1200 (tuple): Re-define using tuple_elements.
1201 * eval.c (evaluate_labeled_field_init): New function, to handle
1202 initialization of structure fields, possibly using OP_LABELED.
1203 (evaluate_subexp): Use it.
1204 * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
1205 for Chill. Handled OP_LABELED.
1206 * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
1207
1208 * eval.c (evaluate_subexp): Handle Chill Powerset tuples.
1209 * valarith.c (value_bit_index): Just treat bitstring as represented
1210 by an array of bytes. Alignment is handled by compiler.
1211
1212 Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com>
1213
1214 * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
1215 * sh-tdep.c (gdb_print_insn_sh): Ditto.
1216
1217 Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com>
1218
1219 * remote-os9k.c (rombug_open): Fix a bug in exception handling
1220 command.
1221 * remote-os9k.c (rombug_write_inferior_memory): reset buffer after
1222 write.
1223
1224 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1225
1226 * parse.c (_initialize_parse): Improve wording of names of
1227 msym_*_symbol_type.
1228
1229 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1230
1231 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
1232 (mips_fpu): Change type to enum mips_fpu_type.
1233 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
1234 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
1235 Don't initialize.
1236 (mips_fpu_string): New static variable.
1237 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
1238 (mips_pop_frame): Likewise.
1239 (mips_extract_return_value): Likewise.
1240 (mips_store_return_value): Likewise.
1241 (mips_set_fpu_command): New static function.
1242 (mips_show_fpu_command): New static function.
1243 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
1244
1245 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1246
1247 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
1248
1249 * parse.c (write_exp_msymbol): Use new variables
1250 msym_*_symbol_type as type of msymbol expression.
1251 (_initialize_parse): Initialize them.
1252
1253 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1254
1255 General cleanup and simplication of disassembler interface.
1256 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
1257 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
1258 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
1259 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
1260 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
1261 had been -pinsn.c files.
1262 * Makefile.in (ALLDEPFILES): Remove removed files.
1263 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
1264 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
1265 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
1266 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
1267 Remove compile actions.
1268 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
1269 vax-tdep.o: Add compile actions.
1270 * defs.h (tm_print_insn): New global.
1271 * a29k-tdep.c (gdb_print_insn_a29k): New function.
1272 (_initialize_a29k_tdep): Rename from _initialize_29k,
1273 set tm_print_insn.
1274 * alpha-tdep.c (print_insn): Remove.
1275 (_initialize_alpha_tdep): Set tm_print_insn.
1276 * arm-tdep.c (arm_print_insn): New function, was print_insn
1277 in arm-pinsn.c.
1278 * convex-tdep.c (convex_print_insn): New function, was print_insn
1279 in convex-pinsn.c.
1280 * h8300-tdep.c (print_insn): Remove.
1281 (gdb_print_insn_h8300): New function.
1282 (_initialize_h8300_tdep): New function.
1283 * h8500-tdep.c (print_insn): Remove.
1284 (_initialize_h8500_tdep): New function.
1285 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
1286 * i386-tdep.c (_initialize_i386_tdep): New function.
1287 * i960-tdep.c (mem, next_insn): New functions, were in
1288 i960-pinsn.c.
1289 (_initialize_i960_tdep): Set tm_print_insn.
1290 * m68k-tdep.c (_initialize_m68k_tdep): New function.
1291 * m88k-tdep.c (_initialize_m88k_tdep): New function.
1292 * mips-tdep.c (gdb_print_insn_mips): New function.
1293 (_initialize_mips_tdep): Set tm_print_insn.
1294 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
1295 in pyr-pinsn.c.
1296 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
1297 * sh-tdep.c (print_insn): Remove.
1298 (gdb_print_insn_sh): New function.
1299 (_initialize_sh_tdep): Set tm_print_insn.
1300 * sparc-tdep.c (_initialize_sparc_tdep): New function.
1301 * w65-tdep.c (print_insn): Remove.
1302 (_initialize_w65_tdep): New function.
1303 * z8k-tdep.c (print_insn): Remove.
1304 (gdb_print_insn_z8k): New function.
1305 (_initialize_z8k_tdep): Set tm_print_insn.
1306 * printcmd.c (print_insn): New function, generic disassembler.
1307 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
1308
1309 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1310
1311 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
1312 and config/a29k/vx29k.mt.
1313 * configure.in: add new configuration a29k-*-vxworks.
1314 * remote-vx29k.c: new file merged from WRS.
1315 * remote-vx.c: merge changes from WRS.
1316 * config/a29k/vx29k.mt: new file for new configuration.
1317 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
1318
1319 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
1320
1321 * breakpoint.h (disable_breakpoint, enable_breakpoint):
1322 New declarations.
1323 (enum bpdisp): Change name of 'delete' member to 'del'.
1324 (struct bpstat): Changed name to 'bpstats'.
1325 * breakpoint.c (disable_breakpoint, enable_breakpoint,
1326 breakpoint_chain): Made globally visible.
1327 (bpstat_stop_status): Use new name for bpstat.
1328 (break_command_1, watch_command_1, catch_command_1,
1329 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
1330 instead of 'delete'.
1331 (set_breakpoint_sal): New function.
1332 * defs.h (registers_changed_hook): New declaration.
1333 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
1334 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
1335 * main.c (main): Don't scan options when in WIN32 and exit
1336 without entering main loop.
1337 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
1338 * symtab.h (struct symbol, struct partial_symbol): Changed name of
1339 member 'class' to 'aclass'.
1340 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
1341 * top.c (registers_changed_hook): New definition.
1342 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
1343 in same way as __GO32__.
1344 * value.h (c_typedef_print): Rename 'new' argument.
1345
1346 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
1347 * configure.in: Suppprt for w65,
1348
1349
1350 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1351
1352 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
1353 not stop_pc, to proceed.
1354
1355 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
1356
1357 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1358
1359 * infcmd.c (signal_command): Accept "signal 0"; the change to not
1360 accept it was accidental. "handle 0" and "info signal 0" remain
1361 illegal, though.
1362
1363 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
1364
1365 * Makefile.in (all): Don't make libgdb-files.
1366 (libgdb): New action, makes libgdb-files.
1367
1368 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
1369
1370 * stabsread.c (read_enum_type): When pending enum symbols are
1371 put into the enum type, they must be inserted in "backwards
1372 order, in case we've overflowed a struct pending buffer.
1373
1374 start-sanitize-gdbtk
1375 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
1376
1377 * gdbtk.c, gdbtk.tcl: Update/add copyright.
1378 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
1379 including dismiss button, and better error handling.
1380 * (create_command_win): Bind button 2 to retrieve selection.
1381 end-sanitize-gdbtk
1382
1383 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1384
1385 * README: Add note about SPARCworks cc release 3.0 and higher.
1386
1387 Add procfs support for Alpha OSF/1-2.x.
1388 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
1389 OSF/1 native support.
1390 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
1391 (MUNCH_DEFINE): Removed.
1392 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
1393 for procfs support.
1394 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
1395 release 2.x and higher, else alpha-osf1.mh, as the procfs support
1396 in release 1.x is incomplete.
1397 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
1398 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
1399 fill_fpgregset): New routines for procfs support.
1400 * inftarg.c (_initialize_inftarg): Don't add ptrace support
1401 if we have an optional procfs and /proc is accessible.
1402 * procfs.c: Include sys/fault.h and sys/syscall.h before
1403 including sys/procfs.h.
1404 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
1405 is defined, additionally perform a PIOCSSIG to really terminate
1406 the inferior.
1407 (create_procinfo): Always return a result.
1408 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
1409 PROCFS_DONT_TRACE_IFAULT is defined.
1410 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
1411 argument to startup_inferior if it is defined.
1412 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
1413 of tracing exits from exec system calls. Needed for the user level
1414 loader under Alpha OSF/1.
1415 (do_detach): Clear any pending signal if we want to detach from
1416 a process without a signal.
1417 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
1418 don't issue a PIOCSSIG if pr_cursig already contains the signal we
1419 intend to set.
1420 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
1421 pending signals are numbered from 1 instead of 0.
1422 (info_proc_mappings): Increase size of output format for addresses
1423 if BFD_HOST_64_BIT is defined.
1424 (procfs_stop): Renamed from child_stop.
1425 (_initialize_procfs): Don't add procfs support if we have an
1426 optional procfs and /proc is not accessible.
1427
1428 start-sanitize-gdbtk
1429 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
1430
1431 * gdbtk.tcl: Add button to control mixed source disassembly.
1432 Use text widgets in expr window. The give me more control over
1433 layout.
1434 Add auto-updating of exprs in expression window.
1435 Handle expressions out of scope a bit better.
1436 Make selected window pop up to the top when invoked via the
1437 menubar.
1438 Make copyright message have raised relief.
1439
1440 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
1441 during startup.
1442 end-sanitize-gdbtk
1443
1444 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
1445
1446 * array-rom.c: Add support for most commands.
1447
1448 * monitor.c: Add GDB remote protocol for the hybrid environment on
1449 the Array board.
1450
1451 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
1452
1453 * command.c (show_user_1): Use print_command_line to show a user
1454 defined command (including control structures).
1455
1456 * top.c (init_main): Change documentation for user defined
1457 commands to indicate they may accept up to ten arguments.
1458
1459 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1460
1461 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
1462 `move $s8, $sp' instruction.
1463
1464 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1465
1466 * target.c, target.h (target_signal_from_command): New function.
1467 * infrun.c (handle_command, signals_info), infcmd.c
1468 (signal_command): Use it.
1469 * infrun.c, infcmd.c: Update docstrings for these commands.
1470
1471 * target.h (enum target_signal), target.c (signals), target.c
1472 (target_signal_from_host, target_signal_to_host): Add
1473 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
1474 * config/tm-lynx.h: Define signal numbers for realtime events.
1475
1476 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1477
1478 * dbxread.c (process_one_symbol): Handle N_FUN symbols
1479 for Sun acc 3.0 under SunOS4.
1480
1481 Changes to improve handling of runtime common symbols
1482 under SunOS4.
1483 * minsyms.c (get_symbol_leading_char): New routine to determine
1484 the leading symbol character for an objfile.
1485 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
1486 Use it.
1487 * objfiles.h (rt_common_objfile): New global, points to objfile
1488 containing the runtime common minimal symbols.
1489 * objfiles.c (free_objfile): Mark rt_common_objfile as
1490 unallocated before freeing it.
1491 * solib.c (allocate_rt_common_objfile): New routine to allocate
1492 an objfile for the runtime common minimal symbols.
1493 (solib_add_common_symbols): Allocate an objfile for the runtime
1494 common symbols if necessary and put common symbols into it.
1495 Clean up code and comments.
1496 (solib_add, special_symbol_handling): Cleanup comments regarding
1497 runtime common symbols.
1498 * stabsread.c (scan_file_globals_1): New routine, contains
1499 old scan_file_globals code. Checks if there are any unresolved
1500 global symbols before starting the expensive minimal symbol table
1501 search.
1502 (scan_file_globals): Now calls scan_file_globals_1 for the passed
1503 objfile and eventually for the runtime common objfile. Complains
1504 about any unresolved global symbols and removes them from the
1505 global symbol chain to avoid dangling pointers into the symbol
1506 table if the symbol table is reread.
1507
1508 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
1509
1510 * Makefile.in (install_only uninstall): Indent for clarity.
1511
1512 * core.c (dis_asm_read_memory): Add call to
1513 dis_asm_read_memory_hook to provide alternate way for disassembler
1514 to read memory.
1515
1516 * defs.h: Protect from multiple inclusion. Add decl for
1517 dis_asm_read_memory_hook.
1518
1519 * top.c: Make window startup be the default.
1520 * Add dis_asm_read_memory_hook.
1521
1522 start-sanitize-gdbtk
1523 * gdbtk.c (finish_saving_output): Don't do anything if not saving
1524 output.
1525 * (breakpoint_notify): Don't send null filename to tcl.
1526 * (gdb_eval): New tcl command to eval an expression.
1527 * (gdb_disassemble): New tcl command to do disassembly. This
1528 allows tcl code to choose between exec file and target memeory,
1529 and can also do mixed source and assembly.
1530 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
1531 that more of the environment is set up. Also, create link between
1532 gdb and tcl vars disassemble{-_}from{-_}exec.
1533
1534 * gdbtk.tcl: New expression window support.
1535 * Make assembly window be 80 columns wide.
1536 * Use new disassembly method. Add menu items to select
1537 disassembly from exec file or target.
1538 * Change View menubar item to Options.
1539
1540 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
1541 since they don't exist yet.
1542
1543 * Pop up a copyright window on startup.
1544 end-sanitize-gdbtk
1545
1546 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
1547
1548 * stabsread.c (define_symbol): Handle `a' symbol type used for
1549 reference parameter passed in a register.
1550
1551 start-sanitize-gdbtk
1552 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
1553
1554 * gdbtk.tcl (build_framework): Add standard commands menu, more
1555 windows to standard windows menu.
1556 (not_implemented_yet): Clarify message.
1557 end-sanitize-gdbtk
1558
1559 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
1560
1561 * defs.h: move include tm.h up, so that the type LONGEST can
1562 also based on the target requirement to determine. In this case
1563 target mips64.
1564
1565 * remote-os9k.c (rombug_open): catch exception e in rombug.
1566 * remote-os9k.c (rombug_wait): print message before register display
1567 from rombug.
1568
1569 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1570
1571 * top.c (locate_arg): Call strchr not index.
1572
1573 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
1574
1575 * ch-exp.y (literal): Recognize NULL.
1576 (tuple): Parse simple unlabelled tuples.
1577 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
1578 evaluate brace-initializer-expressions depending on context.
1579 (evaluate_subexp case UNOP_CAST): Pass the target type as
1580 expected type when evaluating the expression.
1581
1582 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
1583 BOOL from TYPE_NAME.
1584 * ch-valprint.c (chill_print_type_scalar): New function, to handle
1585 TYPE_CODE_RANGE better than print_type_scalar does.
1586 (chill_val_print_array_elements): Use above new function.
1587
1588 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
1589
1590 * remote-udi.c (udi_load): Tell symbol_file_add that the
1591 program being loaded is the main program.
1592
1593 For older changes see ChangeLog-94
1594 \f
1595 Local Variables:
1596 mode: indented-text
1597 left-margin: 8
1598 fill-column: 74
1599 version-control: never
1600 End:
This page took 0.076155 seconds and 5 git commands to generate.