Commit | Line | Data |
---|---|---|
a76ef70a SG |
1 | Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com) |
2 | ||
3 | * core.c (dis_asm_read_memory), defs.h, gdbtk.c (gdb_disassemble), | |
4 | top.c : Get rid of dis_asm_read_memory_hook. We can now call the | |
5 | disassemblers directly and have no need for this hook anymore. | |
6 | * defs.h, printcmd.c: Make print_insn be static. | |
7 | ||
8 | * ser-go32.c (dos_comisr): Make this 8 bit clean. | |
9 | * (dos_open dos_close): Allow multiple opens to the same device. | |
10 | Use a ref count to prevent unwanted deallocations. | |
11 | * sparcl-tdep.c: Put #ifdefs around all socket stuff to make GO32 | |
12 | happy. | |
13 | * (sparclite_ops): Switch to download_stratum. | |
14 | * target.h (enum strata): Move download_stratum before | |
15 | process_stratum so that executable targets get pushed on top of | |
16 | download targets. | |
17 | ||
1b552670 RS |
18 | Thu Feb 2 19:02:45 1995 Rob Savoye <rob@darkstar.cygnus.com> |
19 | ||
20 | * array-rom.c: Remove the non GDB remote protocol config stuff. | |
21 | ||
22 | * monitor.c: All reading/writing functions for memory and | |
23 | registers work. | |
24 | ||
75a5da5f KH |
25 | Thu Feb 2 16:11:04 1995 Kung Hsu <kung@mexican.cygnus.com> |
26 | ||
27 | * config/arc/.Sanitize: New file for config/arc directory. | |
28 | * config/arc/arc.mt: new target makefile for arc processor. | |
29 | * config/arc/tm-arc.h: new target header for arc processor. | |
30 | * config/arc/go32.mh: new go32 host makefile for arc processor. | |
31 | * config/arc/xm-go32.h: new go32 host header for arc processor. | |
32 | * arc-tdep.c: new target dependent codes for arc processor. | |
33 | * remote-arc.c: new file for arc-specific protocol through | |
34 | parallel line. | |
35 | * ser-go32-para.c: new file for go32 parallel port communication. | |
36 | * .Sanitize: sanitize arc specific files out. | |
37 | ||
2d144441 SS |
38 | Thu Feb 2 13:58:40 1995 Stan Shebs <shebs@andros.cygnus.com> |
39 | ||
40 | * Makefile.in (VERSION): Bump to 4.13.2. | |
41 | ||
42 | Thu Feb 2 07:27:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com) | |
43 | ||
44 | Fix compiler warnings: | |
45 | * remote-e7000.c (printf_e7000debug): Rename to puts_e7000debug | |
46 | and have the caller do the sprintf. Saves us from varargs hell. | |
47 | (normal): Define before use. | |
48 | * remote-e7000.c: Reindent a few things. | |
49 | ||
8a329002 | 50 | Wed Feb 1 21:16:42 1995 Per Bothner <bothner@kalessin.cygnus.com> |
6073b8de | 51 | |
8a329002 PB |
52 | * f-typeprint.c (f_type_print_varspec_suffix): Print array index |
53 | ranges in reverse order. | |
54 | * f-valprint.c (f77_create_arrayprint_offset_tbl): Fix calculation. | |
55 | ||
56 | * eval.c (evaluate_subscript): Don't call value_subscript, since | |
57 | it adjusts for lower bound and enforces ranges. | |
58 | ||
59 | * expression.h (exp_code): Remove MULTI_F77_SUBSCRIPT, OP_F77_SUBSTR. | |
60 | * eval.c, parse.c: Removed uses of removed opcodes. | |
ead95f8a PB |
61 | * eval.c (evaluate_subexp): Clean up handling of |
62 | OP_UNDETERMINED_ARGLIST (no backtracking, more general). | |
63 | ||
64 | * f-valprint.c (f_val_print): Print TYPE_CODE_STRING using | |
65 | LA_PRINT_STRING, and not val_print_string (which reads from inferior). | |
66 | ||
67 | * ch-lang.c (chill_is_varying_struct), ch-lang.h: Remve function | |
68 | duplicate function made redundant by chill_varying_type. | |
69 | ||
70 | Re-write of f77 string and complex number support: | |
71 | ||
72 | * language.h (struct language_defn): New fields string_lower_bound | |
73 | and string_char_type. | |
74 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn), | |
75 | language.c (unknown_language_defn, auto_language_defn, | |
76 | local_language_defn), m2-lang.c (m2_language_defn), f-lang.c | |
77 | (f_language_defn), ch-lang.c (chill_language_defn): Set new fields. | |
78 | * gdbtypes.c (create_string_type): Use new string_char_type field. | |
79 | * valops.c (value_string): Use new string_lower_bound field. | |
80 | ||
81 | * defs.h (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT): Removed. | |
82 | * f-lang.c (f_create_fundamental_type, _initialize_f_language), | |
83 | m2-lang.c (m2_create_fundamental_type), | |
84 | gdbtypes.c (_initialize_gdbtypes): Set TYPE_TARGET_TYPE of complex | |
85 | types. Set their TYPE_CODEs to TYPE_CODE_COMPLEX. | |
86 | * mdebugread.c (mdebug_type_complex, mdebug_type_double_complex): | |
87 | Removed. Use builtin_type_complex and builtin_type_double_complex. | |
88 | ||
89 | * gdbtypes.h (enum type_code): Removed TYPE_CODE_LITERAL_STRING | |
90 | and TYPE_CODE_LITERAL_COMPLEX. | |
91 | * c-typeprint.c, f-typeprint.c, f-valprint.c, eval.c: Removed uses of | |
92 | TYPE_CODE_LITERAL_STRING and TYPE_CODE_LITERAL_COMPLEX. | |
93 | * gdbtypes.c, gdbtypes.h (f77_create_literal_complex_type, | |
94 | f77_create_literal_string_type): Removed. | |
95 | * value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_MEMADDR, | |
96 | VALUE_SUBSTRING_MYADDR): Removed. | |
97 | ||
98 | * expression.h (enum exp_opcode): Rename OP_F77_LITERAL_COMPLEX to | |
99 | OP_COMPLEX. | |
100 | * parse.c: Update accordingly. | |
101 | ||
102 | * f-valprint.c (f77_print_cmplx): Removed. | |
103 | (f_val_print case TYPE_CODE_COMPLEX): Re-write to use print_floating. | |
104 | ||
105 | * f-exp.y (STRING_LITERAL): Use OP_STRING instead of OP_ARRAY. | |
106 | * eval.c (evaluate_subexp): For case OP_ARRAY, don't call | |
107 | f77_value_literal_string. | |
108 | * valops.c, value.h (f77_value_literal_string, f77_value_substring, | |
109 | f77_assign_from_literal_string, f77_assign_from_literal_complex): | |
110 | Removed. | |
111 | (value_assign): No longer need to handle literal types. | |
112 | * valops.c (f77_value_literal_complex), value.h: Re-written and | |
113 | renamed to value_literal_complex. Last arg is now a (complex) type. | |
114 | * valops.c (f77_cast_into_complex): Re-written and renamed to | |
115 | cast_into_complex. | |
116 | * eval.c (evaluate_subexp): Update accordingly. | |
117 | ||
6073b8de PB |
118 | * ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't |
119 | print address for non-'s'-formats. | |
120 | * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead | |
121 | of chill_is_varying_struct. | |
122 | ||
e3be225e SS |
123 | Wed Feb 1 13:27:33 1995 Stan Shebs <shebs@andros.cygnus.com> |
124 | ||
125 | gcc -Wall lint. | |
126 | * alpha-tdep.c (alpha_in_lenient_prologue): Comment out. | |
127 | (after_prologue): Remove unused local b. | |
128 | * procfs.c (thread.h): Include. | |
129 | (pr_flag_table, pr_why_table, faults_table, siginfo_table): Use | |
130 | nested braces in initializer. | |
131 | * top.c (initialize_targets, initialize_utils): Declare. | |
132 | (locate_arg, insert_args): Add parens around tested assignments. | |
133 | * remote-utils.c (sr_scan_args): Remove decl of strtol. | |
134 | * remote.c (thread.h): Include. | |
135 | (remote_wait): Remove unused local p2. | |
136 | * sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of | |
137 | registers array. | |
138 | ||
139 | defs.h (stdlib.h): Include. | |
140 | (exit, perror, atoi, qsort, memcpy, memcmp): Don't declare. | |
141 | (fclose, atof, malloc, realloc, free, strchr, strrchr, strstr, | |
142 | strtok, strerror): Don't specify parameter types in declaration. | |
143 | ||
f91a9e05 PB |
144 | Wed Feb 1 12:23:57 1995 Per Bothner <bothner@kalessin.cygnus.com> |
145 | ||
146 | * ch-exp.y (value_string_element, string_primitive_value, | |
147 | start_element, left_element, right_element, slice_size, | |
148 | lower_element, upper_element, first_element): Removed. | |
149 | (value_string_slice, value_array_slice): Replaced by ... | |
150 | (slice): New non-terminal, with working slice support. | |
151 | (primitive_value_lparen, rparen): New non-terminals. | |
152 | (maybe_tuple_elements): New non-terminal, to allow empty tuples. | |
153 | (idtokentab): Added "up". | |
154 | ||
155 | * value.h (COERCE_VARYING_ARRAY): New macro. | |
156 | * valarith.c (value_subscript): Use it. | |
157 | * valops.c (value_cast): Likewise. Also, do nothing if already | |
158 | correct type, and allow converting from/to range to/from scalar. | |
159 | ||
160 | * valops.c, value.h (varying_to_slice, value_slice): New functions. | |
161 | * eval.c (OP_ARRAY): Add cast for array element. | |
162 | * expression.h (TERNOP_SLICE, TERNOP_SLICE_COUNT): New exp_opcodes. | |
163 | * valops.c (chill_varying_type): Moved function frp, here ... | |
164 | * gdbtypes.c (chill_varying_type), gdbtypes.h: ... to here. | |
165 | * parse.c (length_of_subexp, prefixify_subexp): Add support | |
166 | for TERNOP_SLICE, TERNOP_SLICE_COUNT. | |
167 | * expprint.c (print_subexp, dump_expression): Likewise. | |
168 | * eval.c (evaluate_subexp): Likewise. | |
169 | ||
170 | * eval.c (evaluate_subexp case MULTI_SUBSCRIPT): Don't call | |
171 | value_x_binop on a Chill varying string. | |
172 | ||
23676ab8 JK |
173 | Tue Jan 31 13:51:53 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
174 | ||
175 | * config/m68k/monitor.mt, | |
176 | config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put | |
177 | depfiles in TDEPFILES not REMOTE_O. | |
178 | ||
ccbae889 SC |
179 | Tue Jan 31 11:14:44 1995 Steve Chamberlain <sac@splat> |
180 | ||
181 | From nigel@algor.co.uk. | |
182 | * ser-go32.c (dos_close): Don't crash if scb null. | |
183 | (dos_sendbreak): New function. | |
184 | (dos_ops): Point to dos_sendbreak. | |
185 | (dos_info): Calculate COM number correctly. | |
186 | ||
a81ce07d JK |
187 | Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
188 | ||
189 | * xcoffread.c (process_xcoff_symbol): Use new variables | |
190 | func_symbol_type and var_symbol_type as type of functions and | |
191 | variables which don't have any stabs associated with them. | |
192 | Reindent most of function. | |
193 | (_initialize_xcoffread): Initialize *_symbol_type. | |
194 | ||
195 | * xcoffread.c (read_xcoff_symtab): Reindent most of function. | |
196 | Put C_HIDEXT symbols in the minimal symbols, rather than ignoring | |
197 | them (this part commented out as I didn't quite get it to work). | |
198 | (cs_to_section, find_targ_sec): New functions, to support above code. | |
199 | * xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is | |
200 | actually present. | |
201 | ||
0e887539 | 202 | Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com) |
e3be225e | 203 | start-sanitize-gdbtk |
78daa95e SG |
204 | * gdbtk.tcl (create_file_win): Disable old popup menu for source |
205 | window. | |
e3be225e | 206 | end-sanitize-gdbtk |
0e887539 SG |
207 | * sparcl-tdep.c: Add `sparclite' target for doing serial and udp |
208 | downloads to SPARClite demo boards. | |
209 | ||
210 | Sun Jan 29 09:43:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com) | |
211 | ||
212 | * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had | |
213 | no hope of working as is for a long time (in particular, shebs' 27 | |
214 | Jan 95 change confuses the issue further--target_read_memory and | |
215 | xfer_core_file do *not* do the same thing in this context). | |
216 | Revise comment. | |
217 | ||
de537409 PS |
218 | Sat Jan 28 13:40:46 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
219 | ||
220 | * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for | |
221 | procedure linkage table symbols, it is no longer set due to the | |
222 | Jan 6 BFD change in bfd/elfcode.h. | |
223 | ||
06c41b39 SS |
224 | Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com> |
225 | ||
f22661ee SS |
226 | * top.c (use_windows): Clarify comments. |
227 | ||
0d2d8412 SS |
228 | * convex-tdep.c (xfer_core_file): Comment out. |
229 | * config/convex/tm-convex.h (XFER_CORE_FILE): Remove. | |
230 | * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file | |
231 | references to target_read_memory. | |
232 | * gdbcore.h (xfer_core_file, core_open, core_detach): Remove | |
233 | declarations. | |
234 | * corelow.c (core_open, core_detach): Make static. | |
235 | ||
06c41b39 SS |
236 | * arm-tdep.c: Make it compile. |
237 | (exec_file_command, xfer_core_file): Comment out. | |
238 | (arm_print_insn): Remove, now in libopcodes. | |
239 | (skip_prologue): Comment out most of body. | |
240 | (arm_frame_find_saved_regs): Move here from tm-arm.h. | |
241 | (_initialize_arm_tdep): Set tm_print_insn. | |
242 | * config/arm/tm-arm.h: Remove old refs to first_object_file_end. | |
243 | (XFER_CORE_FILE): Remove. | |
244 | (FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs. | |
245 | ||
0d6a571b JK |
246 | Fri Jan 27 08:48:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
247 | ||
248 | * Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in. | |
249 | ||
bf644f8f JK |
250 | Thu Jan 26 18:24:41 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
251 | ||
606ae2ba JK |
252 | * symtab.c (find_pc_line): When subtracting one to get a line |
253 | number, make sure not to end up with zero. | |
254 | ||
bf644f8f JK |
255 | * remote-vx.c: Revert all of Kung's changes of 16 Jan. The |
256 | problems with those changes were (a) the file didn't compile, (b) | |
257 | they changed memset to bzero--memset is correct, (c) they took out | |
258 | code to deal with boards lacking floating point, (d) who knows | |
259 | what I didn't discover in a quick read. | |
260 | ||
c746aa85 SG |
261 | Thu Jan 26 17:32:54 1995 Stu Grossman (grossman@cygnus.com) |
262 | ||
263 | * sparcl-tdep.c: Clean up formatting and indentation. | |
264 | ||
d2d0e51d SC |
265 | Thu Jan 26 10:49:59 1995 Steve Chamberlain <sac@splat> |
266 | ||
267 | * remote-hms.c (hms_ops): Change ref of hr_load_image | |
268 | to gr_load_image. | |
03fc5a0b SC |
269 | (dcache_flush, dcache_hit, dcache_value, dcache_fetch, |
270 | dcache_poke, dcache_init): Deleted. | |
271 | (hms_open, hms_resume, hms_fetch_word, hms_store_word): | |
272 | Use dcache routines provided by remote-util.h | |
d2d0e51d | 273 | |
97544048 MM |
274 | Thu Jan 26 12:08:31 1995 Michael Meissner <meissner@cygnus.com> |
275 | ||
276 | * configure.in: Add support for powerpc-*-eabi. | |
277 | ||
278 | * powerpc/tm-ppc-eabi.h, powerpc/pcc-eabi.mt: New files for | |
279 | PowerPC support. | |
280 | ||
acc4efde PB |
281 | Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com> |
282 | ||
283 | * language.h (struct language_defn): New field c_style_arrays. | |
284 | * language.c (unknown_language_defn, auto_language_defn, | |
285 | local_language_defn), c-lang.c (c_language_defn, cplus_language_defn, | |
286 | asm_language_defn): Set c_style_arrays to true. | |
287 | * m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn), | |
288 | f-lang.c (f_language_defn): Set c_style_arrays to false. | |
289 | * valops.c (value_string): If c_style_array is not set, | |
290 | allocate string in gdb (not inferior) using allocate_value. | |
291 | ||
292 | * value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce): | |
293 | Only call value_coerce_array if current_language->c_style_arrays. | |
294 | * values.c: Add #include "language.h". (Needed for COERCE_ARRAY.) | |
295 | ||
296 | * valops.c (chill_varying_type): New predicate. | |
297 | * valops.c (value_cast): Support assigning a fixed string or array | |
298 | to a variable string/array structure. | |
299 | ||
300 | * valarith.c (value_subscripted_rvalue): Extra parameter lowerbound. | |
301 | Check index>=lowerbound, and then add lowerbound to index here, | |
302 | instead of in caller. Generalize to arbitrary lval_types. | |
303 | (value_subscript): Use enhanced value_subscripted_rvalue if | |
304 | c_style_arrays is false (and index is in range). | |
305 | ||
b66051ec SG |
306 | Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com) |
307 | ||
308 | * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be | |
309 | found. | |
310 | * gdbtk.tcl: Initialize expr_update_list() to prevent errors when | |
311 | popping up expression window for the first time. | |
312 | ||
ee3a45e7 PB |
313 | Wed Jan 25 18:13:14 1995 Per Bothner <bothner@kalessin.cygnus.com> |
314 | ||
315 | * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset: | |
316 | TYPE_LENGTH is length in bytes, not bits. | |
317 | ||
5024a43f JK |
318 | Wed Jan 25 08:19:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
319 | ||
320 | * infrun.c (proceed): Flush stdout before resuming inferior. | |
321 | * infcmd.c (step_1), annotate.c (annotate_starting): | |
322 | Don't bother to flush here. | |
323 | ||
dc192b86 JL |
324 | Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu) |
325 | ||
326 | * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled | |
327 | by an ill-advised global search and replace. | |
328 | ||
c81a3fa9 SG |
329 | Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com) |
330 | ||
8e5bc49f SG |
331 | * gdbtk.tcl (create_registers_window): Work around a radiobutton |
332 | widget bug to make Options|Natural button work. | |
333 | ||
c81a3fa9 SG |
334 | * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and |
335 | g++ caused by out-of-order pc's. | |
336 | * gdbtk.tcl (files_command): Remove duplicate file names. Also, | |
337 | add scrollbar. | |
338 | ||
6bd7d9fa SG |
339 | Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com) |
340 | ||
341 | * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the | |
342 | doc! | |
343 | ||
6d34c236 PB |
344 | Mon Jan 23 13:11:46 1995 Per Bothner <bothner@kalessin.cygnus.com> |
345 | ||
346 | Add support for Chill bitstring literals (e.h. H'FF00'). | |
347 | * ch-exp.y (match_bitstring_literal): Fix for proper endianness. | |
348 | * expprint.c (print_subexp): Don't call error on OP_BITSTRING, | |
349 | just print B'<unimlemented>'. | |
350 | * gdbtypes.c (create_set_type): Fix bug in length calculation. | |
351 | * valops.c, value.h (value_bitstring): New function. | |
352 | * eval.c (evaluate_subexp): Implement support for OP_BITSTRING. | |
353 | ||
354 | * ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC, | |
355 | check that return type is non-void, and print in proper Chill syntax. | |
356 | ||
ce51845b RS |
357 | Mon Jan 23 12:20:34 1995 Rob Savoye <rob@darkstar.cygnus.com> |
358 | ||
359 | * Makefile.in: Remove references to remote-mon.c. | |
360 | * remote-mon.c: remove. Replaced by rom68k-rom.c. | |
361 | * rom68k-rom.c: Support for Rom68k monitor. | |
362 | ||
a9c67591 JK |
363 | Mon Jan 23 10:50:57 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
364 | ||
365 | * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to | |
366 | gcc/ch/runtime not chillrt, since that is where the chill runtime | |
367 | lives now. | |
368 | ||
0c699ac1 SC |
369 | Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat> |
370 | ||
371 | * remote-hms.c (hms_load): Delete. | |
372 | (target_ops): Use hr_load_image. | |
373 | ||
374 | * remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops): | |
375 | Define memory_insert/remove_breakpoint. | |
376 | * xm-go32.h: Remove redundant SIGs. | |
377 | ||
378 | Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat> | |
379 | ||
380 | * ser-go32.c: Rewritten by nigel@algor.co.uk. | |
381 | ||
dcda44a0 PB |
382 | Fri Jan 20 15:23:55 1995 Per Bothner <bothner@kalessin.cygnus.com> |
383 | ||
384 | * expression.h (OP_LABELED): New operator, for Chill | |
385 | labeled structre tuples. | |
386 | * ch-exp.y (tuple_element, named_record_element, tuple_elements): | |
387 | New non-terminals, to handle labeled structure tuples. | |
388 | (tuple): Re-define using tuple_elements. | |
389 | * eval.c (evaluate_labeled_field_init): New function, to handle | |
390 | initialization of structure fields, possibly using OP_LABELED. | |
391 | (evaluate_subexp): Use it. | |
392 | * expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax | |
393 | for Chill. Handled OP_LABELED. | |
394 | * parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED. | |
395 | ||
396 | * eval.c (evaluate_subexp): Handle Chill Powerset tuples. | |
397 | * valarith.c (value_bit_index): Just treat bitstring as represented | |
398 | by an array of bytes. Alignment is handled by compiler. | |
399 | ||
400 | Wed Jan 18 19:00:29 1995 Stan Shebs <shebs@andros.cygnus.com> | |
401 | ||
402 | * h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info). | |
403 | * sh-tdep.c (gdb_print_insn_sh): Ditto. | |
404 | ||
6bbc99e3 KH |
405 | Wed Jan 18 11:25:43 1995 Kung Hsu <kung@mexican.cygnus.com> |
406 | ||
407 | * remote-os9k.c (rombug_open): Fix a bug in exception handling | |
408 | command. | |
409 | * remote-os9k.c (rombug_write_inferior_memory): reset buffer after | |
410 | write. | |
411 | ||
eedb3363 JK |
412 | Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
413 | ||
414 | * parse.c (_initialize_parse): Improve wording of names of | |
415 | msym_*_symbol_type. | |
416 | ||
daa4c5f8 ILT |
417 | Tue Jan 17 14:00:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> |
418 | ||
419 | * config/mips/tm-mips.h (enum mips_fpu_type): New enum. | |
420 | (mips_fpu): Change type to enum mips_fpu_type. | |
421 | (FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE. | |
422 | * mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type. | |
423 | Don't initialize. | |
424 | (mips_fpu_string): New static variable. | |
425 | (mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE. | |
426 | (mips_pop_frame): Likewise. | |
427 | (mips_extract_return_value): Likewise. | |
428 | (mips_store_return_value): Likewise. | |
429 | (mips_set_fpu_command): New static function. | |
430 | (mips_show_fpu_command): New static function. | |
431 | (_initialize_mips_tdep): Change handling of set/show mipsfpu. | |
432 | ||
3fb93d86 JK |
433 | Tue Jan 17 09:48:38 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
434 | ||
5ad32be2 JK |
435 | * a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info). |
436 | ||
3fb93d86 JK |
437 | * parse.c (write_exp_msymbol): Use new variables |
438 | msym_*_symbol_type as type of msymbol expression. | |
439 | (_initialize_parse): Initialize them. | |
440 | ||
18b46e7c SS |
441 | Mon Jan 16 18:11:03 1995 Stan Shebs <shebs@andros.cygnus.com> |
442 | ||
443 | General cleanup and simplication of disassembler interface. | |
444 | * a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c, | |
445 | hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c, | |
446 | m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c, | |
447 | rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove. | |
448 | * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files, | |
449 | had been -pinsn.c files. | |
450 | * Makefile.in (ALLDEPFILES): Remove removed files. | |
451 | (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o, | |
452 | hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o, | |
453 | m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o, | |
454 | rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o): | |
455 | Remove compile actions. | |
456 | * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o, | |
457 | vax-tdep.o: Add compile actions. | |
458 | * defs.h (tm_print_insn): New global. | |
459 | * a29k-tdep.c (gdb_print_insn_a29k): New function. | |
460 | (_initialize_a29k_tdep): Rename from _initialize_29k, | |
461 | set tm_print_insn. | |
462 | * alpha-tdep.c (print_insn): Remove. | |
463 | (_initialize_alpha_tdep): Set tm_print_insn. | |
464 | * arm-tdep.c (arm_print_insn): New function, was print_insn | |
465 | in arm-pinsn.c. | |
466 | * convex-tdep.c (convex_print_insn): New function, was print_insn | |
467 | in convex-pinsn.c. | |
468 | * h8300-tdep.c (print_insn): Remove. | |
469 | (gdb_print_insn_h8300): New function. | |
470 | (_initialize_h8300_tdep): New function. | |
471 | * h8500-tdep.c (print_insn): Remove. | |
472 | (_initialize_h8500_tdep): New function. | |
473 | * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn. | |
474 | * i386-tdep.c (_initialize_i386_tdep): New function. | |
475 | * i960-tdep.c (mem, next_insn): New functions, were in | |
476 | i960-pinsn.c. | |
477 | (_initialize_i960_tdep): Set tm_print_insn. | |
478 | * m68k-tdep.c (_initialize_m68k_tdep): New function. | |
479 | * m88k-tdep.c (_initialize_m88k_tdep): New function. | |
480 | * mips-tdep.c (gdb_print_insn_mips): New function. | |
481 | (_initialize_mips_tdep): Set tm_print_insn. | |
482 | * pyr-tdep.c (pyr_print_insn): New function, was print_insn | |
483 | in pyr-pinsn.c. | |
484 | * rs6000-tdep.c (_initialize_rs6000_tdep): New function. | |
485 | * sh-tdep.c (print_insn): Remove. | |
486 | (gdb_print_insn_sh): New function. | |
487 | (_initialize_sh_tdep): Set tm_print_insn. | |
488 | * sparc-tdep.c (_initialize_sparc_tdep): New function. | |
489 | * w65-tdep.c (print_insn): Remove. | |
490 | (_initialize_w65_tdep): New function. | |
491 | * z8k-tdep.c (print_insn): Remove. | |
492 | (gdb_print_insn_z8k): New function. | |
493 | (_initialize_z8k_tdep): Set tm_print_insn. | |
494 | * printcmd.c (print_insn): New function, generic disassembler. | |
495 | * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. | |
496 | ||
83d9bb14 KH |
497 | Mon Jan 16 15:43:29 1995 Kung Hsu <kung@mexican.cygnus.com> |
498 | ||
499 | * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h, | |
500 | and config/a29k/vx29k.mt. | |
501 | * configure.in: add new configuration a29k-*-vxworks. | |
502 | * remote-vx29k.c: new file merged from WRS. | |
503 | * remote-vx.c: merge changes from WRS. | |
504 | * config/a29k/vx29k.mt: new file for new configuration. | |
505 | * config/a29k/tm-vx29k.h: new header file for newconfiguration. | |
506 | ||
16041d53 SC |
507 | Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat> |
508 | ||
509 | * breakpoint.h (disable_breakpoint, enable_breakpoint): | |
510 | New declarations. | |
511 | (enum bpdisp): Change name of 'delete' member to 'del'. | |
512 | (struct bpstat): Changed name to 'bpstats'. | |
513 | * breakpoint.c (disable_breakpoint, enable_breakpoint, | |
514 | breakpoint_chain): Made globally visible. | |
515 | (bpstat_stop_status): Use new name for bpstat. | |
516 | (break_command_1, watch_command_1, catch_command_1, | |
517 | breakpoint_auto_delete, denable_delete_breakpoint): Use 'del' | |
518 | instead of 'delete'. | |
519 | (set_breakpoint_sal): New function. | |
520 | * defs.h (registers_changed_hook): New declaration. | |
521 | * infcmd.c (run_stack_dummy): 'delete' is now 'del'. | |
522 | * inflow.c (new_tty): Treat WIN32 in same way as __GO32__ | |
523 | * main.c (main): Don't scan options when in WIN32 and exit | |
524 | without entering main loop. | |
525 | * m2-exp.y (m2_elx): Member 'class' is now 'aclass'. | |
526 | * symtab.h (struct symbol, struct partial_symbol): Changed name of | |
527 | member 'class' to 'aclass'. | |
528 | (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change. | |
529 | * top.c (registers_changed_hook): New definition. | |
530 | * utils.c (quit, notice_quit, initialize_utils): Treate WIN32 | |
531 | in same way as __GO32__. | |
532 | * value.h (c_typedef_print): Rename 'new' argument. | |
533 | ||
be21628d SC |
534 | * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files. |
535 | * configure.in: Suppprt for w65, | |
536 | ||
537 | ||
22b1c54a JK |
538 | Sat Jan 14 11:18:11 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
539 | ||
8248d21b JK |
540 | * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1, |
541 | not stop_pc, to proceed. | |
542 | ||
22b1c54a JK |
543 | * eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL. |
544 | ||
b5088d10 JK |
545 | Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
546 | ||
547 | * infcmd.c (signal_command): Accept "signal 0"; the change to not | |
548 | accept it was accidental. "handle 0" and "info signal 0" remain | |
549 | illegal, though. | |
550 | ||
218d43e5 SS |
551 | Fri Jan 13 15:19:01 1995 Stan Shebs <shebs@andros.cygnus.com> |
552 | ||
553 | * Makefile.in (all): Don't make libgdb-files. | |
554 | (libgdb): New action, makes libgdb-files. | |
555 | ||
0f8631fb PB |
556 | Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com> |
557 | ||
558 | * stabsread.c (read_enum_type): When pending enum symbols are | |
559 | put into the enum type, they must be inserted in "backwards | |
560 | order, in case we've overflowed a struct pending buffer. | |
561 | ||
218d43e5 | 562 | start-sanitize-gdbtk |
4604b34c SG |
563 | Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com) |
564 | ||
218d43e5 | 565 | * gdbtk.c, gdbtk.tcl: Update/add copyright. |
4604b34c SG |
566 | * gdbtk.tcl (build_framework): Several fixes for filespec widget, |
567 | including dismiss button, and better error handling. | |
568 | * (create_command_win): Bind button 2 to retrieve selection. | |
218d43e5 | 569 | end-sanitize-gdbtk |
4604b34c | 570 | |
2592eef8 PS |
571 | Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
572 | ||
573 | * README: Add note about SPARCworks cc release 3.0 and higher. | |
574 | ||
575 | Add procfs support for Alpha OSF/1-2.x. | |
576 | * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic | |
577 | OSF/1 native support. | |
578 | * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly. | |
579 | (MUNCH_DEFINE): Removed. | |
580 | * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files | |
581 | for procfs support. | |
582 | * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1 | |
583 | release 2.x and higher, else alpha-osf1.mh, as the procfs support | |
584 | in release 1.x is incomplete. | |
585 | * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh. | |
586 | * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset, | |
587 | fill_fpgregset): New routines for procfs support. | |
588 | * inftarg.c (_initialize_inftarg): Don't add ptrace support | |
589 | if we have an optional procfs and /proc is accessible. | |
590 | * procfs.c: Include sys/fault.h and sys/syscall.h before | |
591 | including sys/procfs.h. | |
592 | (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL | |
593 | is defined, additionally perform a PIOCSSIG to really terminate | |
594 | the inferior. | |
595 | (create_procinfo): Always return a result. | |
596 | (create_procinfo, do_attach): Don't trace T_IFAULT faults if | |
597 | PROCFS_DONT_TRACE_IFAULT is defined. | |
598 | (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as | |
599 | argument to startup_inferior if it is defined. | |
600 | (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead | |
601 | of tracing exits from exec system calls. Needed for the user level | |
602 | loader under Alpha OSF/1. | |
603 | (do_detach): Clear any pending signal if we want to detach from | |
604 | a process without a signal. | |
605 | (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined, | |
606 | don't issue a PIOCSSIG if pr_cursig already contains the signal we | |
607 | intend to set. | |
608 | (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the | |
609 | pending signals are numbered from 1 instead of 0. | |
610 | (info_proc_mappings): Increase size of output format for addresses | |
611 | if BFD_HOST_64_BIT is defined. | |
612 | (procfs_stop): Renamed from child_stop. | |
613 | (_initialize_procfs): Don't add procfs support if we have an | |
614 | optional procfs and /proc is not accessible. | |
615 | ||
218d43e5 | 616 | start-sanitize-gdbtk |
724498fd SG |
617 | Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com) |
618 | ||
280c564c | 619 | * gdbtk.tcl: Add button to control mixed source disassembly. |
218d43e5 | 620 | Use text widgets in expr window. The give me more control over |
280c564c | 621 | layout. |
218d43e5 SS |
622 | Add auto-updating of exprs in expression window. |
623 | Handle expressions out of scope a bit better. | |
624 | Make selected window pop up to the top when invoked via the | |
280c564c | 625 | menubar. |
218d43e5 | 626 | Make copyright message have raised relief. |
280c564c | 627 | |
724498fd SG |
628 | * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl |
629 | during startup. | |
218d43e5 | 630 | end-sanitize-gdbtk |
724498fd | 631 | |
b04a78d4 RS |
632 | Wed Jan 11 17:53:26 1995 Rob Savoye <rob@darkstar.cygnus.com> |
633 | ||
634 | * array-rom.c: Add support for most commands. | |
635 | ||
636 | * monitor.c: Add GDB remote protocol for the hybrid environment on | |
637 | the Array board. | |
638 | ||
b47ae8fb JL |
639 | Wed Jan 11 00:44:01 1995 Jeff Law (law@snake.cs.utah.edu) |
640 | ||
641 | * command.c (show_user_1): Use print_command_line to show a user | |
642 | defined command (including control structures). | |
643 | ||
644 | * top.c (init_main): Change documentation for user defined | |
645 | commands to indicate they may accept up to ten arguments. | |
646 | ||
1d9489c1 JK |
647 | Tue Jan 10 16:22:41 1995 Jim Kingdon <kingdon@lioth.cygnus.com> |
648 | ||
649 | * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for | |
650 | `move $s8, $sp' instruction. | |
651 | ||
3b55fbe3 JK |
652 | Sun Jan 8 12:45:34 1995 Jim Kingdon <kingdon@deneb.cygnus.com> |
653 | ||
654 | * target.c, target.h (target_signal_from_command): New function. | |
655 | * infrun.c (handle_command, signals_info), infcmd.c | |
656 | (signal_command): Use it. | |
657 | * infrun.c, infcmd.c: Update docstrings for these commands. | |
658 | ||
659 | * target.h (enum target_signal), target.c (signals), target.c | |
660 | (target_signal_from_host, target_signal_to_host): Add | |
661 | TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx. | |
662 | * config/tm-lynx.h: Define signal numbers for realtime events. | |
663 | ||
02b40a19 PS |
664 | Sat Jan 7 07:23:53 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
665 | ||
666 | * dbxread.c (process_one_symbol): Handle N_FUN symbols | |
667 | for Sun acc 3.0 under SunOS4. | |
668 | ||
669 | Changes to improve handling of runtime common symbols | |
670 | under SunOS4. | |
671 | * minsyms.c (get_symbol_leading_char): New routine to determine | |
672 | the leading symbol character for an objfile. | |
673 | (prim_record_minimal_symbol_and_info, install_minimal_symbols): | |
674 | Use it. | |
675 | * objfiles.h (rt_common_objfile): New global, points to objfile | |
676 | containing the runtime common minimal symbols. | |
677 | * objfiles.c (free_objfile): Mark rt_common_objfile as | |
678 | unallocated before freeing it. | |
679 | * solib.c (allocate_rt_common_objfile): New routine to allocate | |
680 | an objfile for the runtime common minimal symbols. | |
681 | (solib_add_common_symbols): Allocate an objfile for the runtime | |
682 | common symbols if necessary and put common symbols into it. | |
683 | Clean up code and comments. | |
684 | (solib_add, special_symbol_handling): Cleanup comments regarding | |
685 | runtime common symbols. | |
686 | * stabsread.c (scan_file_globals_1): New routine, contains | |
687 | old scan_file_globals code. Checks if there are any unresolved | |
688 | global symbols before starting the expensive minimal symbol table | |
689 | search. | |
690 | (scan_file_globals): Now calls scan_file_globals_1 for the passed | |
691 | objfile and eventually for the runtime common objfile. Complains | |
692 | about any unresolved global symbols and removes them from the | |
693 | global symbol chain to avoid dangling pointers into the symbol | |
694 | table if the symbol table is reread. | |
695 | ||
09722039 SG |
696 | Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com) |
697 | ||
4a4f9e3b | 698 | * Makefile.in (install_only uninstall): Indent for clarity. |
09722039 SG |
699 | |
700 | * core.c (dis_asm_read_memory): Add call to | |
701 | dis_asm_read_memory_hook to provide alternate way for disassembler | |
702 | to read memory. | |
703 | ||
704 | * defs.h: Protect from multiple inclusion. Add decl for | |
705 | dis_asm_read_memory_hook. | |
706 | ||
4a4f9e3b SS |
707 | * top.c: Make window startup be the default. |
708 | * Add dis_asm_read_memory_hook. | |
709 | ||
710 | start-sanitize-gdbtk | |
09722039 SG |
711 | * gdbtk.c (finish_saving_output): Don't do anything if not saving |
712 | output. | |
713 | * (breakpoint_notify): Don't send null filename to tcl. | |
714 | * (gdb_eval): New tcl command to eval an expression. | |
715 | * (gdb_disassemble): New tcl command to do disassembly. This | |
716 | allows tcl code to choose between exec file and target memeory, | |
717 | and can also do mixed source and assembly. | |
718 | * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure | |
719 | that more of the environment is set up. Also, create link between | |
720 | gdb and tcl vars disassemble{-_}from{-_}exec. | |
721 | ||
722 | * gdbtk.tcl: New expression window support. | |
723 | * Make assembly window be 80 columns wide. | |
724 | * Use new disassembly method. Add menu items to select | |
725 | disassembly from exec file or target. | |
726 | * Change View menubar item to Options. | |
727 | ||
728 | * Get rid of Stack, Breakpoints, Signals, and Variables Windows, | |
729 | since they don't exist yet. | |
730 | ||
731 | * Pop up a copyright window on startup. | |
4a4f9e3b | 732 | end-sanitize-gdbtk |
09722039 | 733 | |
117a817d JL |
734 | Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu) |
735 | ||
736 | * stabsread.c (define_symbol): Handle `a' symbol type used for | |
737 | reference parameter passed in a register. | |
738 | ||
c4a5c37c SS |
739 | start-sanitize-gdbtk |
740 | Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com> | |
741 | ||
742 | * gdbtk.tcl (build_framework): Add standard commands menu, more | |
743 | windows to standard windows menu. | |
744 | (not_implemented_yet): Clarify message. | |
745 | end-sanitize-gdbtk | |
746 | ||
034022bf KH |
747 | Wed Jan 4 12:27:29 1995 Kung Hsu <kung@mexican.cygnus.com> |
748 | ||
c023fbf4 KH |
749 | * defs.h: move include tm.h up, so that the type LONGEST can |
750 | also based on the target requirement to determine. In this case | |
751 | target mips64. | |
752 | ||
034022bf KH |
753 | * remote-os9k.c (rombug_open): catch exception e in rombug. |
754 | * remote-os9k.c (rombug_wait): print message before register display | |
755 | from rombug. | |
756 | ||
fd2ae9ec JK |
757 | Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com) |
758 | ||
759 | * top.c (locate_arg): Call strchr not index. | |
760 | ||
3bcf4181 PB |
761 | Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com> |
762 | ||
2d67c7e9 PB |
763 | * ch-exp.y (literal): Recognize NULL. |
764 | (tuple): Parse simple unlabelled tuples. | |
765 | * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to | |
766 | evaluate brace-initializer-expressions depending on context. | |
767 | (evaluate_subexp case UNOP_CAST): Pass the target type as | |
768 | expected type when evaluating the expression. | |
769 | ||
3bcf4181 PB |
770 | * ch-typeprint.c (chill_type_print_base): Get names of PTR and |
771 | BOOL from TYPE_NAME. | |
772 | * ch-valprint.c (chill_print_type_scalar): New function, to handle | |
773 | TYPE_CODE_RANGE better than print_type_scalar does. | |
774 | (chill_val_print_array_elements): Use above new function. | |
775 | ||
6dd6578b SS |
776 | Mon Jan 2 15:02:51 1995 Stan Shebs <shebs@andros.cygnus.com> |
777 | ||
778 | * remote-udi.c (udi_load): Tell symbol_file_add that the | |
779 | program being loaded is the main program. | |
c4ea046a | 780 | |
986c54ca | 781 | For older changes see ChangeLog-94 |
bd5635a1 RP |
782 | \f |
783 | Local Variables: | |
784 | mode: indented-text | |
785 | left-margin: 8 | |
786 | fill-column: 74 | |
787 | version-control: never | |
788 | End: |