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