* parse.c (_initialize_parse): Improve wording of names of
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2
3 * parse.c (_initialize_parse): Improve wording of names of
4 msym_*_symbol_type.
5
6 Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7
8 * config/mips/tm-mips.h (enum mips_fpu_type): New enum.
9 (mips_fpu): Change type to enum mips_fpu_type.
10 (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
11 * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
12 Don't initialize.
13 (mips_fpu_string): New static variable.
14 (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
15 (mips_pop_frame): Likewise.
16 (mips_extract_return_value): Likewise.
17 (mips_store_return_value): Likewise.
18 (mips_set_fpu_command): New static function.
19 (mips_show_fpu_command): New static function.
20 (_initialize_mips_tdep): Change handling of set/show mipsfpu.
21
22 Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23
24 * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
25
26 * parse.c (write_exp_msymbol): Use new variables
27 msym_*_symbol_type as type of msymbol expression.
28 (_initialize_parse): Initialize them.
29
30 Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com>
31
32 General cleanup and simplication of disassembler interface.
33 * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
34 hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
35 m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
36 rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
37 * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
38 had been -pinsn.c files.
39 * Makefile.in (ALLDEPFILES): Remove removed files.
40 (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
41 hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
42 m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
43 rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
44 Remove compile actions.
45 * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
46 vax-tdep.o: Add compile actions.
47 * defs.h (tm_print_insn): New global.
48 * a29k-tdep.c (gdb_print_insn_a29k): New function.
49 (_initialize_a29k_tdep): Rename from _initialize_29k,
50 set tm_print_insn.
51 * alpha-tdep.c (print_insn): Remove.
52 (_initialize_alpha_tdep): Set tm_print_insn.
53 * arm-tdep.c (arm_print_insn): New function, was print_insn
54 in arm-pinsn.c.
55 * convex-tdep.c (convex_print_insn): New function, was print_insn
56 in convex-pinsn.c.
57 * h8300-tdep.c (print_insn): Remove.
58 (gdb_print_insn_h8300): New function.
59 (_initialize_h8300_tdep): New function.
60 * h8500-tdep.c (print_insn): Remove.
61 (_initialize_h8500_tdep): New function.
62 * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
63 * i386-tdep.c (_initialize_i386_tdep): New function.
64 * i960-tdep.c (mem, next_insn): New functions, were in
65 i960-pinsn.c.
66 (_initialize_i960_tdep): Set tm_print_insn.
67 * m68k-tdep.c (_initialize_m68k_tdep): New function.
68 * m88k-tdep.c (_initialize_m88k_tdep): New function.
69 * mips-tdep.c (gdb_print_insn_mips): New function.
70 (_initialize_mips_tdep): Set tm_print_insn.
71 * pyr-tdep.c (pyr_print_insn): New function, was print_insn
72 in pyr-pinsn.c.
73 * rs6000-tdep.c (_initialize_rs6000_tdep): New function.
74 * sh-tdep.c (print_insn): Remove.
75 (gdb_print_insn_sh): New function.
76 (_initialize_sh_tdep): Set tm_print_insn.
77 * sparc-tdep.c (_initialize_sparc_tdep): New function.
78 * w65-tdep.c (print_insn): Remove.
79 (_initialize_w65_tdep): New function.
80 * z8k-tdep.c (print_insn): Remove.
81 (gdb_print_insn_z8k): New function.
82 (_initialize_z8k_tdep): Set tm_print_insn.
83 * printcmd.c (print_insn): New function, generic disassembler.
84 * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
85
86 Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com>
87
88 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
89 and config/a29k/vx29k.mt.
90 * configure.in: add new configuration a29k-*-vxworks.
91 * remote-vx29k.c: new file merged from WRS.
92 * remote-vx.c: merge changes from WRS.
93 * config/a29k/vx29k.mt: new file for new configuration.
94 * config/a29k/tm-vx29k.h: new header file for newconfiguration.
95
96 Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
97
98 * breakpoint.h (disable_breakpoint, enable_breakpoint):
99 New declarations.
100 (enum bpdisp): Change name of 'delete' member to 'del'.
101 (struct bpstat): Changed name to 'bpstats'.
102 * breakpoint.c (disable_breakpoint, enable_breakpoint,
103 breakpoint_chain): Made globally visible.
104 (bpstat_stop_status): Use new name for bpstat.
105 (break_command_1, watch_command_1, catch_command_1,
106 breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
107 instead of 'delete'.
108 (set_breakpoint_sal): New function.
109 * defs.h (registers_changed_hook): New declaration.
110 * infcmd.c (run_stack_dummy): 'delete' is now 'del'.
111 * inflow.c (new_tty): Treat WIN32 in same way as __GO32__
112 * main.c (main): Don't scan options when in WIN32 and exit
113 without entering main loop.
114 * m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
115 * symtab.h (struct symbol, struct partial_symbol): Changed name of
116 member 'class' to 'aclass'.
117 (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
118 * top.c (registers_changed_hook): New definition.
119 * utils.c (quit, notice_quit, initialize_utils): Treate WIN32
120 in same way as __GO32__.
121 * value.h (c_typedef_print): Rename 'new' argument.
122
123 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
124 * configure.in: Suppprt for w65,
125
126
127 Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
128
129 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
130 not stop_pc, to proceed.
131
132 * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
133
134 Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
135
136 * infcmd.c (signal_command): Accept "signal 0"; the change to not
137 accept it was accidental. "handle 0" and "info signal 0" remain
138 illegal, though.
139
140 Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com>
141
142 * Makefile.in (all): Don't make libgdb-files.
143 (libgdb): New action, makes libgdb-files.
144
145 Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
146
147 * stabsread.c (read_enum_type): When pending enum symbols are
148 put into the enum type, they must be inserted in "backwards
149 order, in case we've overflowed a struct pending buffer.
150
151 start-sanitize-gdbtk
152 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
153
154 * gdbtk.c, gdbtk.tcl: Update/add copyright.
155 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
156 including dismiss button, and better error handling.
157 * (create_command_win): Bind button 2 to retrieve selection.
158 end-sanitize-gdbtk
159
160 Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
161
162 * README: Add note about SPARCworks cc release 3.0 and higher.
163
164 Add procfs support for Alpha OSF/1-2.x.
165 * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
166 OSF/1 native support.
167 * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
168 (MUNCH_DEFINE): Removed.
169 * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
170 for procfs support.
171 * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
172 release 2.x and higher, else alpha-osf1.mh, as the procfs support
173 in release 1.x is incomplete.
174 * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
175 * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
176 fill_fpgregset): New routines for procfs support.
177 * inftarg.c (_initialize_inftarg): Don't add ptrace support
178 if we have an optional procfs and /proc is accessible.
179 * procfs.c: Include sys/fault.h and sys/syscall.h before
180 including sys/procfs.h.
181 (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
182 is defined, additionally perform a PIOCSSIG to really terminate
183 the inferior.
184 (create_procinfo): Always return a result.
185 (create_procinfo, do_attach): Don't trace T_IFAULT faults if
186 PROCFS_DONT_TRACE_IFAULT is defined.
187 (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
188 argument to startup_inferior if it is defined.
189 (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
190 of tracing exits from exec system calls. Needed for the user level
191 loader under Alpha OSF/1.
192 (do_detach): Clear any pending signal if we want to detach from
193 a process without a signal.
194 (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
195 don't issue a PIOCSSIG if pr_cursig already contains the signal we
196 intend to set.
197 (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
198 pending signals are numbered from 1 instead of 0.
199 (info_proc_mappings): Increase size of output format for addresses
200 if BFD_HOST_64_BIT is defined.
201 (procfs_stop): Renamed from child_stop.
202 (_initialize_procfs): Don't add procfs support if we have an
203 optional procfs and /proc is not accessible.
204
205 start-sanitize-gdbtk
206 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
207
208 * gdbtk.tcl: Add button to control mixed source disassembly.
209 Use text widgets in expr window. The give me more control over
210 layout.
211 Add auto-updating of exprs in expression window.
212 Handle expressions out of scope a bit better.
213 Make selected window pop up to the top when invoked via the
214 menubar.
215 Make copyright message have raised relief.
216
217 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
218 during startup.
219 end-sanitize-gdbtk
220
221 Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com>
222
223 * array-rom.c: Add support for most commands.
224
225 * monitor.c: Add GDB remote protocol for the hybrid environment on
226 the Array board.
227
228 Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu)
229
230 * command.c (show_user_1): Use print_command_line to show a user
231 defined command (including control structures).
232
233 * top.c (init_main): Change documentation for user defined
234 commands to indicate they may accept up to ten arguments.
235
236 Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
237
238 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
239 `move $s8, $sp' instruction.
240
241 Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
242
243 * target.c, target.h (target_signal_from_command): New function.
244 * infrun.c (handle_command, signals_info), infcmd.c
245 (signal_command): Use it.
246 * infrun.c, infcmd.c: Update docstrings for these commands.
247
248 * target.h (enum target_signal), target.c (signals), target.c
249 (target_signal_from_host, target_signal_to_host): Add
250 TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
251 * config/tm-lynx.h: Define signal numbers for realtime events.
252
253 Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
254
255 * dbxread.c (process_one_symbol): Handle N_FUN symbols
256 for Sun acc 3.0 under SunOS4.
257
258 Changes to improve handling of runtime common symbols
259 under SunOS4.
260 * minsyms.c (get_symbol_leading_char): New routine to determine
261 the leading symbol character for an objfile.
262 (prim_record_minimal_symbol_and_info, install_minimal_symbols):
263 Use it.
264 * objfiles.h (rt_common_objfile): New global, points to objfile
265 containing the runtime common minimal symbols.
266 * objfiles.c (free_objfile): Mark rt_common_objfile as
267 unallocated before freeing it.
268 * solib.c (allocate_rt_common_objfile): New routine to allocate
269 an objfile for the runtime common minimal symbols.
270 (solib_add_common_symbols): Allocate an objfile for the runtime
271 common symbols if necessary and put common symbols into it.
272 Clean up code and comments.
273 (solib_add, special_symbol_handling): Cleanup comments regarding
274 runtime common symbols.
275 * stabsread.c (scan_file_globals_1): New routine, contains
276 old scan_file_globals code. Checks if there are any unresolved
277 global symbols before starting the expensive minimal symbol table
278 search.
279 (scan_file_globals): Now calls scan_file_globals_1 for the passed
280 objfile and eventually for the runtime common objfile. Complains
281 about any unresolved global symbols and removes them from the
282 global symbol chain to avoid dangling pointers into the symbol
283 table if the symbol table is reread.
284
285 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
286
287 * Makefile.in (install_only uninstall): Indent for clarity.
288
289 * core.c (dis_asm_read_memory): Add call to
290 dis_asm_read_memory_hook to provide alternate way for disassembler
291 to read memory.
292
293 * defs.h: Protect from multiple inclusion. Add decl for
294 dis_asm_read_memory_hook.
295
296 * top.c: Make window startup be the default.
297 * Add dis_asm_read_memory_hook.
298
299 start-sanitize-gdbtk
300 * gdbtk.c (finish_saving_output): Don't do anything if not saving
301 output.
302 * (breakpoint_notify): Don't send null filename to tcl.
303 * (gdb_eval): New tcl command to eval an expression.
304 * (gdb_disassemble): New tcl command to do disassembly. This
305 allows tcl code to choose between exec file and target memeory,
306 and can also do mixed source and assembly.
307 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
308 that more of the environment is set up. Also, create link between
309 gdb and tcl vars disassemble{-_}from{-_}exec.
310
311 * gdbtk.tcl: New expression window support.
312 * Make assembly window be 80 columns wide.
313 * Use new disassembly method. Add menu items to select
314 disassembly from exec file or target.
315 * Change View menubar item to Options.
316
317 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
318 since they don't exist yet.
319
320 * Pop up a copyright window on startup.
321 end-sanitize-gdbtk
322
323 Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu)
324
325 * stabsread.c (define_symbol): Handle `a' symbol type used for
326 reference parameter passed in a register.
327
328 start-sanitize-gdbtk
329 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
330
331 * gdbtk.tcl (build_framework): Add standard commands menu, more
332 windows to standard windows menu.
333 (not_implemented_yet): Clarify message.
334 end-sanitize-gdbtk
335
336 Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com>
337
338 * defs.h: move include tm.h up, so that the type LONGEST can
339 also based on the target requirement to determine. In this case
340 target mips64.
341
342 * remote-os9k.c (rombug_open): catch exception e in rombug.
343 * remote-os9k.c (rombug_wait): print message before register display
344 from rombug.
345
346 Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
347
348 * top.c (locate_arg): Call strchr not index.
349
350 Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
351
352 * ch-exp.y (literal): Recognize NULL.
353 (tuple): Parse simple unlabelled tuples.
354 * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
355 evaluate brace-initializer-expressions depending on context.
356 (evaluate_subexp case UNOP_CAST): Pass the target type as
357 expected type when evaluating the expression.
358
359 * ch-typeprint.c (chill_type_print_base): Get names of PTR and
360 BOOL from TYPE_NAME.
361 * ch-valprint.c (chill_print_type_scalar): New function, to handle
362 TYPE_CODE_RANGE better than print_type_scalar does.
363 (chill_val_print_array_elements): Use above new function.
364
365 Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com>
366
367 * remote-udi.c (udi_load): Tell symbol_file_add that the
368 program being loaded is the main program.
369
370 For older changes see ChangeLog-94
371 \f
372 Local Variables:
373 mode: indented-text
374 left-margin: 8
375 fill-column: 74
376 version-control: never
377 End:
This page took 0.038078 seconds and 5 git commands to generate.