Commit | Line | Data |
---|---|---|
803a31a3 JL |
1 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) |
2 | ||
3 | * From Peter Schauer: | |
4 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
5 | (bpstat_stop_status): Likewise. | |
6 | (remove_solib_event_breakpoints): Likewise. | |
7 | (clear_momentary_breakpoints): Likewise. | |
8 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
9 | if we still can't read the memory for that breakpoint. | |
10 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
11 | ||
12 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
13 | ||
14 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
15 | shared library breakpoints that have been temporarily disabled. | |
16 | * breakpoint.c: Handle temporarily disabled shared library | |
17 | breakpoints like disabled breakpoints in most places. | |
18 | (insert_breakpoints): Use shlib_disabled to indicate | |
19 | that an unsettable breakpoint is only temporarily disabled. | |
20 | (re_enable_breakpoints_in_shlibs): New function. | |
21 | * corelow.c (solib_add_stub): After adding shared libraries, | |
22 | try to reenable any temporarily disabled breakpoints. | |
23 | * infcmd.c (attach_command): Likewise. | |
24 | * infrun.c (wait_for_inferior): Likewise. | |
25 | ||
4972c44e ILT |
26 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> |
27 | ||
28 | * defs.h (extract_long_unsigned_integer): Declare. | |
29 | * findvar.c (extract_long_unsigned_integer): New function. | |
30 | * printcmd.c (print_scalar_formatted): Use it. | |
31 | * valprint.c (val_print_type_code_int): Likewise. | |
32 | ||
00dd4fd9 SS |
33 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> |
34 | ||
35 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
36 | * sh-tdep.c (set processor): New command to set specific | |
37 | processor type. | |
38 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
39 | SH and SH3 processors. | |
40 | (sh_set_processor_type): New function. | |
41 | * sh3-rom.c (sh3_open): Call it. | |
42 | (sh3_regname): Add names of all the bank registers. | |
43 | (sh3_supply_register): Clean up formatting. | |
44 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
45 | bank registers. | |
46 | (REGISTER_NAMES): Add names of bank registers. | |
47 | (FP15_REGNUM): Define. | |
48 | (REGISTER_VIRTUAL_TYPE): Use it. | |
49 | * monitor.c: Clean up some comments. | |
50 | ||
43ece84d C |
51 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
52 | ||
53 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
54 | s* and t* symbols too. | |
55 | ||
5a367b09 JSC |
56 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
57 | ||
58 | * symfile.c (generic_load): Avoid division by zero. | |
59 | ||
653fed07 JL |
60 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) |
61 | ||
62 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
63 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
27b6a1fa | 64 | |
00dd4fd9 | 65 | From Peter Schauer: |
27b6a1fa JL |
66 | * breakpoint.c (internal_breakpoint_number): Move to file scope. |
67 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
68 | ||
bb901438 WM |
69 | Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
70 | ||
71 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
72 | LA_BOOL_TYPE. | |
73 | ||
c105168f WM |
74 | Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
75 | ||
76 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
77 | (match_string_literal): Handle control sequence. | |
78 | (match_character_literal): Deto. | |
79 | ||
80 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
81 | characters from C'xx' to ^(num). | |
82 | (chill_printstr): Deto. | |
83 | (value_chill_card, value_chill_max_min): New functions to process | |
84 | Chill's CARD, MAX, MIN. | |
85 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
86 | ||
87 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
88 | for Chill's CARD, MAX, MIN. | |
89 | ||
90 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
91 | and change return type from builtin_type_int to | |
92 | builtin_type_chill_bool. | |
93 | ||
d009ffd8 SS |
94 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> |
95 | ||
b4692cbc SS |
96 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here |
97 | from config/nm-nbsd.h. | |
98 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
99 | from config/sparc/tm-nbsd.h. | |
100 | ||
d009ffd8 SS |
101 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here |
102 | instead of in config/m68k/xm-hp300hpux.h. | |
103 | ||
d554e554 C |
104 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
105 | ||
106 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
107 | implementation for NetBSD systems. | |
108 | ||
02e6e53d PB |
109 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> |
110 | ||
8d67b75a PB |
111 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. |
112 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
113 | ||
02e6e53d PB |
114 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error |
115 | if "function" is pointer to non-function. | |
116 | ||
f935141e SS |
117 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> |
118 | ||
119 | * top.c (print_gdb_version): Update copyright year. | |
120 | ||
11be829f JL |
121 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) |
122 | ||
f935141e | 123 | From Peter Schauer: |
11be829f JL |
124 | * infrun.c (wait_for_inferior): Remove breakpoints and |
125 | switch terminal settings before calling SOLIB_ADD. | |
126 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
127 | for the dynamic linker, the namespace pollution causes real | |
128 | problems. | |
129 | ||
4f005fea JSC |
130 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> |
131 | ||
132 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
133 | returned buffer. | |
134 | ||
cf3c0938 SS |
135 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> |
136 | ||
137 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
138 | * remote.c (remote_detach): Send a command 'D' to the target | |
139 | when detaching, update the function's comments. | |
140 | ||
8fe2b2c5 FF |
141 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> |
142 | ||
143 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
144 | baseline for gdb 4.16 rerelease testing. | |
145 | ||
a4f39c06 JL |
146 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) |
147 | ||
148 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
149 | call clear_symtab_users. | |
150 | ||
151 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
152 | ||
153 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
154 | connecting to e7000. Change connect message to allow use of | |
155 | monitor.exp in test suite. | |
156 | * (e7000_load): Print transfer rate of download. | |
157 | * symfile.c (generic_load): Print transfer rate of download. | |
158 | ||
8fa6fcf8 SS |
159 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> |
160 | ||
161 | * configure.in (mips*-*-vxworks*): New config. | |
162 | * configure: Regenerated. | |
163 | ||
164 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
165 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
166 | Remove, never used. | |
167 | ||
a97a483c PS |
168 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
169 | ||
170 | * partial-stab.h (case N_FUN): Function symbols generated | |
171 | by SPARCworks cc have a meaningless zero value, do not update | |
172 | pst->textlow if the function symbol value is zero. | |
173 | ||
174 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
175 | for function prototype declaration symbols. | |
176 | ||
b5eccf74 SG |
177 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) |
178 | ||
179 | * remote-e7000.c (e7000_load): New routine to download via the | |
180 | network. | |
181 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
182 | Apparantly new sh2 pods get this right... | |
183 | * (e7000_ops): Add call to e7000_load. | |
184 | ||
b7f3b6d5 C |
185 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
186 | ||
187 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
188 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
189 | ||
190 | * configure.in (m68k-*-netbsd*): New config. | |
191 | * configure: Regenerated. | |
192 | ||
6a6a552a FF |
193 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com> |
194 | ||
195 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
196 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
197 | ||
13f6c7ea JL |
198 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) |
199 | ||
200 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
201 | ||
464c6c5f JL |
202 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) |
203 | ||
204 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
205 | (enable_break): For SVR4 systems, first try to use the debugger | |
206 | interfaces in the dynamic linker to track shared library events | |
207 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
208 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
209 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
210 | it no longer needs to restart/wait on the inferior. | |
211 | * symfile.c (find_lowest_section): No longer static. | |
212 | * symfile.h (find_lowest_section): Corresponding changes. | |
213 | ||
45c5fa78 FF |
214 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@rtl.cygnus.com> |
215 | ||
216 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
217 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
218 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
219 | * config/mips/tm-mips.h: Ditto. | |
220 | * config/pa/tm-hppa.h: Ditto. | |
221 | * config/rs6000/tm-rs6000.h: Ditto. | |
222 | * config/sparc/tm-sparc.h: Ditto. | |
223 | ||
48d27324 C |
224 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
225 | ||
eb224848 C |
226 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. |
227 | ||
48d27324 C |
228 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. |
229 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
230 | #ifdef'd out definitions --- Causes serious gdb failures on | |
231 | the i386. Need to investigate further before enabling. | |
232 | ||
233 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
234 | fetch_core_registers): New functions. These functions are defined | |
235 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
236 | with ptrace PT_GETREGS/PT_SETREGS. | |
237 | ||
95f6f926 SG |
238 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) |
239 | ||
240 | * findvar.c (extract_floating store_floating): Replace `long | |
241 | double' with `DOUBLEST'. | |
242 | ||
cb91ea56 C |
243 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> |
244 | ||
245 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
246 | Define. | |
247 | ||
9263da6f JL |
248 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) |
249 | ||
250 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
251 | ||
252 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
253 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
254 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
255 | breakpoints before inserting any new ones. Use a solib event | |
256 | breakpoint for the breakpoint at "_start". | |
257 | Remove extraneous "\n" from calls to warning. | |
258 | ||
259 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
260 | name array. | |
261 | ||
0708e99f FF |
262 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> |
263 | ||
264 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
265 | for CORE_ADDR values. | |
266 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
267 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
268 | ||
08dc1eeb PS |
269 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
270 | ||
271 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
272 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
273 | over the trampoline code work when stepping from a function in a | |
274 | shared library into a function in a different shared library. | |
275 | ||
1d6afd7f SG |
276 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) |
277 | ||
278 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
279 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
280 | ||
0708e99f | 281 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> |
176b2bee FF |
282 | |
283 | * Makefile.in (ch-exp.o): Add dependencies. | |
284 | (various): Add gdb_string.h to dependencies that need it. | |
285 | ||
dcb6a7c0 FF |
286 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> |
287 | ||
288 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
289 | printing byte cache statistics. | |
290 | ||
aa220473 SG |
291 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) |
292 | ||
293 | * Add native support for long double data type. | |
294 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
295 | to store actual data. Change types of INT and FLOAT tokens to | |
296 | typed_val_int and typed_val_float respectively. Create new token | |
297 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
298 | for FLOAT use type determined by parse_number. Add production for | |
299 | "long double" data type. | |
300 | * (parse_number): Use sscanf to parse numbers as float, double or | |
301 | long double depending upon the type of typed_val_float.dval. Also | |
302 | allow user to specify `f' or `l' suffix to explicitly specify | |
303 | float or long double constants. Change typed_val to | |
304 | typed_val_int. | |
305 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
306 | "double" keyword. | |
307 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
308 | type. | |
309 | * configure, configure.in: Add check for long double support in | |
310 | the host compiler. | |
311 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
312 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
313 | for functions that handle this type. | |
314 | * expression.h (union exp_element): doubleconst is now type | |
315 | DOUBLEST. | |
316 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
317 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
318 | Also, add support for numbers with size of long double. | |
319 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
320 | floating types. | |
321 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
322 | DOUBLEST. | |
323 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
324 | type DOUBLEST. Coerce type of result to long double if either op | |
325 | was of that type. | |
326 | * valops.c (value_arg_coerce): If argument type is bigger than | |
327 | double, coerce to long double. | |
328 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
329 | arg type is float and > 8 bytes, then use pointer-to-object | |
330 | calling conventions. | |
331 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
332 | Use appropriate format and precision to print out floating point | |
333 | values. | |
334 | * value.h: Fixup prototypes for value_as_double, | |
335 | value_from_double, and unpack_double to use DOUBLEST. | |
336 | * values.c (record_latest_value): Remove check for invalid | |
337 | floats. Allow history to store them so that people may examine | |
338 | them in hex if they want. | |
339 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
340 | * (value_from_double): Arg `num' is now DOUBLEST. | |
341 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
342 | specific) to expect certain types to always be returned on the stack. | |
343 | ||
2ad5709f FF |
344 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> |
345 | ||
346 | * bcache.c, bcache.h: New files to implement a byte cache. | |
347 | * Makefile.in (SFILES): Add bcache.c. | |
348 | (symtab_h): Add bcache.h. | |
349 | (HFILES_NO_SRCDIR): add bcache.h | |
350 | (COMMON_OBJS): Add bcache.o | |
351 | (bcache.o): New target. | |
352 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
353 | type "partial_symbol **". | |
354 | * hpread.c (hpread_start_symtab): Ditto. | |
355 | * os9kread.c (os9k_start_psymtab): Ditto. | |
356 | * stabsread.h (start_psymtab): Ditto. | |
357 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
358 | * maint.c (maintenance_print_statistics): Call | |
359 | print_symbol_bcache_statistics. | |
360 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
361 | and free pointers. | |
362 | * solib.c (allocate_rt_common_objfile): Ditto. | |
363 | * symfile.c (reread_symbols): Ditto. | |
364 | (free_objfile): Free psymbol bcache when objfile is freed. | |
365 | (objfile_relocate): Use new indirect psymbol pointers. | |
366 | * objfiles.h (struct objfile): Add psymbol cache. | |
367 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
368 | psymbols. | |
369 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
370 | resources. | |
371 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
372 | psymbol using the psymbol bcache. | |
373 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
374 | the actual psymbols. | |
375 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
376 | grown arrays of pointers. | |
377 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
378 | bcache. | |
379 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
380 | to partial symbol. | |
381 | (print_symbol_bcache_statistics): New function to print per objfile | |
382 | bcache statistics. | |
383 | (print_partial_symbol, print_partial_symbols, | |
384 | maintenance_check_symtabs, extend_psymbol_list): | |
385 | Account for change to pointer to pointer to partial symbol. | |
386 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
387 | make_symbol_completion_list): | |
388 | Account for change to pointer to pointer to partial symbol. | |
389 | * symtab.h (bcache.h): Include. | |
390 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
391 | type "partial_symbol **". | |
392 | ||
4a1d2ce2 FF |
393 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> |
394 | ||
395 | * dwarfread.c (free_utypes): New function. | |
396 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
397 | freeing the utypes pointer. | |
398 | ||
81afee37 FF |
399 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
400 | ||
401 | * demangle.c (is_cplus_marker): New function, checks if a | |
402 | character is one of the commonly used C++ marker characters. | |
403 | * defs.h (is_cplus_marker): Add prototype. | |
404 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
405 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
406 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
407 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
408 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
409 | with CPLUS_MARKER. | |
410 | ||
14b22711 FF |
411 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> |
412 | ||
413 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
414 | delete entirely someday. | |
415 | ||
884fb64c SS |
416 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
417 | ||
418 | * mpw-make.sed: Edit out makefile rebuild rule. | |
419 | (host_alias, target_alias): Comment out instead of deleting. | |
420 | (@LIBS@): Edit out references. | |
421 | ||
f1d39876 FF |
422 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> |
423 | ||
424 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
425 | Use n_psyms in OBJSTAT, not psyms. | |
426 | ||
427 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
428 | ||
429 | * configure.in (sparclet-*-aout*): New config. | |
430 | * configure: Regenerated. | |
431 | ||
c37c7c6c FF |
432 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> |
433 | ||
434 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
435 | unchecked call to malloc. | |
436 | * remote-mips.c (pmon_load_fast): ditto. | |
437 | * remote-mm.c (mm_open): ditto. | |
438 | * hpread.c (hpread_lookup_type): ditto. | |
439 | * remote-adapt.c (adapt_open): ditto. | |
440 | ||
6405302d FF |
441 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> |
442 | ||
443 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
444 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
445 | add_common_block): Use xmalloc rather than malloc, some of which | |
446 | were unchecked. | |
447 | * gnu-regex.c: At same point as other gdb specific changes | |
448 | #undef malloc and then #define it to xmalloc. | |
449 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
450 | bare unchecked calls to malloc/realloc. | |
451 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
452 | unchecked call to malloc. | |
453 | ||
ff7116e2 SG |
454 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) |
455 | ||
456 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
457 | match return val of cplus_mangle_name. | |
458 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
459 | ||
b0ee0cf2 FF |
460 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> |
461 | ||
462 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
463 | apparently aren't needed in any reasonably recent version of | |
464 | linux. | |
465 | ||
ec49fc98 PB |
466 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> |
467 | ||
468 | * stabsread.c (read_range_type): If !self-subrange and language | |
469 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
470 | use builtin_type_int for index_type. | |
471 | ||
472 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
473 | ||
474 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
475 | with an ANSI compiler. | |
476 | ||
f0b0d915 TT |
477 | start-sanitize-gdbtk |
478 | Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com> | |
479 | ||
480 | * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so | |
481 | double-clicking will work again. | |
482 | (create_asm_win): Put "break" at end of all B1 bindings. | |
483 | (create_file_win): Lower "sel" tag, don't raise it. | |
484 | (ensure_line_visible): New proc. | |
485 | (update_listing, update_assembly): Use it. | |
486 | (create_copyright_window): Destroy window on Leave event. | |
487 | (create_command_window): Put "break" at end of all B2 bindings. | |
488 | ||
489 | end-sanitize-gdbtk | |
263af172 SC |
490 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> |
491 | ||
492 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
493 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
494 | function prototype specifies float. | |
495 | ||
fc71ad23 | 496 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> |
8bdae156 | 497 | |
fc71ad23 TT |
498 | * language.c (set_language_command): Use languages table when |
499 | printing available languages. | |
500 | ||
501 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
502 | ||
503 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
504 | * command.c (add_cmd): Add missing initialization for enums member. | |
505 | Reorder members to match structure declaration to make it easier to | |
506 | tell when one is missing. | |
507 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
508 | memory is referenced after being freed. | |
8bdae156 | 509 | |
255181a9 PS |
510 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
511 | ||
512 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
513 | AT_name tag is missing. | |
514 | ||
515 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
516 | FLTWATCH and FLTKWATCH are defined. | |
517 | ||
518 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
519 | return number of bytes transferred for partial reads. | |
520 | ||
521 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
522 | ||
454ffae5 SC |
523 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> |
524 | ||
525 | * win32-nat.c (mappings): Add ppc registers. | |
9a763320 | 526 | (child_resume): Turn off step for ppc. |
454ffae5 | 527 | |
3d78f532 SC |
528 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> |
529 | ||
530 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
531 | xm-cygwin32.h): New. | |
532 | * config/i386/(*win32*): Becomes *cygwin32*. | |
533 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
534 | (powerpcle-*-cygwin32): New. | |
535 | * configure: Regenerate. | |
536 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
537 | with the right program arg. | |
538 | ||
4ad70253 JL |
539 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) |
540 | ||
541 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
542 | ||
0db5a6fe FF |
543 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> |
544 | ||
545 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
546 | ||
28bc5ef7 SS |
547 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
548 | ||
97abaf19 SS |
549 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. |
550 | ||
28bc5ef7 SS |
551 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. |
552 | ||
97abaf19 SS |
553 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to |
554 | here from config/i386/xm-i386mach.h, fix name. | |
555 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
556 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
557 | here from config/i386/xm-ptx4.h. | |
558 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
559 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
560 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
561 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
562 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
563 | ||
28bc5ef7 SS |
564 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. |
565 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
566 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
28bc5ef7 | 567 | |
17280c3f JL |
568 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) |
569 | ||
570 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
571 | floating point correctly. | |
572 | (STORE_RETURN_VALUE): Likewise. | |
573 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
574 | ||
44e9f3b3 FF |
575 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> |
576 | ||
577 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
578 | Define to what should be reasonable values. However, apparently | |
579 | a bug in linux mmap prevents mapped symbol tables from working. | |
580 | ||
ad1e42be FF |
581 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> |
582 | ||
583 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
584 | obscure problem with systems that declare perror with const arg, in | |
585 | both errno.h and stdio.h, and const is defined away by intervening | |
586 | local include. | |
587 | ||
d3ba76fc FF |
588 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> |
589 | ||
590 | From Jon Reeves <reeves@zk3.dec.com>: | |
591 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
592 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
593 | ||
f6ade5dd FF |
594 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> |
595 | ||
596 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
597 | exist in doc/Makefile.in. | |
598 | ||
cdea3fd3 SS |
599 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> |
600 | ||
601 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
602 | ||
d221b17e WM |
603 | Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
604 | ||
cdea3fd3 SS |
605 | * ch-valprint.c (calculate_array_length): New function to |
606 | determine the length of an array type. | |
d221b17e WM |
607 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an |
608 | array type is zero, call calculate_array_length. | |
609 | ||
cdea3fd3 SS |
610 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The |
611 | values may not be sorted. Scan all entries and set the real lower | |
612 | and upper bound. | |
d221b17e | 613 | |
fa9f5840 FF |
614 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> |
615 | ||
616 | * config/xm-linux.h: Move include of solib.h and #define of | |
617 | SVR4_SHARED_LIBS from here ... | |
618 | * config/nm-linux.h: ...to here. | |
619 | ||
4708ac65 FF |
620 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> |
621 | ||
622 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
623 | Also check for gregset_t and fpregset_t types. | |
624 | * configure: Regenerate. | |
625 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
626 | is defined. | |
627 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
628 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
629 | like linux that are migrating to /proc support to use a single | |
630 | configuration for both new and old versions. | |
631 | ||
632 | * config/i386/linux.mt: Note that this is now for both a.out and | |
633 | ELF systems. | |
634 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
635 | i386v4-nat.o | |
636 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
637 | * config/i386/xm-linux.h (solib.h): Include | |
638 | (SVR4_SHARED_LIBS): Define. | |
639 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
640 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
cdea3fd3 SS |
641 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T |
642 | defined. | |
4708ac65 | 643 | |
a77bf669 SS |
644 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
645 | ||
646 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
647 | * config/i386/xm-sun386.h: Ditto. | |
648 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
649 | ||
650 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
651 | ||
652 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
653 | ||
a4b4479a SC |
654 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> |
655 | ||
656 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
657 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
658 | multi-byte I/O. | |
659 | ||
4133a76e JL |
660 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) |
661 | ||
662 | * infrun.c (normal_stop): Fix test for shared library event. | |
663 | ||
146ee7db DE |
664 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> |
665 | ||
666 | * configure.in (sparc64-*-*): Add default host configuration. | |
667 | start-sanitize-gdbtk | |
668 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
669 | end-sanitize-gdbtk | |
670 | (sparc64-*-solaris2*): Add target configuration. | |
b23b4cb5 | 671 | * configure: Regenerated. |
146ee7db DE |
672 | * sparc/sp64sol2.mt: New file. |
673 | ||
76336191 DE |
674 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> |
675 | ||
676 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
677 | ||
1a57cd09 TT |
678 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> |
679 | ||
680 | * Makefile.in (lint): Close backquotes. | |
681 | ||
682 | start-sanitize-gdbtk | |
683 | Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
684 | ||
685 | * gdbtk.tcl, gdbtk.c: Updated copyrights. | |
686 | ||
687 | * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or | |
688 | greater. | |
689 | * configure: Rebuilt. | |
690 | ||
691 | end-sanitize-gdbtk | |
e8f1ad9a FF |
692 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> |
693 | ||
694 | * NEWS: Make note of new record and replay feature for | |
695 | remote debug sessions. | |
696 | * serial.c (gdbcmd.h): Include. | |
697 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
698 | Define here, for remote debug session logging. | |
699 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
700 | New functions for remote debug session logging. | |
701 | (serial_open): Open remote debug session log file when needed. | |
702 | (serial_close): Close remote debug session log file when needed. | |
703 | (_initialize_serial): Add set/show commands for name of remote | |
704 | debug session log file. | |
705 | * serial.h (serial_readchar): Declare | |
706 | (SERIAL_READCHAR): Call serial_readchar(). | |
707 | (SERIAL_WRITE): Call serial_write(). | |
708 | (serial_close): Declare as extern. | |
709 | (serial_logfile, serial_logfp): Declare. | |
710 | * top.c (execute_command): Declare serial_logfp. Log user command | |
711 | in remote debug session log if log file is open. | |
712 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
713 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
714 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
715 | monitor.h. | |
716 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
717 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
718 | unnecessary extern declaration of registers[]. | |
719 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
720 | * gdbserver/gdbreplay.c: New file. | |
721 | * gdbserver/README: Give example of recording a remote | |
722 | debug session with gdb and then replaying it with gdbreplay. | |
723 | ||
c6038971 PB |
724 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> |
725 | ||
726 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
727 | (read_one_struct_field): Support boolean bitfields. | |
728 | * c-valprint.c (c_val_print): Print booleans properly. | |
729 | ||
5a8d8b8d SS |
730 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> |
731 | ||
732 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
733 | Remove, never used. | |
734 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
735 | ||
ec5f347c PB |
736 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> |
737 | ||
9293e886 PB |
738 | * ch-exp.c (parse_tuple): Error if invalid mode. |
739 | ||
533bda77 PB |
740 | * value.h (COERCE_ARRAY): Don't coerce enums. |
741 | (COERCE_ENUM): Don't COERCE_REF. | |
742 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
743 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
744 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
745 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
746 | Add COERCE_REF before COERCE_ENUM. | |
747 | * values.c (value_as_long): Simplify. | |
748 | ||
749 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
750 | ||
ec5f347c PB |
751 | * language.c (lang_bool_type): Add Fortran support. |
752 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
753 | ||
87273c71 JL |
754 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) |
755 | ||
756 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
757 | All references changed. | |
758 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
759 | Update state table. Reformat so that it's still readable. | |
760 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
761 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
762 | Print the shlib_event breakpoint like other breakpoints. | |
763 | (create_solib_event_breakpoint): New function. | |
764 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
765 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
766 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
767 | action. | |
768 | (create_solib_event_breakpoint): Declare. | |
769 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
770 | (normal_stop): Inform the user when the inferior stoped due | |
771 | to a shared library event. | |
a77bf669 | 772 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" |
87273c71 JL |
773 | to control whether or not gdb continues the inferior or stops it when |
774 | a shared library event occurs. | |
775 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
776 | * somsolib.c (TODO list): Update. | |
777 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
778 | when significant shared library events occur. | |
779 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
780 | ||
fc941258 DE |
781 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> |
782 | ||
5a8d8b8d SS |
783 | * printcmd.c (print_insn): Pass fprintf_unfiltered to |
784 | INIT_DISASSEMBLE_INFO. | |
785 | start-sanitize-gdbtk | |
786 | * gdbtk.c (gdb_disassemble): Likewise. | |
787 | end-sanitize-gdbtk | |
fc941258 | 788 | |
b3fd4c06 SS |
789 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> |
790 | ||
791 | * remote.c (remotebreak): New GDB variable. | |
792 | (remote_break): New global. | |
793 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
794 | * NEWS: Describe the new variable. | |
795 | ||
d2f5fa49 DE |
796 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> |
797 | ||
798 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
799 | ||
8c038399 FF |
800 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> |
801 | ||
802 | * hp300ux-nat.c (getpagesize): Remove unused function | |
803 | fetch_core_registers. | |
804 | (hp300ux_core_fns): Remove, is unused. | |
805 | (_initialize_core_hp300ux): Remove, is unused. | |
806 | (gdbcore.h): Remove #include, no longer needed. | |
807 | ||
a0d76829 JL |
808 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) |
809 | ||
810 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
811 | ptrace bug in aix4.1.3 on the rs6000. | |
812 | ||
b6768627 SS |
813 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> |
814 | ||
815 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
816 | * remote-nindy.c (nindy_ops): Ditto. | |
817 | * remote-udi.c (udi_ops): Ditto. | |
818 | ||
090d784a JSC |
819 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> |
820 | ||
821 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
822 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
823 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
824 | (common_open): New function to merge support for different monitors. | |
825 | (mips_open): Use common_open(). | |
826 | (mips_send_command): New function. | |
827 | (mips_send_packet): Scan out-of-sequence packets. | |
828 | (mips_enter_debug, mips_exit_debug): New functions. | |
829 | (pmon_ops): New target definition structure. | |
830 | ||
4e327047 TT |
831 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) |
832 | ||
833 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
834 | specified on the make command line (via make LIBS=xxx). | |
835 | start-sanitize-gm | |
836 | * configure.in (enable-gm): magic.o -> gmagic.o. | |
837 | end-sanitize-gm | |
838 | ||
839 | start-sanitize-gdbtk | |
840 | Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com> | |
841 | ||
842 | * gdbtk.tcl (create_expr_window): Many changes to update GUI. | |
843 | (add_expr): Changes from create_expr_window. | |
844 | (create_command_window): Set focus. | |
845 | (delete_expr): Rewrote. | |
846 | (expr_update_button): New proc. | |
847 | (add_expr): Put bindings on FocusIn, FocusOut. | |
848 | Don't allow .file_popup to be torn off. | |
849 | end-sanitize-gdbtk | |
850 | ||
1aac3d3c JL |
851 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) |
852 | ||
853 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
854 | is set but there are no psymtabs. | |
855 | ||
c84e5000 SC |
856 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> |
857 | ||
858 | * dsrec.c (load_srec): Remove unused variable. | |
859 | monitor.c (monitor_expect): Don't expect a ^C to echo. | |
860 | * serial.c (serial_open): Add parallel interface. | |
861 | * sh3-rom.c (parallel, parallel_in_use): New. | |
862 | (sh3_load): If parallel_in_use, download though the | |
863 | parallel port. | |
864 | (sh3_open): Open parallel port if specified. | |
865 | (sh3_close): New function. | |
866 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
867 | * monitor.c (monitor_close): Export. | |
868 | * monitor.h (monitor_close): Add prototype. | |
869 | ||
2c441e7f SS |
870 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> |
871 | ||
872 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
873 | * remote.c (remotetimeout): New GDB variable, use to set the | |
874 | remote timeout for reading. | |
875 | ||
4e327047 TT |
876 | start-sanitize-gdbtk |
877 | Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com> | |
878 | ||
879 | * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. | |
880 | (update_listing): Use lassign. Use "see" to scroll. Don't need | |
881 | screen_top, screen_bot, screen_height. | |
882 | (update_assembly): Use "see" to scroll. | |
883 | (textscrollproc): Removed. | |
884 | (create_file_win): Don't use textscrollproc. | |
885 | (asmscrollproc): Removed. | |
886 | (create_asm_window): Don't use asmscrollproc. | |
887 | (create_asm_win): Ditto. | |
888 | (screen_height, screen_top, screen_bot): Removed. | |
889 | (run_editor): New proc. | |
890 | (build_framework): Use it. | |
891 | (create_file_win, create_source_window): Don't use textscrollproc. | |
892 | (create_breakpoints_window): Set -xscrollcommand on canvas. | |
893 | (not_implemented_yet): Default button is 0. | |
894 | (delete_char): Don't use tk_textBackspace. | |
895 | (create_command_window): Allow Tk bindings to fire after deleting | |
896 | character. | |
897 | (create_command_window): Make Delete delete left, not right. | |
898 | end-sanitize-gdbtk | |
899 | ||
3730a0ed FF |
900 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com> |
901 | ||
902 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
903 | to get "struct core_fns" defined. | |
904 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
2c441e7f | 905 | Are dependent upon gdbcore_h. |
3730a0ed | 906 | |
7ef89313 PB |
907 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> |
908 | ||
909 | * symfile.c (decrement_reading_symtab): New function. | |
910 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
911 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
912 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
913 | currently_reading_symtab (since that could infinitely recurse). | |
914 | ||
1c486a2b PB |
915 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> |
916 | ||
34cfa2da PB |
917 | * stabsread.c (read_struct_type): Trivial simplification. |
918 | ||
1c486a2b PB |
919 | * stabsread.c (define-symbol): Use invisible references |
920 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
34cfa2da | 921 | * valops.c (call_function_by_hand): Likewise. |
1c486a2b PB |
922 | * eval.c (evaluate_subexp_standard): When known, use the formal |
923 | parameter type as the expected type when evaluating arg expressions. | |
924 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
925 | ||
4e327047 TT |
926 | start-sanitize-gdbtk |
927 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
928 | ||
929 | * main.c (main): Disable window interface if --help or --version | |
930 | specified. | |
931 | ||
932 | * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. | |
933 | ||
934 | Changes in sync with expect: | |
935 | * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and | |
936 | CY_AC_PATH_TK. | |
937 | * aclocal.m4: Replaced with version from expect. | |
938 | * configure: Regenerated. | |
939 | end-sanitize-gdbtk | |
a1df8e78 | 940 | |
a1956677 BK |
941 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
942 | ||
943 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
944 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
945 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
946 | * config/rs6000/xm-aix4.h: New file. | |
947 | * config/xm-aix4.h: New file. | |
948 | ||
3730a0ed | 949 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> |
0d14c7df FF |
950 | |
951 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
952 | * gdbserver/low-linux.c: New file. | |
953 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
954 | ||
955 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
956 | Define. | |
957 | * stabsread.c (define_symbol): If register value is too large, | |
958 | tell what it is and what max is. | |
959 | ||
4e327047 TT |
960 | start-sanitize-gdbtk |
961 | Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com> | |
962 | ||
963 | * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, | |
964 | gdbtk_tcl_flush): Use "see", not "yview". | |
965 | (gdbtk_tcl_query): Use questhead bitmap. | |
966 | various: Always wrap condition of 'if' in {...}. | |
967 | (add_breakpoint_frame): Set -value on radiobuttons. | |
968 | (lassign): New proc. | |
969 | (add_breakpoint_frame): Use lassign, not series of assignments. | |
970 | (decr): Made faster. | |
971 | (interactive_cmd): Use "see", not "yview". | |
972 | (not_implemented_yet): Use warning bitmap. | |
973 | (update_expr): Don't allow $expr to be evalled by Tcl. | |
974 | (create_expr_window): Don't use "focus". | |
975 | (delete_char, delete_line): Define globally. | |
976 | (delete_line, delete_char, create_command_window, update_autocmd, | |
977 | build_framework, create_asm_win, create_file_win): Use "see", not | |
978 | "yview". | |
979 | (create_copyright_window, center_window, bind_widget_after_class): | |
980 | New procs. | |
981 | (FSBox,create_command_window, create_autocmd_window): Binding | |
982 | changes for Tk4. | |
983 | (textscrollproc): Define globally. | |
984 | (build_framework): tk_menuBar no longer needed. Keys Prior, Next, | |
985 | Home, End, Up, and Down are all defined by Tk. | |
986 | (apply_filespec): Use error bitmap in dialog. | |
987 | (files_command): Don't use tk_listboxSingleSelect. | |
988 | (files_command): Don't use "uniq" to remove duplicates from a | |
989 | list. | |
990 | (update_assembly): Use lassign. | |
991 | (create_asm_win): Removed redundant bindings. | |
992 | (listing_window_button_1, file_popup_menu): Use tk_popup. | |
993 | (ButtonRelease-1 binding): Just remove tag from window; rest | |
994 | handled by Tk. | |
995 | ||
996 | * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. | |
997 | (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. | |
998 | (gdbtk_call_command): Ditto. | |
999 | end-sanitize-gdbtk | |
1000 | ||
60d5a517 JL |
1001 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) |
1002 | ||
1003 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
1004 | enum namespace -> enum_namespace change. | |
1005 | ||
d1f5c804 WM |
1006 | Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com> |
1007 | ||
2c441e7f SS |
1008 | * ch-exp.c (parse_primval): In case ARRAY, add missing |
1009 | FORWARD_TOKEN (). | |
d1f5c804 | 1010 | |
1f233758 SS |
1011 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> |
1012 | ||
1013 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
1014 | of \n, but write \n when program sends a \012. | |
1015 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
1016 | ||
ed3b618d JL |
1017 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) |
1018 | ||
1019 | * infptrace.c (initialize_infptrace): Move function out of | |
1020 | #ifdef conditional; put code within the function inside an | |
1021 | #ifdef conditional. | |
436d4143 JL |
1022 | |
1023 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
1024 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
1025 | callers/references changed. | |
1026 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
1027 | last_source_start_addr for reordered executables. | |
1028 | (process_one_symbol): Handle N_FUN with no name as an end of | |
1029 | function marker. | |
1030 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
1031 | is the high text address for a psymtab. | |
1032 | (case N_SO): Likewise. | |
1033 | (case N_FUN): Handle N_FUN with no name as an end of function | |
1034 | marker. | |
1035 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
1036 | at the same address rather than a random subset of them. | |
1037 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
1038 | * elfread.c (elf_symfile_init): Similarly. | |
1039 | * somread.c (som_symfile_init): Similarly. | |
1040 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
1041 | ||
5351b2a0 SG |
1042 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) |
1043 | ||
1044 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
1045 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
1046 | that catch_errors doesn't get blindsided by QUIT and lose the | |
1047 | cleanup chain. This fixes a problem where ^C while in a | |
1048 | user-defined command sometimes leaves instream NULL and causes a | |
1049 | segfault in command_loop. | |
1050 | ||
127841e4 BK |
1051 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> |
1052 | ||
1053 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
1054 | ||
6b4fe21d SC |
1055 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> |
1056 | ||
1057 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
1058 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
1059 | srec.o renamed to dsrec.o. | |
1060 | ||
0fe1522a SG |
1061 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) |
1062 | ||
1063 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
1064 | that hardware watchpoint removal problems won't leave breakpoint | |
1065 | traps in the target. | |
d039321c | 1066 | start-sanitize-gdbtk |
0fe1522a | 1067 | * configure configure.in: Make --enable-gdbtk be the default. |
d039321c | 1068 | end-sanitize-gdbtk |
0fe1522a SG |
1069 | * remote-e7000.c (e7000_insert_breakpoint, |
1070 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
1071 | breakpoints. | |
1072 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
1073 | compensate for e7000 maladjustment. | |
1074 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
1075 | which prevented hardware watchpoints from working. | |
1076 | ||
7531f36e FF |
1077 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com> |
1078 | ||
1079 | * infptrace.c (udot_info): New function. | |
1080 | (PT_*): Define each individually if that one is not defined. | |
7531f36e FF |
1081 | * rs6000-nat.c (kernel_u_size): New function |
1082 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
1083 | * alpha-nat.c (kernel_u_size): New function. |
1084 | Include <sys/user.h> for "struct user" | |
7531f36e FF |
1085 | * sparc-nat.c (kernel_u_size): New function. |
1086 | Include <sys/user.h> for "struct user" | |
7531f36e | 1087 | * i386b-nat.c (kernel_u_size): New function. |
7531f36e | 1088 | * i386v-nat.c (kernel_u_size): New function. |
7531f36e FF |
1089 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. |
1090 | (kernel_u_size): Declare. | |
7531f36e FF |
1091 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. |
1092 | (kernel_u_size): Declare. | |
7531f36e FF |
1093 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. |
1094 | (kernel_u_size): Declare. | |
7531f36e FF |
1095 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. |
1096 | (kernel_u_size): Declare. | |
7531f36e FF |
1097 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. |
1098 | (kernel_u_size): Declare. | |
7531f36e | 1099 | |
1750a5ef SC |
1100 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> |
1101 | ||
1102 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
1103 | enum_namespace type. | |
1104 | * symfile.c (add_psymbol_to_list) | |
1105 | (add_psymbol_addr_to_list): Ditto. | |
1106 | * symtab.c (lookup_partial_symbol): Ditto. | |
1107 | (lookup_symbol): Ditto. | |
1108 | (lookup_block_symbol): Ditto. | |
1109 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
1110 | (child_wait): Catch DLL load errors. | |
1111 | (create_child_inferior): Translated between paths correctly. | |
1112 | ||
e33aefba FF |
1113 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> |
1114 | ||
1115 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
1116 | from NUM_REGS to get number of general registers that we care about. | |
e33aefba FF |
1117 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms |
1118 | of number of general regs and number of floating point regs. | |
e33aefba | 1119 | |
e02a2ad9 SC |
1120 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> |
1121 | ||
a3b64bf9 SC |
1122 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. |
1123 | (SKIP_TRAMPOLINE_CODE): New. | |
1124 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
1125 | (SLASH*) Changed to use unix style slash. | |
e02a2ad9 SC |
1126 | * symtab.h (namespace enum): becomes typedef to avoid namespace |
1127 | collision in C++. | |
1128 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
1129 | * i386-tdep.c (skip_trampoline_code): New function. | |
1130 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
1131 | * Makefile.in: Cope with renaming. | |
e02a2ad9 | 1132 | |
ef4d6187 | 1133 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> |
5eccb7dc | 1134 | |
ef4d6187 FF |
1135 | * symmisc.c (print_objfile_statistics): Print memory use statistics |
1136 | for objfile psymbol, symbol, and type obstacks. | |
5eccb7dc | 1137 | |
ef4d6187 | 1138 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> |
3dcd429f | 1139 | |
ef4d6187 FF |
1140 | * config/mips/nm-irix5.h: Restore. |
1141 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
1142 | from Lee Iverson <leei@ai.sri.com>. | |
1143 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
1144 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
3dcd429f | 1145 | |
ef4d6187 | 1146 | For older changes see ChangeLog-95 |
bd5635a1 RP |
1147 | \f |
1148 | Local Variables: | |
1149 | mode: indented-text | |
1150 | left-margin: 8 | |
1151 | fill-column: 74 | |
1152 | version-control: never | |
1153 | End: |