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