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