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