Commit | Line | Data |
---|---|---|
c906108c SS |
1 | Tue Dec 31 15:19:32 1996 Geoffrey Noer <noer@cygnus.com> |
2 | ||
3 | * config/mn10300/tm-mn10300.h: more small register fixes | |
4 | ||
5 | Tue Dec 31 06:51:43 1996 Mark Alexander <marka@cygnus.com> | |
6 | ||
7 | * config/i386/xm-windows.h: Undo previous change to SIGTRAP | |
8 | and SIGQUIT values; it messed up non-MIPS targets. | |
9 | * config/mips/tm-mips.h: Undefine BREAKPOINT, replace | |
10 | with separate LITTLE_BREAKPOINT and BIG_BREAKPOINT definitions; | |
11 | this fixes problem with setting breakpoints in little-endian | |
12 | programs in the simulator. | |
13 | ||
14 | Mon Dec 30 00:14:06 1996 Doug Evans <dje@seba.cygnus.com> | |
15 | ||
16 | * remote-sim.c (gdbsim_open_p): New static local. | |
17 | (gdbsim_open): Call unpush_target if sim open. Set gdbsim_open_p. | |
18 | (gdbsim_close): Only call sim_close if sim open. Reset gdbsim_open_p. | |
19 | ||
20 | Sun Dec 29 09:15:03 1996 Mark Alexander <marka@cygnus.com> | |
21 | ||
22 | * config/i386/xm-windows.h: Make SIGTRAP and SIGQUIT consistent | |
23 | with sim/mips/support.h. | |
24 | ||
25 | Fri Dec 27 14:53:40 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
26 | ||
27 | * v850-tdep.c (struct pifsr): Add cur_frameoffset field. | |
28 | (v850_scan_prologue): Add debug code #ifdef'ed DEBUG. Support new | |
29 | compiler prologues using register save functions and short store | |
30 | instructions. Add support for functions with large stack frames. | |
31 | ||
32 | * config/v850/tm-vm850.h ({R0,R1,R12,EP}_REGNUMS): New register | |
33 | number defintiions for r0, r1, r12, ep. | |
34 | (SAVE{1,2,3}_{START,END}_REGNUM): Register number definitions for | |
35 | the 3 sets of saved registers. | |
36 | ||
37 | Thu Dec 26 19:56:55 1996 Mark Alexander <marka@cygnus.com> | |
38 | ||
39 | * valprint.c (print_longest): Don't lose upper bits | |
40 | of 64-bit values on Windows. | |
41 | * config/i386/xm-windows.h: Leave CC_HAS_LONG_LONG defined, | |
42 | undefine PRINTF_HAS_LONG_LONG, so that 64-bit values will | |
43 | be printed without loss of upper bits. | |
44 | ||
45 | Thu Dec 26 15:15:21 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
46 | ||
47 | * config/sparc/tm-sparclet.h: make registers ASR15, ASR19 invisible | |
48 | (they're not useful, you can't change, write or even read them) | |
49 | ||
50 | Thu Dec 26 15:20:48 1996 Fred Fish <fnf@cygnus.com> | |
51 | ||
52 | * config/pa/hppahpux.mh (TERMCAP): Always link to libc before | |
53 | libcurses, to avoid picking up broken select() from libcurses | |
54 | on some versions of HPUX. | |
55 | ||
56 | Thu Dec 26 15:14:41 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
57 | ||
58 | * sparclet-rom.c: Remove includes of Unix system files. | |
59 | Add function "sparclet_supply_register" so that parse_register_dump | |
60 | will not seg-fault by calling a null function pointer. | |
61 | Remove XMODEM support (unfinished work?). | |
62 | Remove flag "MO_HANDLE_NL", so monitor's output can be read by humans. | |
63 | Add fill command. | |
64 | Remove colon from getreg.resp_delim so PSR register will work. | |
65 | Remove pointer to sparclet_load (downloading SREC's doesn't work). | |
66 | Null out local register names for %g0, all %cc and all %asr regs, | |
67 | since the monitor can't report them. Will return zero instead. | |
68 | * sparclet-stub.c: New -- remote protocol support for sparclet CPU. | |
69 | * config/sparc/tm-sparclet.h: Re-arrange REGISTER_NAMES: | |
70 | Add back %g0 and %psr, add %cc coprocessor regs, add %asr regs. | |
71 | Adjust NUM_REGS and REGISTER_BYTES accordingly | |
72 | ||
73 | Tue Dec 24 10:27:37 1996 Jeffrey A Law (law@cygnus.com) | |
74 | ||
75 | * remote-e7000.c (want_h8300h, want_nopc_h8300h): Renamed | |
76 | from want and want_nopc. | |
77 | (want_h8300s, want_nopc_h8300s): New variables for H8/S register | |
78 | lists. | |
79 | (e7000_fetch_registers): Use H8/300H or H8/S register list string | |
80 | as needed. | |
81 | (e7000_wait): Likewise. | |
82 | ||
83 | Mon Dec 23 02:25:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
84 | ||
85 | * mips-tdep.c (mips_find_saved_regs): If a frame has been | |
86 | interrupted by a signal, figure out whether the registers that | |
87 | the proc_desc claims are saved have been saved yet. | |
88 | (mips_push_dummy_frame): Write dummy frame register after all | |
89 | registers have been saved in the dummy frame. Update comments | |
90 | to reflect the fact that we are now using an AT_ENTRY_POINT | |
91 | call dummy. | |
92 | ||
93 | Sun Dec 22 15:52:25 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
94 | ||
95 | * d10v-tdep.c (d10v_skip_prologue): PR11287. Fix problem where | |
96 | some breakpoints weren't being set. | |
97 | ||
98 | Sat Dec 21 12:57:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
99 | ||
100 | * config/mips/tm-mips.h (PC_IN_CALL_DUMMY): Removed, the default | |
101 | definition in inferior.h is sufficient. | |
102 | * mips-tdep.c (mips_pc_in_call_dummy): Ditto. | |
103 | (mips_push_arguments): Make sure that the stack is aligned to a | |
104 | multiple of 8 after the arguments are pushed. | |
105 | Structures are always passed by value in the old ABI. | |
106 | Adjust argument register value on big endian targets when passing | |
107 | a value whose length is less than the register size. | |
108 | Write stack arguments with a single write_memory call. | |
109 | (mips_pop_frame): Use frame_saved_regs instead of proc_desc to | |
110 | decide which registers have to be restored. | |
111 | ||
112 | * irix5-nat.c (fill_gregset): Sign extend registers before | |
113 | filling in the gregset structure. | |
114 | ||
115 | Fri Dec 20 11:06:03 1996 Stu Grossman (grossman@critters.cygnus.com) | |
116 | ||
117 | * mswin/genmakes: Don't define _DEBUG. This breaks wingdb. | |
118 | ||
119 | Thu Dec 19 19:42:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
120 | ||
121 | * v850-tdep.c (v850_scan_prologue): Deal with -mep shorting | |
122 | register saves by using the ep register. | |
123 | ||
124 | Thu Dec 19 15:57:16 1996 Doug Evans <dje@canuck.cygnus.com> | |
125 | ||
126 | * m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def. | |
127 | ||
128 | Thu Dec 19 09:38:56 1996 Mark Alexander <marka@cygnus.com> | |
129 | ||
130 | * values.c (unpack_double): Make it compile with MSVC++ 2.x. | |
131 | * remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g. | |
132 | when using MSVC++. | |
133 | (common_open): Fix help string. | |
134 | ||
135 | Wed Dec 18 23:01:32 1996 Stan Shebs <shebs@andros.cygnus.com> | |
136 | ||
137 | * mpw-make.sed: Use NewFolderRecursive for installation. | |
138 | ||
139 | Sat Dec 14 20:50:01 1996 Mark Alexander <marka@cygnus.com> | |
140 | ||
141 | * mips-tdep.c (mips_push_arguments): Handle floating point args. | |
142 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): Define to set up $25 | |
143 | correctly for PIC on Irix 5. | |
144 | ||
145 | Sat Dec 14 09:52:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
146 | ||
147 | * i386-tdep.c (i386_frame_find_saved_regs): Handle zero return | |
148 | from get_pc_function_start gracefully. | |
149 | ||
150 | Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
151 | ||
152 | * c-exp.y (qualified_name): Replace explicit check for valid | |
153 | destructor name with call to destructor_name_p. | |
154 | ||
155 | * c-lang.h, c-typeprint.c (cp_type_print_method_args): Removed, | |
156 | no longer needed. | |
157 | ||
158 | * c-typeprint.c (c_type_print_varspec_prefix, c_type_print_base): | |
159 | Replace remaining fprintf_unfiltered calls with their filtered variant. | |
160 | (c_type_print_base): Do not print return type for destructors from | |
161 | template classes. | |
162 | Replace cp_type_print_method_args with cplus_demangle call to get | |
163 | consistent type output for stubbed and unstubbed methods. | |
164 | ||
165 | * cp-valprint.c (cp_print_class_method): Replace | |
166 | cp_type_print_method_args with cplus_demangle call to get consistent | |
167 | type output for stubbed and unstubbed methods. | |
168 | ||
169 | * gdbtypes.c, gdbtypes.h (get_destructor_fn_field): New function | |
170 | to find the destructor field indices for a type. | |
171 | ||
172 | * gdbtypes.h (struct type): Clarify comments for vptr_basetype | |
173 | and arg_types fields. | |
174 | (struct fn_field): Remove args field, no longer used. | |
175 | ||
176 | * symtab.c (decode_line_1), valops.c (value_struct_elt, | |
177 | check_field_in): Use get_destructor_fn_field to find the destructor | |
178 | field indices instead of assuming that the compiler passes the member | |
179 | function fields in a specific order. | |
180 | ||
181 | * symtab.c (find_methods): Pass NULL instead of SYMBOL_BLOCK_VALUE | |
182 | to lookup_symbol. | |
183 | (list_symbol): Replace cp_type_print_method_args with cplus_demangle | |
184 | call in zapped out code and explain why this code is zapped out. | |
185 | ||
186 | Thu Dec 12 13:29:14 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
187 | ||
188 | * config/powerpc/ppc{,le}-sim.mt (SIM): Add the simulator common | |
189 | library ../sim/common/libcommon.a. | |
190 | ||
191 | Wed Dec 11 11:15:08 1996 Doug Evans <dje@canuck.cygnus.com> | |
192 | ||
193 | * monitor.c (monitor_load): Add support for load address argument. | |
194 | * dsrec.c: #include <time.h>. | |
195 | (load_srec): New argument load_offset. Print download stats. | |
196 | * srec.h (load_srec): Update prototype. | |
197 | * sh3-rom.c (sh3_load): Update call to load_srec. | |
198 | ||
199 | Mon Dec 9 17:34:05 1996 Geoffrey Noer <noer@cygnus.com> | |
200 | ||
201 | * config/mn10300/tm-mn10300.h: more small register fixes | |
202 | * mn10300-tdep.c: filled in from another target | |
203 | ||
204 | Mon Dec 9 17:12:19 1996 Doug Evans <dje@canuck.cygnus.com> | |
205 | ||
206 | * monitor.c (monitor_insert_breakpoint): Handle bi-endian machines. | |
207 | ||
208 | Mon Dec 9 15:58:51 1996 Mark Alexander <marka@cygnus.com> | |
209 | ||
210 | * config/mips/tm-mips.h: Get rid of call-dummy code. | |
211 | Minor changes to make pre-ANSI compilers happy. | |
212 | * mips-tdep.c: Minor changes to make pre-ANSI compilers happy. | |
213 | (mips_push_arguments): Rewrite to partially support EABI. | |
214 | (mips_pc_in_call_dummy): New function. | |
215 | * infcmd.c: Include symfile.h to get prototype of entry_point_address, | |
216 | which fixes 64-bit sign extension bug on MIPS. | |
217 | ||
218 | Mon Dec 9 00:14:49 1996 Geoffrey Noer <noer@cygnus.com> | |
219 | ||
220 | * config/mn10300/tm-mn10300.h: fix register names | |
221 | * mn10300-tdep.c: new skeleton tdep for mn10300 | |
222 | ||
223 | Sun Dec 8 18:02:57 1996 Doug Evans <dje@canuck.cygnus.com> | |
224 | ||
225 | * remote-sim.h: Update some comments. | |
226 | * remote-sim.c (gdb_os_error): New function. | |
227 | (init_callbacks): Fix initializing of gdb_callback. Add gdb_os_error. | |
228 | (gdb_os_printf_filtered): Use gdb_stdout, not stdout. | |
229 | ||
230 | Sun Dec 8 00:36:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
231 | ||
232 | * irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets | |
233 | from O32 and N32 ABI. | |
234 | (xfer_link_map_member): Work around problem with alignments | |
235 | in struct obj when compiling GDB under N32 ABI. | |
236 | ||
237 | Thu Dec 5 23:30:44 1996 Stan Shebs <shebs@andros.cygnus.com> | |
238 | ||
239 | * d10v-tdep.c: Add support for examination and interpretation | |
240 | of instruction trace buffer. | |
241 | (trace, untrace, info trace, tdisassemble): New commands. | |
242 | ||
243 | Thu Dec 5 14:06:23 1996 Doug Evans <dje@canuck.cygnus.com> | |
244 | ||
245 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef. | |
246 | (TARGET_BYTE_ORDER_SELECTABLE): Define. | |
247 | (BREAKPOINT): Undef. | |
248 | ({BIG,LITTLE}_BREAKPOINT): Define. | |
249 | (TM_PRINT_INSN_MACH): Redefine for sparclet. | |
250 | ||
251 | Wed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com> | |
252 | ||
253 | * config/mn10300/mn10300.mt, config/mn10300/tm-mn10300.h: New. | |
254 | ||
255 | Tue Dec 3 13:02:08 1996 Fred Fish <fnf@ninemoons.com> | |
256 | ||
257 | * infptrace.c (store_inferior_registers): Move some common code out | |
258 | to store_register, like fetch_inferior_registers & fetch_register. | |
259 | (store_register): New function, from store_inferior_registers. | |
260 | (fetch_inferior_registers, fetch_register): Minor code tweaks to | |
261 | make {fetch,store}_inferior_registers and {fetch,store}_register | |
262 | routines as similar in structure as possible. | |
263 | (fetch_inferior_registers, store_inferior_registers): Eliminate | |
264 | local variable numregs and just use ARCH_NUM_REGS directly. | |
265 | ||
266 | Tue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
267 | ||
268 | * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable | |
269 | code for generic call_dummy frames. | |
270 | * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES | |
271 | * config/m32r/tm-m32r.h: Ditto. | |
272 | * config/sh/tm-sh.h: Ditto. | |
273 | * config/v850/tm-v850.h: Ditto. | |
274 | ||
275 | Sun Dec 1 00:41:47 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
276 | ||
277 | * vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions | |
278 | for printing. From Valeriy Ushakov <uwe@ptc.spbu.ru>. | |
279 | ||
280 | Sun Dec 1 00:40:46 1996 Geoffrey Noer <noer@cygnus.com> | |
281 | ||
282 | * configure.tgt: Add new mn10300 entry. | |
283 | ||
284 | Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
285 | ||
286 | Add support for Irix 6.2 native O32 and N32 ABI. | |
287 | ||
288 | * config.in, configure.in, configure: Check for <objlist.h>. | |
289 | * configure.tgt: Handle mips*-sgi-irix6* like irix5 for now. | |
290 | ||
291 | * cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS | |
292 | instead of SYMBOL_BLOCK_VALUE to get the address of a static member. | |
293 | ||
294 | * dwarf2read.c: Turn warnings and recoverable errors into complaints, | |
295 | add new complaints where appropriate. | |
296 | gcc -Wall cleanup. | |
297 | (struct line_head): Change line_base from char to int to avoid | |
298 | problems with compilers whose plain char is represented by an | |
299 | unsigned char. | |
300 | (struct partial_die_info): Add is_declaration field. | |
301 | (dwarf2_tmp_obstack): New obstack for allocating temporary storage | |
302 | used during symbol reading. | |
303 | (cu_header_offset): New variable for resolving relative reference | |
304 | dies. | |
305 | (optimized_out, basereg, islocal, frame_base_reg, frame_base_offset): | |
306 | New interface variables for decode_locdesc. | |
307 | (struct dwarf2_pinfo): New structure for communication between | |
308 | psymtab and symtab reading, passed via pst->read_symtab_private. | |
309 | (dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files | |
310 | without line number sections. | |
311 | (dwarf2_build_psymtabs_hard): Initialize temporary obstack | |
312 | for symbol reading. | |
313 | Allocate and initialize pst->read_symtab_private. | |
314 | Relocate pst->textlow and pst->texthigh with baseaddr. | |
315 | (scan_partial_symbols): Do not add DW_AT_declaration symbols | |
316 | to the partial symbol table. | |
317 | Add file scope enumerator symbols to the partial symbol table. | |
318 | Fix typo in highpc computation. | |
319 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
320 | from `maint check. | |
321 | (add_partial_symbol): Relocate symbol values with baseaddr. | |
322 | Add static DW_TAG_subprogram and DW_TAG_variable symbols to the | |
323 | minimal symbol table. | |
324 | Obtain symbol values for DW_TAG_variable symbols from the location | |
325 | descriptor, skip symbols with missing location desciptors. | |
326 | Skip symbols for aggregate types without children. | |
327 | Handle enumerator symbols. | |
328 | (dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose. | |
329 | (psymtab_to_symtab_1): Set local variables from | |
330 | pst->read_symtab_private, set cu_header_offset and baseaddr. | |
331 | Initialize temporary obstack for symbol reading, initialize | |
332 | buildsym and add a cleanup to really_free_pendings. | |
333 | Relocate highpc with baseaddr when calling end_symtab. | |
334 | If the compilation is from a C file generated by language | |
335 | preprocessors, do not set the symtab language if it was already | |
336 | deduced by start_subfile. | |
337 | Removed verbose sorting symbol table message. | |
338 | (process_die): Handle DW_TAG_ptr_to_member_type and | |
339 | DW_TAG_reference_type. | |
340 | Use read_subroutine_type to get the function type for | |
341 | DW_TAG_subprogram before calling read_func_scope. | |
342 | (read_file_scope): Initialize file name to <unknown>, start_subfile | |
343 | expects a non-NULL name. | |
344 | If we didn't find a lowpc, set it to highpc to avoid complaints | |
345 | from finish_symbol. | |
346 | Relocate lowpc and highpc with baseaddr. | |
347 | Get rid of Irix6.2 native cc compile machine prefix in comp_dir. | |
348 | Zero out ftypes for each new compilation unit (may be different | |
349 | language or different objfile). | |
350 | Accept compilation units without line number information, pass | |
351 | comp_dir to decode_lines. | |
352 | (read_func_scope): Initialize function name to <unknown> to avoid | |
353 | core dumps when DW_AT_name is missing. | |
354 | Relocate lowpc and highpc with baseaddr. | |
355 | Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations. | |
356 | Pass function type to new_symbol. | |
357 | (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr. | |
358 | (read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME. | |
359 | Handle DW_TAG_class_type. | |
360 | Copy fields to type_obstack, release temporary storage for fields. | |
361 | Don't add symbol if die is a stub die and has no children. | |
362 | Handle C++ static member fields. | |
363 | (read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME. | |
364 | Copy fields to type_obstack, release temporary storage for fields. | |
365 | Let new_symbol handle the symbol creation for enumerators | |
366 | instead of handcrafting a symbol. | |
367 | Determine signedness of enum type from enumerators. | |
368 | (dwarf_read_array_type): Handle variable length arrays. | |
369 | Use lookup_pointer_type instead of handcrafting a type. | |
370 | Create array type only if a DW_TAG_subrange_type was found. | |
371 | (read_tag_pointer_type, read_tag_reference_type): | |
372 | Use lookup_pointer_type and lookup_reference_type instead | |
373 | of handcrafting a type. | |
374 | (read_tag_ptr_to_member_type): New function to handle | |
375 | DW_TAG_ptr_to_member_type. | |
376 | (read_subroutine_type): Handle parameter dies. | |
377 | Use lookup_function_type instead of handcrafting a type. | |
378 | (read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef. | |
379 | (read_base_type): If the type has a name, use init_type to create | |
380 | a new type instead of second guessing a fundamental type. | |
381 | (read_comp_unit): Reset die reference table before building | |
382 | a new one. | |
383 | (dwarf2_read_section): Read section contents into psymbol_obstack. | |
384 | (dwarf2_read_abbrevs): Handle unterminated abbreviations | |
385 | for a compile unit gracefully. | |
386 | (read_partial_die): Zero partial die before reading its info. | |
387 | Handle DW_AT_declaration. | |
388 | Fix typo in handling of DW_FORM_block4. | |
389 | (read_full_die): Fix typo in handling of DW_FORM_block4. | |
390 | (read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes): | |
391 | New routines to get signed values from a buffer. | |
392 | (read_n_bytes, read_string): Allocate storage from the temporary | |
393 | obstack. If the host char size permits it, return pointer | |
394 | to buffer instead of allocating storage. | |
395 | (set_cu_language): Handle DW_LANG_Mips_Assembler. | |
396 | (dwarf_attr): Return NULL if reference die for DW_AT_specification | |
397 | or DW_AT_abstract_origin die is not found. | |
398 | (record_minimal_symbol): Removed, replaced with a direct call to | |
399 | prim_record_minimal_symbol, it now handles saving the string itself. | |
400 | (convert_locdesc): Removed, partial symtab reading now uses | |
401 | decode_locdesc. | |
402 | (dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute | |
403 | offset for the die reference. | |
404 | (dwarf_decode_lines): Complain if the line section info is missing. | |
405 | Use read_1_signed_byte to extract lh.line_base to avoid | |
406 | problems with compilers whose plain char is represented by an | |
407 | unsigned char. | |
408 | Add cleanups for allocated temporary storage. | |
409 | Start a subfile for the first file in the state machine. | |
410 | Fix off by one problem with dirs.dirs access. | |
411 | Use comp_dir when directory index is 0. | |
412 | Support multiple sequences (from Jason Merrill <jason@cygnus.com>). | |
413 | (dwarf2_start_subfile): Try to keep line numbers from identical | |
414 | absolute and relative file names in a common subfile. | |
415 | (new_symbol): Allocate symbol and symbol name on the symbol_obstack. | |
416 | Set SYMBOL_LINE from DW_AT_decl_line if present. | |
417 | Set SYMBOL_TYPE from passed type if not NULL. | |
418 | Change DW_TAG_variable symbol types with missing type entries | |
419 | to a sensible type. | |
420 | Handle optimized_out, offreg and islocal storage classes. | |
421 | Add external symbols with type information whose address isn't | |
422 | known as LOC_UNRESOLVED symbols. | |
423 | Synthesize typedefs for C++ classes, structs, unions and enumerations. | |
424 | Handle DW_TAG_enumerator symbols, complain for unrecognized | |
425 | symbol tags. | |
426 | (die_type): A missing DW_AT_type represents a void type. | |
427 | Use dwarf2_get_ref_die_offset to get the absolute offset for | |
428 | the die reference. | |
429 | (die_containing_type): New function to build type from | |
430 | DW_AT_containing_type attribut. | |
431 | (read_type_die): Handle DW_TAG_ptr_to_member_type. | |
432 | Treat DW_TAG_subprogram like DW_TAG_subroutine_type. | |
433 | (dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT | |
434 | fundamental type. | |
435 | (create_name): Removed, symbol name allocation is now done | |
436 | in new_symbol. | |
437 | (dump_die): Use print_address_numeric to print a CORE_ADDR. | |
438 | (dwarf2_empty_die_ref_table): New function to clear the die | |
439 | reference table. | |
440 | (dwarf2_get_ref_die_offset): New function to get the absolute | |
441 | die offset from a die reference attribute. | |
442 | (decode_locdesc): Complete rewrite using a stack, code mostly | |
443 | borrowed from dwarfread.c:locval. | |
444 | (dwarf_alloc_type): Removed, replaced by direct calls to alloc_type. | |
445 | (dwarf_alloc_block): Allocate block on temporary obstack. | |
446 | ||
447 | * elfread.c (elf_symtab_read): When handling Irix dynamic symbols, | |
448 | skip section name symbols and relocate all others. | |
449 | (elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero. | |
450 | ||
451 | * irix5-nat.c (fetch_core_registers): Handle core_reg_sect | |
452 | from N32 executables. Call registers_fetched after extracting | |
453 | the registers. | |
454 | (obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New | |
455 | definitions to enable support of O32 and N32 format objlists. | |
456 | (struct so_list): New members offset, so_name and lmstart to | |
457 | eliminate dependencies from the objlist format used. | |
458 | (solib_map_sections, symbol_add_stub, solib_add, | |
459 | info_sharedlibrary_command, solib_address, clear_solib): Use | |
460 | so_name and LM_OFFSET. | |
461 | (first_link_map_member): Rewrite to enable support of O32 and N32 | |
462 | format objlists. | |
463 | (next_link_map_member, xfer_link_map_member): New functions to | |
464 | support O32 and N32 format objlists. | |
465 | (find_solib): Use first_link_map_member, next_link_map_member and | |
466 | xfer_link_map_member. | |
467 | (solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of | |
468 | host signal numbers. | |
469 | ||
470 | * mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators): | |
471 | Pass CORE_ADDR variant to add_psymbol_to_list. | |
472 | ||
473 | * mips-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
474 | if we encounter a positive stack adjustment. Handle `move $30,$sp'. | |
475 | Handle `sd reg,offset($sp)' for 32 bit ABIs. | |
476 | ||
477 | * symmisc.c (dump_msymbols, print_partial_symbols): Use | |
478 | print_address_numeric to print a SYMBOL_VALUE_ADDRESS. | |
479 | (dump_symtab): Print compilation directory if it is not NULL. | |
480 | ||
481 | * valops.c (search_struct_field, value_struct_elt_for_reference): | |
482 | Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the | |
483 | address of a static member. | |
484 | ||
485 | Thu Nov 28 00:46:24 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
486 | ||
487 | * vax-tdep.c (vax_print_insn): Made static, modified to take | |
488 | disassemble_info as parameter. | |
489 | (_initialize_vax_tdep): New function to initialize tm_print_insn | |
490 | to vax_print_insn. | |
491 | ||
492 | Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
493 | ||
494 | * blockframe.c: Remove old-style CALL_DUMMY code. | |
495 | * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto. | |
496 | * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto. | |
497 | * sh-tdep.c, config/sh/tm-sh.h: Ditto. | |
498 | * v850-tdep.c, config/v850/tm-v850.h: Ditto. | |
499 | ||
500 | Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
501 | ||
502 | * breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint. | |
503 | * blockframe.c: Add target-independant support for managing | |
504 | CALL_DUMMY frames on the host side. | |
505 | * frame.h: Declarations for generic CALL_DUMMY frame support. | |
506 | * h8300-tdep.c: Add target function calls using generic frame support. | |
507 | * config/h8300/tm-h8300.h: config for generic target function calls. | |
508 | * m32r-tdep.c: Add target function calls using generic frame support. | |
509 | * config/m32r/tm-m32r.h: config for generic target function calls. | |
510 | * sh-tdep.c: Add target function calls using generic frame support. | |
511 | * config/sh/tm-sh.h: config for generic target function calls. | |
512 | * v850-tdep.c: Add target function calls using generic frame support. | |
513 | * config/v850/tm-v850.h: config for generic target function calls. | |
514 | * valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be | |
515 | done by PUSH_ARGUMENTS when there's no CALL_DUMMY. | |
516 | ||
517 | Tue Nov 26 19:21:35 1996 Mark Alexander <marka@cygnus.com> | |
518 | ||
519 | * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define. | |
520 | (mips_addr_bits_remove): Declare. | |
521 | * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post | |
522 | errors when hitting breakpoints during inferior function calls | |
523 | in 64-bit programs. | |
524 | (fix_sign_extension): Make public, rename to mips_addr_bits_remove. | |
525 | * utils.c (paddr_nz, preg_nz): New functions, similar to | |
526 | paddr and preg but don't print leading zeroes. | |
527 | * defs.h (paddr_nz, preg_nz): Declare. | |
528 | * remote-mips.c: Use paddr_nz instead of paddr throughout | |
529 | to reduce packet size. | |
530 | (pmon_end_download): Improve timeout error handling. | |
531 | ||
532 | Tue Nov 26 17:21:37 1996 Ian Lance Taylor <ian@cygnus.com> | |
533 | ||
534 | * configure: Rebuild with autoconf 2.12. | |
535 | ||
536 | Mon Nov 25 13:17:16 1996 Fred Fish <fnf@ninemoons.com> | |
537 | ||
538 | From: Paul Eggert <eggert@twinsun.com> | |
539 | * remote-bug.c (wait_strings): Avoid creating a trigraph. | |
540 | ||
541 | Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
542 | ||
543 | * valops.c (value_at, value_fetch_lazy): Put in D10V call | |
544 | to fix up address pointers. | |
545 | * values.c (value_from_longest): Removed previous d10v changes. | |
546 | * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes. | |
547 | ||
548 | Fri Nov 22 10:06:19 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
549 | ||
550 | * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for | |
551 | Unixware 1.1.2. | |
552 | ||
553 | Thu Nov 21 19:13:58 1996 Mark Alexander <marka@cygnus.com> | |
554 | ||
555 | * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN. | |
556 | (common_breakpoint): Use paddr instead of %x to print 64-bit values. | |
557 | (heuristic_proc_desc): Add tests for 64-bit instructions. | |
558 | (init_extra_frame_info, mips_push_arguments): Recognize additional | |
559 | registers for EABI. | |
560 | * remote-mips.c: Extend DDB target to allow TFTP downloads. | |
561 | * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS): | |
562 | Define. | |
563 | ||
564 | Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
565 | ||
566 | * infcmd.c (do_registers_info): Call val_print with the | |
567 | virtual buf instead of the raw buf. Needed for REGISTER_CONVERT | |
568 | to work with non-floating point regs. | |
569 | ||
570 | * d10v-tdep.c (d10v_skip_prologue): If we have line debugging | |
571 | information, then the end of the prologue should the first | |
572 | assembly instruction of the first source line. | |
573 | ||
574 | * values.c (value_from_longest): Put in D10V call to | |
575 | fix up address pointers. | |
576 | ||
577 | * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified. | |
578 | (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM. | |
579 | (REGISTER_CONVERTIBLE): Make PC and SP convertible. | |
580 | (REGISTER_CONVERT_TO_VIRTUAL): Define. | |
581 | (REGISTER_CONVERT_TO_RAW): Define. | |
582 | (D10V_MAKE_DADDR): Define. | |
583 | (D10V_MAKE_IADDR): Define. | |
584 | ||
585 | Wed Nov 20 16:15:15 1996 Geoffrey Noer <noer@cygnus.com> | |
586 | ||
587 | * config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC) | |
588 | -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb | |
589 | ||
590 | Wed Nov 20 00:43:09 1996 Doug Evans <dje@canuck.cygnus.com> | |
591 | ||
592 | * callback.h: Delete, moved to ../include. | |
593 | * callback.c: Delete, moved to ../sim/common. | |
594 | * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co]. | |
595 | (callback.o): Delete rule. | |
596 | * remote-sim.h: No longer include callback.h. | |
597 | (sim_callback_write_stdout): Delete prototype. | |
598 | * remote-sim.c (init_callbacks,end_callbacks): New functions. | |
599 | (gdb_os_write_stdout, gdb_os_printf_filtered): New functions. | |
600 | (gdb_callback, callbacks_initialized): New static globals. | |
601 | (gdbsim_open): Call init_callbacks. | |
602 | (gdbsim_close): Call end_callbacks. | |
603 | (simulator_command): Call init_callbacks. | |
604 | ||
605 | * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a. | |
606 | * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a. | |
607 | ||
608 | Mon Nov 18 15:58:05 1996 Jim Wilson <wilson@cygnus.com> | |
609 | ||
610 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST | |
611 | to ULONGEST. | |
612 | ||
613 | Fri Nov 15 15:34:18 1996 Fred Fish <fnf@cygnus.com> | |
614 | ||
615 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
616 | * procfs.c (wait_fd): Handle EINTR error return from poll | |
617 | by restarting the poll. | |
618 | * defs.h (PIDGET): Define a default version that just | |
619 | returns its argument unchanged. | |
620 | * inflow.c (terminal_init_inferior): Eliminate #ifdef | |
621 | of PIDGET and fold both alternatives into common code. | |
622 | (pass_signal): Use PIDGET for pid passed to kill(). | |
623 | ||
624 | Thu Nov 14 15:54:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
625 | ||
626 | * utils.c (paddr,preg): Use a static variable initialized to 32 | |
627 | instead of doing addr>>32 to eliminate a warning produced by GCC | |
628 | on 32-bit systems. | |
629 | ||
630 | * config/d10v/tm-d10v.h (ULONGEST): Define. | |
631 | ||
632 | Tue Nov 12 12:25:27 1996 Jim Wilson <wilson@cygnus.com> | |
633 | ||
634 | * c-typeprint.c (cp_type_print_method_args): Pass -1 for show in | |
635 | recursive call to type_print. | |
636 | ||
637 | Tue Nov 12 12:18:29 1996 Jim Wilson <wilson@cygnus.com> | |
638 | ||
639 | * defs.h (ULONGEST): New macro. | |
640 | * alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c, | |
641 | corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y, | |
642 | m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c, | |
643 | valarith.c, valops.c, values.c, config/gould/tm-np1.h, | |
644 | config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c, | |
645 | mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c: | |
646 | Change all occurances of unsigned LONGEST to ULONGEST. | |
647 | ||
648 | * configure.host (mips-sgi-irix6): Add. | |
649 | ||
650 | Tue Nov 12 12:16:40 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
651 | ||
652 | * sh-tdep.c: Add functionality for target function calls. | |
653 | * config/sh/tm-sh.h: Add support for target function calls. | |
654 | ||
655 | Tue Nov 12 12:06:58 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
656 | ||
657 | * m32r-tdep.c: Add functionality for target function calls. | |
658 | * valops.c: Small change to support target function calls. | |
659 | * config/m32r/tm-m32r.h: Add support for target function calls. | |
660 | ||
661 | Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com> | |
662 | ||
663 | * defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked | |
664 | instead of _WIN32. | |
665 | * win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should | |
666 | be included instead of windefs.h for compilers other than | |
667 | VC++). | |
668 | * mswin/windefs.h: Remove ^Ms and change C++ style comments | |
669 | to C style comments. | |
670 | ||
671 | Mon Nov 11 14:32:38 1996 Mark Alexander <marka@cygnus.com> | |
672 | ||
673 | * utils.c (get_cell): Fix off-by-one bug. | |
674 | * mips-tdep.c (get_frame_pointer, fix_sign_extension): | |
675 | New functions to consolidate common code. | |
676 | (mips_frame_chain, init_extra_frame_info): Use new functions | |
677 | to fix problems with backtrace and finish commands on ddb board. | |
678 | ||
679 | Mon Nov 11 12:59:00 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
680 | ||
681 | * mips-tdep.c, remote-mips.c, values.c, mdebugread.c, | |
682 | config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. | |
683 | * defs.h: Cleanup; add prototypes. | |
684 | * corefile.c: Change FIXME #ifdef | |
685 | * win32-nat.c: Include windefs instead of windows.h. | |
686 | * utils.c: Add routines for printing addresses and registers | |
687 | based on type size. | |
688 | ||
689 | Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
690 | ||
691 | * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue | |
692 | if we encounter a positive stack adjustment. | |
693 | (find_proc_desc): If heuristic_fence_post is non-zero, use | |
694 | heuristic_proc_start to determine the start of a function before | |
695 | calling heuristic_proc_desc. | |
696 | ||
697 | * coffread.c (coff_symtab_read): Change minimal symbol types | |
698 | for C_LABEL symbols from mst_* to mst_file_*. | |
699 | ||
700 | * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
701 | ||
702 | * configure.in: Handle error message from sun3 native ld when | |
703 | configuring HLDFLAGS. | |
704 | * configure: Regenerated with autoconf. | |
705 | ||
706 | * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET. | |
707 | * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure | |
708 | that the virtual base pointer from an user object still points to | |
709 | accessible memory. | |
710 | ||
711 | * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to | |
712 | clear the recently added header_files fields. | |
713 | (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak. | |
714 | ||
715 | Fri Nov 8 14:30:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
716 | ||
717 | * config/tm-sh.h: Added a missing comma in middle of | |
718 | REGISTER_NAMES list. | |
719 | ||
720 | Fri Nov 8 12:29:51 1996 Stan Shebs <shebs@andros.cygnus.com> | |
721 | ||
722 | * monitor.c: Fix some formatting and comments. | |
723 | ||
724 | * remote-sim.c (simulator_command): Set up callbacks before | |
725 | entering the simulator. | |
726 | ||
727 | Thu Nov 7 15:19:08 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
728 | ||
729 | * d10v-tdep.c: Fix some problems with inferior function calls. | |
730 | * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be | |
731 | a pointer to the dummy's stack instead of just a flag. | |
732 | ||
733 | Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
734 | ||
735 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
736 | * config/tm-m32r.h: Add framesize and register to extra_frame_info. | |
737 | ||
738 | Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com) | |
739 | ||
740 | * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR. | |
741 | * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth | |
742 | to fix divide-by-zero problem with clicking on source window. | |
743 | ||
744 | Mon Nov 4 00:48:37 1996 Stu Grossman (grossman@critters.cygnus.com) | |
745 | ||
746 | * mswin/recordit: Fix problem with absolute paths. | |
747 | * mswin/recordit: Fix problem with relative paths. | |
748 | ||
749 | Sun Nov 3 18:06:42 1996 Stu Grossman (grossman@critters.cygnus.com) | |
750 | ||
751 | * mswin/{Makefile.in configure configure.in}: New files for | |
752 | configuring wingdb under Unix. | |
753 | ||
754 | Sat Nov 2 03:54:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
755 | ||
756 | * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle | |
757 | missing or zero-sized .text sections properly. | |
758 | * mdebugread.c: Handle scRConst and scSUndefined storage classes. | |
759 | * stabsread.c (scan_file_globals): Try to resolve symbols | |
760 | for shared libraries from the minimal symbol table of the main | |
761 | executable first. | |
762 | ||
763 | Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
764 | ||
765 | * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support | |
766 | inferior function calls and proper stack backtracing on D10V-EVA | |
767 | board. | |
768 | ||
769 | Fri Nov 1 10:50:51 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
770 | ||
771 | * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it | |
772 | links. | |
773 | (GDBSERVER_DEPFILES,TERMCAP): Ditto. | |
774 | ||
775 | * monitor.c (dev_name,targ_ops): Move static variables before | |
776 | first use, to avoid compiler warnings. | |
777 | ||
778 | Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
779 | ||
780 | * m32r-tdep.c: Improved frame_chain and fn prologue analysis. | |
781 | * configure.tgt: Add entry for m32r target. | |
782 | * monitor.h: Add a flag to tell monitor_store_register to use | |
783 | (val, regno) instead of (regno, val). | |
784 | * monitor.c: Make monitor_store_register honor the above flag. | |
785 | Make monitor_exp ignore DC1/DC3 for m32r. | |
786 | Increase buf size in monitor_dump_regs. | |
787 | ||
788 | Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
789 | ||
790 | * m32r-tdep.c, m32r-rom.c: New files. | |
791 | * config/m32r/m32r.mt: New file. | |
792 | * config/m32r/tm-m32r.h: New file. | |
793 | ||
794 | Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com> | |
795 | ||
796 | * config/i386/xm-cygwin32.h: | |
797 | * config/powerpc/xm-cygwin32.h: | |
798 | add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly | |
799 | truncated. | |
800 | ||
801 | Tue Oct 29 18:36:43 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
802 | ||
803 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE): | |
804 | Define. | |
805 | ||
806 | Tue Oct 29 14:59:20 1996 Stan Shebs <shebs@andros.cygnus.com> | |
807 | ||
808 | * TODO: Add item suggesting an "info bfd" command. | |
809 | ||
810 | Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
811 | ||
812 | * d10v-tdep.c: Snapshot that supports D10V-EVA board. | |
813 | ||
814 | * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. | |
815 | (TARGET_READ_FP,TARGET_WRITE_FP): Define. | |
816 | ||
817 | Mon Oct 28 17:34:24 1996 Stu Grossman (grossman@critters.cygnus.com) | |
818 | ||
819 | * mswin/genmakes mswin/recordit: New scripts to generate make | |
820 | files for MSVC. | |
821 | ||
822 | Sun Oct 27 20:18:04 1996 Mark Alexander <marka@cygnus.com> | |
823 | ||
824 | * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}: | |
825 | New files. | |
826 | * configure.tgt: Modify cases for vr5000 to use new files. | |
827 | ||
828 | Sat Oct 26 07:15:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
829 | ||
830 | * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0. | |
831 | ||
832 | * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing | |
833 | the entry to the exit system call to detect termination of the | |
834 | inferior stopped working. Trace termination of the inferior via | |
835 | PRFS_STOPTERM instead. | |
836 | (procfs_init_inferior): Do not trace entry to exit system call | |
837 | if PIOCSSPCACT is defined. | |
838 | (procfs_wait): Handle PR_DEAD event, which signals the termination | |
839 | of the inferior if PRFS_STOPTERM is set. | |
840 | ||
841 | * mdebugread.c (parse_partial_symbols): Ignore stNil section | |
842 | start address symbols. | |
843 | ||
844 | * sparc-tdep.c (get_saved_register): Get saved PC from the | |
845 | frame info if not in innermost frame. | |
846 | ||
847 | Thu Oct 24 10:51:45 1996 Mark Alexander <marka@cygnus.com> | |
848 | ||
849 | * dbxread.c (process_one_symbol): Interpret end-of-function | |
850 | markers correctly; this fixes problem on Vr5000 where all | |
851 | functions in a module had the same address. | |
852 | * configure.in, configure.tgt, configure.host, gdbserver/configure.in: | |
853 | Correct for pc-linux-gnu problem in config.guess. | |
854 | * configure: Regenerate. | |
855 | ||
856 | Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com) | |
857 | ||
858 | * dbxread.c: Don't swap symbols in place, since internal and | |
859 | external forms may have different sizes. Don't assume that an | |
860 | internal_nlist has the same layout as an external_nlist. Create | |
861 | symbol for n_strx element so to hide specifics of nlist from | |
862 | partial-stab.h. | |
863 | * partial-stab.h: Don't reference dbxread symbols directly. Use | |
864 | CUR_SYMBOL_STRX instead. | |
865 | * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. | |
866 | ||
867 | * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for | |
868 | MSVC builds. | |
869 | * mswin/gdbwin.c (reg_order): Define register order for V850. | |
870 | * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for | |
871 | V850. | |
872 | * mswin/regdoc.h: Define MAXREGS for V850. | |
873 | ||
874 | Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com) | |
875 | ||
876 | * v850-tdep.c (scan_prologue): Changes to deal with scheduled | |
877 | prologues correctly. First, prologue end is now defined by | |
878 | presence of a branch, jump or call insn. Second, can no longer | |
879 | fix frame offsets because we may not know the offset until after a | |
880 | register has been saved. | |
881 | * (v850_init_extra_frame_info): Fixup frame offsets here because | |
882 | we have all the info at this time. | |
883 | * (v850_frame_chain): Use new calling convention for scan_prologue. | |
884 | ||
885 | Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
886 | ||
887 | * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack | |
888 | backtraces and inferior function calls. | |
889 | ||
890 | Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com> | |
891 | ||
892 | * mpw-make.sed: Update init.c editing to work with Oct 8 change. | |
893 | (@HLDFLAGS@): Always edit out. | |
894 | ||
895 | Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com> | |
896 | ||
897 | * mdebugread.c (parse_partial_symbols): Fix 64-bit | |
898 | sign-extension problems in calculating psymtab addresses. | |
899 | * buildsym.c (end_symtab): Use macro to pop context. | |
900 | ||
901 | Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com) | |
902 | ||
903 | * v850-tdep.c: Cleanup lots of things. Add many comments. | |
904 | ||
905 | * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix | |
906 | sign bugs with scanning prologues. Get a little smarter about | |
907 | calculating the length of uninteresting instructions. | |
908 | ||
909 | Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com> | |
910 | ||
911 | * top.c: Add new commands "set annotate" and "show annotate". | |
912 | ||
913 | Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
914 | ||
915 | * corelow.c (core_close): Clear inferior_pid only if there is | |
916 | an open core_bfd. | |
917 | ||
918 | * cp-valprint.c (cp_print_value_fields): Pass correct address | |
919 | to val_print, not 0. | |
920 | ||
921 | From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): | |
922 | * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase | |
923 | typedefs before checking for integral type of right operand. | |
924 | ||
925 | Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com> | |
926 | ||
927 | * mdebugread.c (parse_symbol): Fix crash when malloc has | |
928 | no type info and void type has no associated pointer type. | |
929 | ||
930 | Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com> | |
931 | ||
932 | * configure.host: New file, host configuration mapping. | |
933 | * configure.tgt: New file, target configuration mapping. | |
934 | * configure.in: Remove host and target mapping. | |
935 | * configure: Rebuild. | |
936 | ||
937 | Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com> | |
938 | ||
939 | * breakpoint.c (must_shift_inst_regs): New global. | |
940 | (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into | |
941 | equivalent expression uses. | |
942 | * infrun.c (wait_for_inferior): Ditto. | |
943 | ||
944 | Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com) | |
945 | ||
946 | * v850-tdep.c (v850_push_arguments): Use symbolic names for arg | |
947 | registers. | |
948 | * config/v850/tm-v850.h: Change FP to 29. Define arg regs. | |
949 | ||
950 | Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com) | |
951 | ||
952 | * Makefile.in (init.c): Don't use -s option with grep. It means | |
953 | something different under Digital Unix. | |
954 | ||
955 | * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and | |
956 | LOC_LOCAL_ARG as arguments so that GDB will know about function | |
957 | args declared this way. Mostly affects dwarf. | |
958 | * dwarfread.c (decode_die_type): Change default type from int to | |
959 | void. This allows GDB to recognize void functions. | |
960 | * (new_symbol): If AT_PROTOTYPED is present, set a flag in the | |
961 | type structure. | |
962 | * findvar.c (extract_floating store_floating): Clean up comments | |
963 | to reflect reality. | |
964 | * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a | |
965 | function has a prototype. Currently, only dwarf supports this. | |
966 | * utils.c (floatformat_from_doublest): Fix logic error with | |
967 | converting from double to float. (It wasn't shifting mant_long if | |
968 | it had a hidden bit.) | |
969 | * v850-tdep.c: Add support for function calling. Fix some | |
970 | problems with debugging code w/o debug symbols. | |
971 | * config/v850/tm-v850.h: Ditto. | |
972 | ||
973 | Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
974 | ||
975 | * utils.c: Always ensure that size_t is defined. Check | |
976 | HAVE_STDDEF_H rather than __STDC__ | |
977 | (xmalloc, xrealloc): Use size_t rather than long. | |
978 | ||
979 | Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
980 | ||
981 | * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets | |
982 | can use single-step commands. | |
983 | ||
984 | Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
985 | ||
986 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero, | |
987 | follow typedefs before checking TYPE_CODE for structures and unions. | |
988 | ||
989 | Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com) | |
990 | ||
991 | * frame.h: Move definition of struct frame_saved_regs to before | |
992 | struct frame to make it possible to use frame_saved_regs in | |
993 | EXTRA_FRAME_INFO macro. | |
994 | ||
995 | * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and | |
996 | macros to make frame operations (such as backtrace) work. | |
997 | ||
998 | Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com> | |
999 | ||
1000 | * dbxread.c (process_one_symbol): Check for null string directly | |
1001 | rather than using strcmp against "". | |
1002 | * partial-stab.h: Ditto. | |
1003 | ||
1004 | Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com> | |
1005 | ||
1006 | * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: | |
1007 | Make it compile on Linux and eliminate some warnings. | |
1008 | ||
1009 | Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1010 | ||
1011 | * Makefile.in (init.c): Fixup final sed script to work around | |
1012 | Linux bug with `p' operator. | |
1013 | ||
1014 | Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1015 | ||
1016 | * remote-mips.c: Use the correct name everywhere (DDB) for NEC's | |
1017 | VR4300 target. | |
1018 | (ddb_ops, pmon_ops): Fix the documentation strings. | |
1019 | ||
1020 | Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1021 | ||
1022 | * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip | |
1023 | filenames with sed instead. | |
1024 | ||
1025 | Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1026 | ||
1027 | * defs.h: Remove decls of xmalloc and xrealloc. There is a | |
1028 | conflicting definition in libiberty.h. | |
1029 | ||
1030 | Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com> | |
1031 | ||
1032 | * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather | |
1033 | than poking global variable (which is now static). | |
1034 | * hpread.c (hpread_build_psymtabs): Ditto. | |
1035 | * os9kread.c (os9k_symfile_read): Ditto. | |
1036 | * xcoffread.c (xcoff_initial_scan): Ditto. | |
1037 | ||
1038 | * buildsym.h (free_pending_blocks): Declare here. | |
1039 | (pending_blocks): Remove declaration of global symbol. | |
1040 | (free_pendings): Remove declaration of global symbol. | |
1041 | (make_blockvector): Declare here. | |
1042 | (record_pending_block): Declare here. | |
1043 | ||
1044 | * dstread.c (make_blockvector): Remove static copy that was old | |
1045 | clone of version in buildsym.c. | |
1046 | (process_dst_block): Call record_pending_block rather than doing | |
1047 | it by hand. | |
1048 | (read_dst_symtab): Ditto. | |
1049 | ||
1050 | * buildsym.c (make_blockvector): Make global rather than static, | |
1051 | (record_pending_block): New function, code moved from finish_block. | |
1052 | (finish_block): Use record_pending_block. | |
1053 | (free_pending_blocks): New function. | |
1054 | (really_free_pendings): Call free_pending_blocks. | |
1055 | (pending_blocks): Make static instead of global. | |
1056 | (free_pendings): Make static instead of global. | |
1057 | ||
1058 | Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1059 | ||
1060 | * config/i386/windows.mh config/i386/xm-windows.h:: New config | |
1061 | files to support building Wingdb (built under Microsoft build | |
1062 | environment). | |
1063 | ||
1064 | * Makefile.in: Add rule for hpux-thread.o (needs special header | |
1065 | files). | |
1066 | * (SUBDIRS): Remove mswin. | |
1067 | * Change procedure for creating init.c. Speeds things up quite a | |
1068 | bit. | |
1069 | * config.in configure configure.in: Check for select, poll. | |
1070 | * Check for OSF header files before including hpux-thread.o. | |
1071 | * Don't configure doc or testsuite when building under MSVC. | |
1072 | * findvar.c value.h (read_register_pid write_register_pid): Make | |
1073 | global. Needed for hppa-tdep.c. | |
1074 | * (supply_register): Don't set pid to inferior_pid when supplying | |
1075 | registers. | |
1076 | * hppa-tdep.c (saved_pc_after_call): frame_saved_pc -> | |
1077 | FRAME_SAVED_PC. | |
1078 | * (frame_saved_pc): Change name to hppa_frame_saved_pc. | |
1079 | * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc. | |
1080 | Use write_pc instead, which uses the correct pid. | |
1081 | * (target_read_pc target_write_pc): Use read/write_register_pid | |
1082 | instead of read/write_register to preserve the pid passed in. | |
1083 | * inftarg.c (child_can_run): Add flag child_suppress_run to allow | |
1084 | hpux-threads.c to override this as a runnable target. | |
1085 | * config/pa/nm-hppah.h: Define target_new_objfile and | |
1086 | target_pid_to_str. | |
1087 | * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc | |
1088 | instead of frame_saved_pc. | |
1089 | * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb. | |
1090 | * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since | |
1091 | we can't easily determine the start file bounds with ELF. | |
1092 | * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb. | |
1093 | * hpux-thread.c: New file for HPUX/OSF thread support. | |
1094 | * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h | |
1095 | RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h | |
1096 | cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h | |
1097 | cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h | |
1098 | cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF | |
1099 | thread support. | |
1100 | ||
1101 | Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com> | |
1102 | ||
1103 | * buildsym.c (finish_block): Change innerblock_anon_complaint to | |
1104 | print the addresses as part of the complaint. Add a complaint for | |
1105 | cases where the block end address is smaller than the block start | |
1106 | address, in case any such conditions slip through our fixup mechanism. | |
1107 | * symmisc.c (dump_symtab): Only print blockvector for primary | |
1108 | symtabs, to avoid massive duplication of output due to secondary | |
1109 | symtabs that point to same blockvector. Also do some minor | |
1110 | formatting tweaks. | |
1111 | ||
1112 | Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com> | |
1113 | ||
1114 | Replace header_files global by per-objfile field. | |
1115 | * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files, | |
1116 | n_header_files, n_allocated_header_files. | |
1117 | * stabsread.h (header_files, n_header_files, n_allocated_header_files): | |
1118 | Replace externs by macros HEADER_FILES, N_HEADER_FILES, and | |
1119 | N_ALLOCATED_HEADER_FILES. | |
1120 | * dbxread.c (dbx_symfile_finish): Free HEADER_FILES. | |
1121 | (free_header_files, init_header-files): Don't free/init headerfiles. | |
1122 | (various functions): Use macros instead of header_files globals. | |
1123 | * stabsread.c (various functions): Likewise. | |
1124 | ||
1125 | Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com> | |
1126 | ||
1127 | * dwarf2read.c (read_tag_reference_type): New fn. | |
1128 | (read_type_die): Call it. | |
1129 | (dwarf_attr): Also look in the DIEs referred to by specification | |
1130 | or abstract_origin attributes. | |
1131 | ||
1132 | Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com> | |
1133 | ||
1134 | * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and | |
1135 | SIGTRAMP_END. | |
1136 | * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): | |
1137 | Define with dummy pc arg. | |
1138 | * config/m68k/tm-nbsd.h: Ditto. | |
1139 | * doc/gdbint.texinfo: Document that SIGTRAMP_START and | |
1140 | SIGTRAMP_END are macros that take an single argument. | |
1141 | ||
1142 | Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com> | |
1143 | ||
1144 | * defs.h: Remove define of PRIVATE_XMALLOC. | |
1145 | ||
1146 | Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1147 | ||
1148 | * config/v850/tm-v850.h: Use distinct register for PC, not EIPC. | |
1149 | ||
1150 | Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com) | |
1151 | ||
1152 | * top.c (execute_control_command): Free values from while_control | |
1153 | and if_control conditions after evaluation to avoid storage leaks. | |
1154 | From Peter Schauer. | |
1155 | ||
1156 | Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1157 | ||
1158 | * configure configure.in: Recognize v850 target. | |
1159 | * v850-tdep.c: New file, NEC V850 target support. | |
1160 | * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support. | |
1161 | ||
1162 | Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1163 | ||
1164 | * infrun.c (wait_for_inferior): Update current_line and | |
1165 | current_symtab when stepping continues in the middle of a new line. | |
1166 | ||
1167 | Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com> | |
1168 | ||
1169 | * top.c (print_gdb_version): Rewrote to comply with new GNU coding | |
1170 | standards for the --version option. | |
1171 | (print_gnu_advertisement): Remove, now part of print_gdb_version. | |
1172 | (show_version): Remove call to print_gnu_advertisement. | |
1173 | * top.h (print_gnu_advertisement): Remove prototype. | |
1174 | * main.c (print_gdb_help): Move help to static function and | |
1175 | add prototype. | |
1176 | (main): Call print_gdb_help rather than inlining it. | |
1177 | (main): Remove call to print_gnu_advertisement. | |
1178 | ||
1179 | Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1180 | ||
1181 | * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define. | |
1182 | (TARGET_{,LONG_}DOUBLE_BIT): Ditto. | |
1183 | ||
1184 | Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com> | |
1185 | ||
1186 | * configure.in, config/i386/tm-linux.h: Fix configure | |
1187 | problem on older Linux systems that prevented core files | |
1188 | from being recognized. | |
1189 | ||
1190 | Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1191 | ||
1192 | * dbug-rom.c: New file, support for Motorola's dBUG monitor. | |
1193 | * config/m68k/monitor.mt (TDEPFILES): Add it. | |
1194 | * NEWS: Mention it. | |
1195 | ||
1196 | Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1197 | ||
1198 | * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. | |
1199 | Now single-steps correctly. | |
1200 | * d10v-tdep.c (d10v_pop_frame): Fixed. | |
1201 | ||
1202 | Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1203 | ||
1204 | * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to | |
1205 | be consistent with GCC. | |
1206 | (FPUL_REGNUM, etc): Renumber to match list changes. | |
1207 | (ADDR_BITS_REMOVE): Delete. | |
1208 | * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names): | |
1209 | Rearrange to match REGISTER_NAMES. | |
1210 | * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto. | |
1211 | ||
1212 | Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1213 | ||
1214 | * d10v-tdep.c: Stack chain should work now. | |
1215 | ||
1216 | Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1217 | ||
1218 | * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot. | |
1219 | ||
1220 | Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com> | |
1221 | ||
1222 | * configure.in: Add cases for MIPS 5000 like MIPS 4300. | |
1223 | * configure: Rebuild. | |
1224 | ||
1225 | Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
1226 | ||
1227 | * ser-e7kpc.c: Added wingdb support for target e7000pc. | |
1228 | ||
1229 | Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1230 | ||
1231 | * remote-mips.c (pmon_wait): DDB PMON does not require forced | |
1232 | re-entry back into debug mode. | |
1233 | ||
1234 | Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1235 | ||
1236 | * remote-mips.c (mips_load): Ensure that the PC is explicitly | |
1237 | loaded after a load to a DDB PMON system. | |
1238 | ||
1239 | Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com> | |
1240 | ||
1241 | * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list. | |
1242 | (HLDENV): Set to @HLDENV@. | |
1243 | (gdb): Prefix link command line with $(HLDENV). | |
1244 | * configure.in: Add support to test for --enable-shared and | |
1245 | generate appropriate values for HLDFLAGS and HLDENV. | |
1246 | * configure: Regenerated with autoconf. | |
1247 | ||
1248 | Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com> | |
1249 | ||
1250 | * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype | |
1251 | change for core_read_registers in struct core_fns. | |
1252 | * core-regset.c (fetch_core_registers): Ditto & add prototype. | |
1253 | * core-sol2.c (fetch_core_registers): Ditto & add prototype. | |
1254 | * i386aix-nat.c (fetch_core_registers): Ditto & add prototype. | |
1255 | * i386b-nat.c (fetch_core_registers): Ditto. | |
1256 | * i386mach-nat.c (fetch_core_registers): Ditto & add prototype. | |
1257 | * irix4-nat.c (fetch_core_registers): Ditto. | |
1258 | * irix5-nat.c (fetch_core_registers): Ditto. | |
1259 | * lynx-nat.c (fetch_core_registers): Ditto & add prototype. | |
1260 | * m68knbsd-nat.c (fetch_core_registers): Ditto. | |
1261 | * mips-nat.c (fetch_core_registers): Ditto & add prototype. | |
1262 | * rs6000-nat.c (fetch_core_registers): Ditto. | |
1263 | * sparc-nat.c (fetch_core_registers): Ditto. | |
1264 | * sun3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1265 | * ultra3-nat.c (fetch_core_registers): Ditto & add prototype. | |
1266 | ||
1267 | * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change. | |
1268 | * delta68-nat.c (register_addr): Ditto. | |
1269 | * gdbserver/low-linux.c (register_addr): Ditto. | |
1270 | * gdbserver/low-hppabsd.c (register_addr): Ditto. | |
1271 | * i386m3-nat.c (register_addr): Ditto. | |
1272 | * mips-nat.c (register_addr): Ditto. | |
1273 | * ultra3-nat.c (register_addr): Ditto. | |
1274 | ||
1275 | Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1276 | ||
1277 | * blockframe.c (inside_main_func): Cleanup slightly. Move | |
1278 | mainsym def into the block it's used in. | |
1279 | * configure.in configure: Allow NATDEPFILES to be recognized in | |
1280 | .mh files regardless of whitespace. | |
1281 | ||
1282 | * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to | |
1283 | keep downloads from hanging. | |
1284 | ||
1285 | * remote-wiggler.c: Add support for flash upgrades. | |
1286 | * (wiggler_error): Fix message format. Add new error code. | |
1287 | * (wiggler_write_byets): Error code is hex. Report errors with | |
1288 | proper routine name. | |
1289 | * (wiggler_read_byets): Report errors with proper routine name. | |
1290 | * (get_packet): Add support for new flash commands. | |
1291 | * (wiggler_load): Call clear_symtab_users() to reset things | |
1292 | properly after download. | |
1293 | * (flash_xfer_memory bdm_update_flash_command): New funxtions to | |
1294 | support flash upgrades for Wiggler. | |
1295 | * (_initialize_remote_wiggler): Add `bdm update-flash' command. | |
1296 | ||
1297 | Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com> | |
1298 | ||
1299 | * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__ | |
1300 | ||
1301 | Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com> | |
1302 | ||
1303 | * config/i386/cygwin32.mh: | |
1304 | * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts | |
1305 | ||
1306 | Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com> | |
1307 | ||
1308 | * value.h (COERCE_REF): Fix previous change. | |
1309 | (COERCE_ENUM): Add a check_typedef (this is the real fix). | |
1310 | ||
1311 | Thu Sep 5 03:28:30 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
1312 | ||
1313 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a | |
1314 | better check of array boundaries. | |
1315 | ||
1316 | Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1317 | ||
1318 | * configure: Update aclocal.m4 and re-run autoconf to get correct | |
1319 | defs for BFD stuff. | |
1320 | * remote-wiggler.c (wiggler_error): Error codes are hex. Also, | |
1321 | fix default message generation. | |
1322 | ||
1323 | Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1324 | ||
1325 | * Makefile.in: Add mswin to SUBDIRS. Add rules for | |
1326 | mswin/libwingdb.a and remote-wiggler.o. | |
1327 | * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. | |
1328 | * (breakpoint_inserted_here_p): New func, just like | |
1329 | breakpoint_here_p, except it's honest. Honestly. | |
1330 | * breakpoint.h: Proto for above. | |
1331 | * configure configure.in: Add mswin to configdirs if host is | |
1332 | i[3456]86-*-windows. | |
1333 | * core-aout.c (fetch_core_registers register_addr) gdbcore.h: | |
1334 | Change all vars that can contain addresses to type CORE_ADDR. | |
1335 | * findvar.c (supply_register): Allow val to be NULL. This means | |
1336 | that regno is unsupported. | |
1337 | * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms | |
1338 | just call pid forms with inferior_pid so that there's only once | |
1339 | place to hack PC's and such. | |
1340 | * infrun.c (proceed): Don't skip breakpoints if user changed PC. | |
1341 | * remote-wiggler.c: New file. Support for BDM interface from | |
1342 | Macraigor Systems. | |
1343 | * serial.c: Enhance serial logging capability. Add hex and octal | |
1344 | output modes (set remotelogbase {hex|octal|ascii}. Also log | |
1345 | breaks, timeouts, errors, and eofs. | |
1346 | * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper | |
1347 | function so that we can log breaks. Don't export serial_logfile | |
1348 | or serial_logfp. | |
1349 | * top.c (execute_command): Don't test for serial_logfp here. | |
1350 | Just call serial_log_comand, and let serial.c sort it out. | |
1351 | * valops.c (value_of_variable): Don't attempt to establish frames | |
1352 | for static and global variables. This makes things work a bit | |
1353 | better if the stack or frame pointer is trashed. | |
1354 | * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. | |
1355 | * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack | |
1356 | misaligned stacks during function calls. | |
1357 | ||
1358 | Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com> | |
1359 | ||
1360 | * terminal.h: Don't use #elif. | |
1361 | ||
1362 | Wed Sep 4 06:49:35 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
1363 | ||
1364 | * ch-exp.c (parse_tuple_element): Allow (*): for array tuples | |
1365 | if we have a type. | |
1366 | ||
1367 | * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: | |
1368 | check number of args against bounds of array to avoid | |
1369 | memory corruption. | |
1370 | ||
1371 | * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get | |
1372 | a TYPE_CODE_TYPEDEF. | |
1373 | ||
1374 | Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1375 | ||
1376 | * remote-mips.c: Provide support for DDBVR4300 target board. | |
1377 | (ddb_open, ddb_ops): Added. | |
1378 | (mips_monitor_type): MON_DDB Added. | |
1379 | (mips_enter_debug, mips_exit_debug, mips_initialize, | |
1380 | mips_fetch_registers, common_breakpoint, mips_load, | |
1381 | _initialize_remote_mips): Updated. | |
1382 | ||
1383 | Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1384 | ||
1385 | * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro. | |
1386 | * nlm/configure: Regenerate. | |
1387 | ||
1388 | * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for | |
1389 | pentium pro. | |
1390 | ||
1391 | Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com> | |
1392 | ||
1393 | * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run | |
1394 | CY_AC_LOAD_TCLCONFIG. | |
1395 | * configure: Rebuild. | |
1396 | ||
1397 | Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com> | |
1398 | ||
1399 | * infrun.c (wait_for_inferior): Initialize stop_func_end before calling | |
1400 | find_pc_partial_function. | |
1401 | ||
1402 | Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1403 | ||
1404 | * configure: Regenerate again. | |
1405 | ||
1406 | Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com> | |
1407 | ||
1408 | * configure.in: work around host_alias configure bug. | |
1409 | AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL | |
1410 | and second by AC_CANONICAL_SYSTEM). The second clobbers the | |
1411 | previous setting. Circumventing by moving the second check | |
1412 | to before the first. | |
1413 | * configure: regenerated | |
1414 | ||
1415 | Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
1416 | ||
1417 | * config/d10v/d10v.mt: New file. | |
1418 | * config/d10v/tm-d10v.h: New file. | |
1419 | * configure.in: New target D10V. | |
1420 | * d10v-tdep.c: New file. | |
1421 | ||
1422 | Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com> | |
1423 | ||
1424 | * rs6000-tdep.c: Fix typo in comment. | |
1425 | * valops.c (call_function_by_hand): Set using_gcc to 2 | |
1426 | for code compiled without -g, per comment in code. | |
1427 | * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment. | |
1428 | * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment. | |
1429 | * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment. | |
1430 | * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment. | |
1431 | * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment. | |
1432 | * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1433 | (STACK_ALIGN): Add comment, move to be with other associated | |
1434 | macros, and document. | |
1435 | * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1436 | (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS. | |
1437 | * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1438 | * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely, | |
1439 | handled by PUSH_ARGUMENTS. | |
1440 | (PUSH_ARGUMENTS): Enclose args in ()'s. | |
1441 | ||
1442 | Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1443 | ||
1444 | * infrun.c (wait_for_inferior): Try to reenable shared library | |
1445 | breakpoints even if auto_solib_load is not set. | |
1446 | ||
1447 | Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com> | |
1448 | ||
1449 | * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as | |
1450 | PRINTF_HAS_LONG_LONG. | |
1451 | * expprint.c (dump_expression): Ditto. | |
1452 | * configure.in: Fix check for long long support in compiler to | |
1453 | use a function body, not a nested function. | |
1454 | * configure: Rebuild with autoconf. | |
1455 | ||
1456 | Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com> | |
1457 | ||
1458 | * aclocal.m4: Include ../bfd/aclocal.m4. | |
1459 | * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call | |
1460 | BFD_NEED_DECLARATION on malloc, realloc, and free. | |
1461 | * acconfig.h: Add NEED_DECLARATION_MALLOC, | |
1462 | NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE. | |
1463 | * configure, config.in: Rebuild. | |
1464 | * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H | |
1465 | rather than __STDC__. Only declare malloc, realloc, and free if | |
1466 | NEED_DECLARATION_* is defined. | |
1467 | ||
1468 | Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com> | |
1469 | ||
1470 | * solib.c (_initialize_solib): Add missing '\' chars at ends of | |
1471 | strings that continue on next line. | |
1472 | (enable_break): Replace "return 0" with setting success to zero | |
1473 | and letting normal return handle the return. | |
1474 | ||
1475 | Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com> | |
1476 | ||
1477 | * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr | |
1478 | are properly aligned. | |
1479 | ||
1480 | Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1481 | ||
1482 | * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments. | |
1483 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments | |
1484 | to function, declare function correctly. | |
1485 | ||
1486 | Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
1487 | ||
1488 | * symtab.h: changed namespace to _namespace for compiling under | |
1489 | MFC v4.0. | |
1490 | ||
1491 | Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1492 | ||
1493 | * mpw-make.sed: Update for various recent changes, add some | |
1494 | comments. | |
1495 | ||
1496 | Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
1497 | ||
1498 | * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an | |
1499 | integer for type correctness. | |
1500 | ||
1501 | Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk> | |
1502 | ||
1503 | * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when | |
1504 | simulator is included. | |
1505 | ||
1506 | Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com> | |
1507 | ||
1508 | * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC | |
1509 | is not defined. | |
1510 | (read_register_pid): Only needed when TARGET_READ_PC is not | |
1511 | defined. | |
1512 | * hppa-tdep.c (frame_saved_pc): Remove prototype. | |
1513 | * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is | |
1514 | not defined. | |
1515 | * config/xm-aix4.h (aix_resizewindow): Convert old style decl | |
1516 | to prototype. | |
1517 | * xcoffsolib.c (command.h): Include for needed prototypes. | |
1518 | ||
1519 | Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1520 | ||
1521 | * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make | |
1522 | native work. | |
1523 | ||
1524 | Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com> | |
1525 | ||
1526 | From Blair MacIntyre <bm@cs.columbia.edu>: | |
1527 | * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather | |
1528 | than SYMBOL_TYPE on msymbols. | |
1529 | * somsolib.c (som_solib_create_inferior_hook): Ditto. | |
1530 | ||
1531 | * Makefile.in (init.c): Generate with prototypes. | |
1532 | ||
1533 | * config/pa/tm-hppa.h (frame_saved_pc): Add prototype. | |
1534 | * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto. | |
1535 | * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto. | |
1536 | (pc_load_segment_name): Ditto. | |
1537 | (pop_frame): Ditto. | |
1538 | (extract_return_value): Ditto. | |
1539 | (is_magic_function_pointer): Ditto. | |
1540 | (push_dummy_frame): Ditto. | |
1541 | (fix_call_dummy): Ditto. | |
1542 | (push_arguments): Ditto. | |
1543 | (skip_trampoline_code): Ditto. | |
1544 | (aix_process_linenos): Ditto. | |
1545 | ||
1546 | * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype. | |
1547 | * config/m68k/tm-es1800.h: Ditto. | |
1548 | * config/m68k/tm-vx68.h: Ditto. | |
1549 | * config/m68k/tm-sun3.h: Ditto. | |
1550 | * config/m68k/tm-m68kv4.h: Ditto. | |
1551 | ||
1552 | Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com> | |
1553 | ||
1554 | * config/mips/nm-mips.h (get_longjmp_target): Add prototype. | |
1555 | * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. | |
1556 | * remote-mips.c (mips_read_processor_type): Remove prototype. | |
1557 | * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. | |
1558 | * irix5-nat.c (fetch_core_registers): Add prototype. | |
1559 | ||
1560 | Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com> | |
1561 | ||
1562 | * remote-pa.c (boot_board): Add dummy params to make type compatible | |
1563 | for passing to add_com. | |
1564 | * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. | |
1565 | * buildsym.c (compare_line_numbers): Change function to match | |
1566 | prototype and also what qsort expects. | |
1567 | ||
1568 | Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com> | |
1569 | ||
1570 | * remote.c: Make remote_write_size public. | |
1571 | * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300 | |
1572 | to prevent packet errors with some versions of CMON. | |
1573 | ||
1574 | Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1575 | ||
1576 | * defs.h: Define CONST_PTR as blank if compiling with Microsoft | |
1577 | C, else it's `const'. | |
1578 | * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c | |
1579 | scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR | |
1580 | macro instead. | |
1581 | * configure configure.in defs.h: Use AC_C_CONST to figure out if | |
1582 | the compiler supports const. Gets rid of some cruft in defs.h. | |
1583 | * dwarf2read.c: <string.h> -> "gdb_string.h" | |
1584 | * remote-sim.c: Add prototypes. Fix call to gdbsim_kill. | |
1585 | * sparcl-tdep.c (download): Add prototypes to write_routine and | |
1586 | start_routine args. | |
1587 | ||
1588 | * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get | |
1589 | rid of varargs.h Include string.h. | |
1590 | * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f | |
1591 | update): Fix prototypes, fix calls. | |
1592 | * (update): Return value for catch_errors. | |
1593 | * (run_execute_command togdb_command_from_tty togdb_command): | |
1594 | Cleanup catching of errors from calls to execute_command. Also, | |
1595 | dup command string to avoid modifying const strings. | |
1596 | * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead | |
1597 | of NULL when see if b->address isn't set. | |
1598 | * (bi_disable_bpt bi_enable_bpt bi_delete_all | |
1599 | bi_delete_breakpoint): Add arg to calls to update. | |
1600 | * (gui_command): Add prototype. | |
1601 | * (mswin_query): Fix prototype. | |
1602 | * (_initialize_gdbwin): Dup string to avoid modifying const. | |
1603 | * (info_path togdb_get_info_path): Remove const from decls cuz | |
1604 | this can't be const (it points at malloc'ed memory). | |
1605 | * (togdb_searchpath): Remove const from path. Dup string to | |
1606 | avoid modifying const strings. | |
1607 | * rindex -> strrchr. | |
1608 | * (gdbwin_list_symbols): Regexp param is const. | |
1609 | * Fix lots of refs to psymtabs to deref correct pointers. | |
1610 | * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal, | |
1611 | not &sal. | |
1612 | * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path | |
1613 | toget_set_info_path): Fix prototypes to match reality. | |
1614 | * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines | |
1615 | with proper prototypes. | |
1616 | * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args. | |
1617 | * mswin/ser-win32s.c: Fix defs of min and max. | |
1618 | * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be | |
1619 | USHORT. | |
1620 | * (WriteComm16): Change lpBug from LPVOID to LPCSTR. | |
1621 | * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16. | |
1622 | ||
1623 | Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1624 | ||
1625 | * main.c (main): Make sure command loop is used with cygwin32. | |
1626 | * terminal.h: Allow cygwin32 to use termios.h. | |
1627 | ||
1628 | Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com) | |
1629 | ||
1630 | * somread.c (som_symtab_read): Handle secondary definition | |
1631 | symbols (aka weak symbols). | |
1632 | ||
1633 | * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in | |
1634 | last change. | |
1635 | ||
1636 | Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1637 | ||
1638 | * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to | |
1639 | _WIN32. | |
1640 | ||
1641 | * somread.c: Rearrange order of includes to fix warnings under | |
1642 | hpux-10.10. Also don't include sys/file.h. | |
1643 | ||
1644 | Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1645 | ||
1646 | * dbxread.c: Don't include param.h or sys/file.h. | |
1647 | * (dbx_symfile_read): Determine symfile_relocatable from bfd | |
1648 | flags instead of file extension. Also clean up a little bit. | |
1649 | ||
1650 | Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com) | |
1651 | ||
1652 | * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c | |
1653 | mdebugread.c os9kread.c source.c top.c utils.c: Don't | |
1654 | include param.h or sys/file.h (or unistd.h in some cases). | |
1655 | * defs.h exec.c inflow.c remote-array.c remote-e7000.c | |
1656 | sparcl-tdep.c terminal.h utils.c: Replace all occurances of | |
1657 | __WIN32__, WINGDB, WIN32, etc... with _WIN32. | |
1658 | * main.c: Remove #ifndef WINGDB around option processing. Fix | |
1659 | bug with passing argc==0 and argv==NULL to getopt. | |
1660 | * (main) Remove calls to access() before source_command. Let | |
1661 | soure_command handle access errors. | |
1662 | * maint.c (maintenance_dump_me): #ifdef out for _WIN32. | |
1663 | * symtab.c (operator_chars): Make this global for wingdb. | |
1664 | * top.c (disconnect): #ifdef out for _WIN32. | |
1665 | * (source_command): If got an error and from_tty, then call print | |
1666 | error, else just return quietly. | |
1667 | * utils.c (fatal_dump_core): Can't kill ourselves under windows. | |
1668 | Just exit. | |
1669 | * (pollquit notice_quit): #ifdef out stuff that doesn't exist | |
1670 | under windows. | |
1671 | ||
1672 | Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com) | |
1673 | ||
1674 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for | |
1675 | structures > 4 bytes in size. | |
1676 | ||
1677 | * valops.c (call_function_by_hand): Handle aligning stacks that | |
1678 | grow up correctly. | |
1679 | * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. | |
1680 | (STACK_ALIGN): Define. | |
1681 | * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte | |
1682 | alignment on structs/unions. | |
1683 | ||
1684 | Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com> | |
1685 | ||
1686 | * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *", | |
1687 | which is the documented type under at least AIX 3 and AIX 4. | |
1688 | ||
1689 | Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com> | |
1690 | ||
1691 | * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to | |
1692 | xm-alphaosf.h. | |
1693 | (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency | |
1694 | checks. | |
1695 | ||
1696 | Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com> | |
1697 | ||
1698 | * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in | |
1699 | this, define when contents are included. | |
1700 | (mips_read_processor_type): Add prototype. | |
1701 | * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h | |
1702 | * mdebugread.c (ecoff_relocate_efi): Add prototype. | |
1703 | (fixup_sigtramp): Only needed when TM_MIPS_H is defined. | |
1704 | ||
1705 | Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com> | |
1706 | ||
1707 | * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value. | |
1708 | (vmap_ldinfo): Ensure got_exec_file is not used uninitialized. | |
1709 | (fetch_core_registers): Add prototype. | |
1710 | (vmap_symtab): Ditto. | |
1711 | (objfile_symbol_add): Ditto. | |
1712 | (add_vmap): Ditto. | |
1713 | (vmap_ldinfo): Ditto. | |
1714 | (vmap_exec): Ditto. | |
1715 | ||
1716 | Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com> | |
1717 | ||
1718 | * stabsread.c (get_substring): Declare second arg as int. | |
1719 | ||
1720 | * remote-es.c: Include gdb_string.h after defs.h. | |
1721 | ||
1722 | Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com> | |
1723 | ||
1724 | * rs6000-tdep.c (push_arguments): Remove unused variable "pc". | |
1725 | (branch_dest): Remove unused variable "offset". | |
1726 | (pop_dummy_frame): Add prototype and make static. | |
1727 | (push_arguments): Guard against using len uninitialized. | |
1728 | (push_arguments): Guard against using arg uninitialized. | |
1729 | (frame_saved_pc): Remove unused variable "frameless". | |
1730 | (free_loadinfo): Ifdef out unused function. | |
1731 | ||
1732 | * xcoffread.c (compare_lte): Change prototype and function to | |
1733 | be correct type for passing to qsort. | |
1734 | (add_stab_to_list): Ifdef out unused function and prototype. | |
1735 | (compare_lte): Add prototype | |
1736 | (arrange_linetable): Ditto. | |
1737 | (record_include_begin): Ditto. | |
1738 | (record_include_end): Ditto. | |
1739 | (process_linenos): Ditto. | |
1740 | (xcoff_next_symbol_text): Ditto. | |
1741 | (scan_xcoff_symtab): Ditto. | |
1742 | (xcoff_initial_scan): Ditto. | |
1743 | ||
1744 | * mips-tdep.c (mips_read_processor_type): Add parens around | |
1745 | bitwise-and operands in comparison; previous expression always | |
1746 | evaluated to 0 because of equality comparison of two constants. | |
1747 | ||
1748 | * rs6000-tdep.c (skip_prologue): Add missing parens around | |
1749 | operands of logical-or so that first operand does not bind | |
1750 | to previous logical-and. | |
1751 | ||
1752 | * configure.in: Expand "long long" test to include code that triggers | |
1753 | known problem on HPUX with native compiler. | |
1754 | (configure): Regenerated. | |
1755 | ||
1756 | Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com) | |
1757 | ||
1758 | * somsolib.c (som_solib_create_inferior_hook): Don't | |
1759 | warn if __d_pid can't be found. | |
1760 | ||
1761 | Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com> | |
1762 | ||
1763 | * config/mips/tm-mips.h (struct frame_info): Forward decl. | |
1764 | (struct type): Ditto. | |
1765 | (struct value): Ditto. | |
1766 | ||
1767 | * config/mips/tm-mips.h (sigtramp_address): Move extern decl | |
1768 | from mips-tdep.c to here. | |
1769 | (sigtramp_end): Ditto. | |
1770 | (fixup_sigtramp): Ditto. | |
1771 | ||
1772 | * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. | |
1773 | (mips_frame_chain): Ditto. | |
1774 | (mips_step_skips_delay): Ditto. | |
1775 | (mips_frame_saved_pc): Ditto. | |
1776 | (mips_find_saved_regs): Ditto. | |
1777 | (mips_frame_num_args): Ditto. | |
1778 | (mips_pop_frame): Ditto. | |
1779 | (mips_extract_return_value): Ditto. | |
1780 | (mips_store_return_value): Ditto. | |
1781 | (mips_push_dummy_frame): Ditto. | |
1782 | (mips_push_arguments): Ditto. | |
1783 | (mips_do_registers_info): Ditto. | |
1784 | (ecoff_relocate_efi): Ditto. | |
1785 | (ecoff_relocate_efi): Ditto. | |
1786 | * irix4-nat.c (fetch_core_registers): Add prototype. | |
1787 | * mips-tdep.c (read_next_frame_reg): Add prototype | |
1788 | (heuristic_proc_start): Ditto. | |
1789 | (heuristic_proc_desc): Ditto. | |
1790 | (mips_print_register): Ditto. | |
1791 | * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. | |
1792 | (procfs_stopped_by_watchpoint): Ditto. | |
1793 | * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. | |
1794 | (procfs_stopped_by_watchpoint): Ditto. | |
1795 | * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. | |
1796 | (struct symbol): Add forward decl for prototype. | |
1797 | ||
1798 | * breakpoint.c (internal_breakpoint_number): Only needed if | |
1799 | GET_LONGJMP_TARGET or SOLIB_ADD is defined. | |
1800 | ||
1801 | * objfiles.c (ecoff_relocate_efi): Remove prototype. | |
1802 | ||
1803 | Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com> | |
1804 | ||
1805 | * configure.in: Add test for "long long" support. | |
1806 | * configure: Regenerate with autoconf. | |
1807 | * acconfig.h: Add CC_HAS_LONG_LONG | |
1808 | * config.in: Regenerate with autoheader. | |
1809 | * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove | |
1810 | * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. | |
1811 | * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. | |
1812 | * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. | |
1813 | * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove | |
1814 | (PRINTF_HAS_LONG_LONG): Remove. | |
1815 | (FORCE_LONG_LONG): Remove. | |
1816 | * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. | |
1817 | * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove | |
1818 | (PRINTF_HAS_LONG_LONG): Remove. | |
1819 | * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. | |
1820 | (PRINTF_HAS_LONG_LONG): Remove. | |
1821 | * config/pa/tm-hppa.h (GET_FIELD): Put parens around | |
1822 | subtraction inside shift. Put parens around subtraction | |
1823 | in operand of bitwise and. | |
1824 | (struct frame_info): Forward declare | |
1825 | if __STDC__ defined. | |
1826 | (frame_saved_regs): Ditto. | |
1827 | (struct value): Ditto. | |
1828 | (struct type): Ditto. | |
1829 | (struct inferior_status): Ditto. | |
1830 | (init_extra_frame_info): Add prototype. | |
1831 | (skip_prologue): Ditto. | |
1832 | (frameless_function_invocation): Ditto. | |
1833 | (frame_chain): Ditto. | |
1834 | (frame_chain_valid): Ditto. | |
1835 | (saved_pc_after_call): Ditto. | |
1836 | (hppa_fix_call_dummy): Ditto. | |
1837 | (hppa_push_arguments): Ditto. | |
1838 | (pa_do_registers_info): Ditto. | |
1839 | (in_solib_call_trampoline): Ditto. | |
1840 | (in_solib_return_trampoline): Ditto. | |
1841 | (push_dummy_frame): Ditto. | |
1842 | * convex-tdep.c (decout): Use print_longest rather than | |
1843 | fprintf_filtered. | |
1844 | * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set | |
1845 | CC_HAS_LONG_LONG. | |
1846 | (INT_MIN): Fix so it works correctly when assigned to a long long. | |
1847 | * valprint.c (longest_to_int): Rewrite to remove dependence | |
1848 | on INT_MIN and INT_MAX. | |
1849 | (print_longest): Rewrite the code that falls back to synthesized | |
1850 | hex output when LONGEST value is not representable as in a long and | |
1851 | printf doesn't support printing long longs. | |
1852 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
1853 | chill_print_type_scalar to LONGEST. | |
1854 | chill_print_type_scalar): Make static and add prototype. | |
1855 | * hppa-tdep.c (get_field): Ifdef out unused function. | |
1856 | (set_field): Ditto. | |
1857 | (extract_3): Ditto. | |
1858 | (extract_5_store): Ditto. | |
1859 | (extract_11): Ditto. | |
1860 | (extract_12): Ditto. | |
1861 | (deposit_17): Ditto. | |
1862 | (extract_14): Convert to static and add prototype. | |
1863 | (deposit_14): Ditto. | |
1864 | (extract_21): Ditto. | |
1865 | (deposit_21): Ditto. | |
1866 | (extract_17): Ditto. | |
1867 | (extract_5r_store): Ditto. | |
1868 | (extract_5R_store): Ditto. | |
1869 | (extract_5_load): Ditto. | |
1870 | (find_proc_framesize): Ditto. | |
1871 | (find_dummy_frame_regs): Ditto. | |
1872 | (sign_extend): Ditto. | |
1873 | (find_unwind_entry): Add prototype. | |
1874 | (find_return_regnum): Ditto. | |
1875 | (unwind_command): Ditto. | |
1876 | (find_dummy_frame_regs): Add parens around subtraction in operand | |
1877 | of bitwise-and. | |
1878 | (skip_prologue): Add parens around operands of logical-and inside | |
1879 | operand of logical-or. | |
1880 | (sign_extend): Add parens around operands of subtraction inside | |
1881 | operand of shift. | |
1882 | (low_sign_extend): Ditto. | |
1883 | * top.c (filename_completer): Convert old style decl of | |
1884 | filename_completion_function into prototype. | |
1885 | * f-lang.c (patch_common_entries): Ifdef out unused function. | |
1886 | * stabsread.c (read_cfront_baseclasses): Remove unused local | |
1887 | variable "msg_noterm". | |
1888 | (resolve_cfront_continuation): Remove unused local variable "fip". | |
1889 | (read_type): Remove unused variable xtypenums. | |
1890 | (read_cfront_static_fields): Remove unused variable "i". | |
1891 | (read_cfront_static_fields): Remove unused variable "nfields". | |
1892 | (read_cfront_member_functions): Add missing comment terminator. | |
1893 | (read_cfront_static_fields): Return 1 rather than random value. | |
1894 | (read_cfront_baseclasses): Ditto. | |
1895 | (read_cfront_baseclasses): Ditto. | |
1896 | (read_cfront_baseclasses): Ditto. | |
1897 | * somsolib.c (som_solib_create_inferior_hook): Remove unused | |
1898 | variable "u". | |
1899 | (som_solib_create_inferior_hook): Remove unused variable | |
1900 | shadow_contents. | |
1901 | (language.h): Add for needed prototypes. | |
1902 | (som_solib_sharedlibrary_command): Add prototype. | |
1903 | * hpread.c: (hpread_read_array_type): Add prototype. | |
1904 | * somread.c (hpread_build_pysmtabs): Add prototype. | |
1905 | (hpread_symfile_finish): Ditto. | |
1906 | (hpread_symfile_init): Ditto. | |
1907 | * hppah-nat.c (fetch_register): Convert old style decl | |
1908 | to prototype. | |
1909 | (gdbcore.h): Include for needed prototypes. | |
1910 | (fetch_register): Remove unused variable "mess". | |
1911 | * remote-pa.c (get_offsets): Ifdef out unused function. | |
1912 | (remote_start_remote): Remove unused variable "timeout". | |
1913 | (boot_board): Add prototype. | |
1914 | (reaad_frame): Add prototype. | |
1915 | (getpkt): Remove unused variable "bp". | |
1916 | (remote_kill): Add prototype. | |
1917 | (remote_mourn): Add prototype. | |
1918 | (remote_insert_breakpoint): Add prototype. | |
1919 | (remote_remove_breakpoint): Add prototype. | |
1920 | * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. | |
1921 | * infcmd.c (do_registers_info): Only need prototype if | |
1922 | DO_REGISTERS_INFO is not defined. | |
1923 | (breakpoint_auto_delete_contents): Only need if | |
1924 | CALL_DUMMY_BREAKPOINT_OFFSET is defined. | |
1925 | ||
1926 | Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com> | |
1927 | ||
1928 | * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter. | |
1929 | (END_PSYMTAB): Ditto. | |
1930 | (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set. | |
1931 | ||
1932 | Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com> | |
1933 | ||
1934 | * printcmd.c (_initialize_printcmd): Initialize | |
1935 | tm_print_insn_info.flavour. | |
1936 | ||
1937 | Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> | |
1938 | ||
1939 | * Makefile.in (scm-valprint.o): Depends upon gdbcore_h. | |
1940 | (arm-tdep.o): Ditto. | |
1941 | (dcache.o): Ditto. | |
1942 | (i386ly-tdep.o): Ditto. | |
1943 | (i960-tdep.o): Ditto. | |
1944 | (m68k-tdep.o): Ditto. | |
1945 | (nindy-tdep.o): Ditto. | |
1946 | (scm-lang.o): Ditto. | |
1947 | (w65-tdep.o): Ditto. | |
1948 | (z8k-tdep.o): Ditto. | |
1949 | (m68k-tdep.o): Depends upon value_h and gdb_string.h | |
1950 | (m2-valprint.o): Depends upon m2-lang.h. | |
1951 | (sparc-tdep.o): Depends upon gdb_string.h | |
1952 | (valprint.o): Depends upon valprint.h | |
1953 | ||
1954 | * remote-e7000.c (notice_quit): Remove prototype. | |
1955 | * top.c (initialize_targets): Remove prototype, now in target.h. | |
1956 | * stabsread.c (resolve_cfront_continuation): Remove prototype. | |
1957 | * dbxread.c (resolve_cfront_continuation): Remove prototype. | |
1958 | * symfile.h (set_demangling_style): Remove prototype. | |
1959 | * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h. | |
1960 | * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in | |
1961 | target.h. | |
1962 | * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls, | |
1963 | now in target.h. | |
1964 | * ser-unix.c (hardwire_restore): Remove obsolete prototype. | |
1965 | * sparc-tdep.c (single_step): Remove forward decl of isbranch. | |
1966 | * scm-lang.c (find_function_in_inferior): Remove prototype. | |
1967 | (value_allocate_space_in_inferior): Ditto. | |
1968 | * infrun.c (write_pc_pid): Remove prototype, now in inferior.h. | |
1969 | * defs.h (strchr): Remove declarations, they are declared in | |
1970 | gdb_string.h also. | |
1971 | (strrchr): Ditto. | |
1972 | (strstr): Ditto. | |
1973 | (strtok): Ditto. | |
1974 | (strerror): Ditto. | |
1975 | * f-valprint.c (f77_print_array_1): Remove extra arg that was being | |
1976 | passed to f77_print_array_1. | |
1977 | * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr. | |
1978 | * scm-exp.c (scm_istr2int): Remove unused variable "j". | |
1979 | (scm_parse): Remove unused variable "str". | |
1980 | * hp300ux-nat.c (store_inferior_register): Remove unused variable | |
1981 | "buf". | |
1982 | (store_inferior_registers): Remove unnecessary decl "registers". | |
1983 | * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi". | |
1984 | * scm-lang.c (scm_get_field): Remove unused variable "val". | |
1985 | (scm_lookup_name): Remove unused variable "symval". | |
1986 | * objfiles.c (map_to_file): Remove unused local variable "tempfd". | |
1987 | * procfs.c (do_attach, do_detach): Remove unused variable "result". | |
1988 | (last_resume_pid): Remove unused static variable. | |
1989 | * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable | |
1990 | "res". | |
1991 | * objfiles.c (map_to_address): Remove unused function. | |
1992 | * f-valprint.c (print_max): Remove extraneous extern decl, | |
1993 | in valprint.h. | |
1994 | (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h. | |
1995 | * ch-exp.c (write_lower_upper_value): Remove prototype for | |
1996 | type_lower_upper. | |
1997 | ||
1998 | * gdbtypes.c (cfront_mangle_name): #ifdef out unused function. | |
1999 | * ch-exp.c (parse_mode_call): Ditto. | |
2000 | * f-valprint.c (there_is_a_visible_common_named): Ditto. | |
2001 | * f-lang.c (clear_function_list): Ditto. | |
2002 | (get_bf_for_fcn): Ditto. | |
2003 | (clear_bf_list): Ditto. | |
2004 | (add_common_block): Ditto. | |
2005 | (patch_all_commons_by_name): Ditto. | |
2006 | (find_first_common_named): Ditto. | |
2007 | (add_common_entry): Ditto. | |
2008 | (allocate_saved_function_node): Ditto. | |
2009 | (allocate_saved_bf_node): Ditto. | |
2010 | (allocate_common_entry_node): Ditto. | |
2011 | (allocate_saved_f77_common_node): Ditto. | |
2012 | ||
2013 | * arm-tdep.c (gdbcore.h): Include for necessary prototypes. | |
2014 | * dcache.c (gdbcore.h): Ditto. | |
2015 | * i386ly-tdep.c (gdbcore.h): Ditto. | |
2016 | * i960-tdep.c (gdbcore.h): Ditto. | |
2017 | * m2-valprint.c (m2-lang.h): Ditto. | |
2018 | * m68k-tdep.c (gdbcore.h): Ditto. | |
2019 | (value.h): Ditto. | |
2020 | (gdb_string.h): Ditto. | |
2021 | * nindy-tdep.c (gdbcore.h): Ditto. | |
2022 | * scm-lang.c (gdbcore.h): Ditto. | |
2023 | * scm-valprint.c (gdbcore.h): Ditto. | |
2024 | * w65-tdep.c (gdbcore.h): Ditto. | |
2025 | * z8k-tdep.c (gdbcore.h): Ditto. | |
2026 | * sparc-tdep.c (gdb_string.h): Include. | |
2027 | * valprint.c (valprint.h): Include. | |
2028 | ||
2029 | * config/xm-lynx.h: Remove part of comment about INT_MIN | |
2030 | redefined warnings from defs.h, since INT_MIN define in | |
2031 | defs.h is now protected by #ifndef INT_MIN. | |
2032 | * config/i386/xm-i386bsd.h: Ditto. | |
2033 | * config/m68k/xm-hp300bsd.h: Ditto. | |
2034 | * config/m68k/xm-news.h: Ditto. | |
2035 | ||
2036 | * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN | |
2037 | definition as 0x80000000. The macro in defs.h is better. | |
2038 | * config/i386/xm-i386m3.h (INT_MIN): Ditto. | |
2039 | * config/i386/xm-i386mach.h (INT_MIN): Ditto. | |
2040 | * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto. | |
2041 | * config/pa/xm-hppab.h: Ditto. | |
2042 | ||
2043 | * core-aout.c (fetch_core_registers): Add prototype. | |
2044 | * hp300ux-nat.c (fetch_inferior_register): Ditto. | |
2045 | (store_inferior_register_1): Ditto. | |
2046 | (store_inferior_register): Ditto. | |
2047 | * config/m68k/tm-m68k.h (find_saved_regs): Ditto. | |
2048 | *scm-valprint.c (c_val_print): Ditto. | |
2049 | * procfs.c (add_fd): Ditto. | |
2050 | (remove_fd): Ditto. | |
2051 | (wait_fd): Ditto. | |
2052 | (sigcodename): Ditto. | |
2053 | (sigcodedesc): Ditto. | |
2054 | (procfs_kill_inferior): Ditto. | |
2055 | (procfs_xfer_memory): Ditto. | |
2056 | (procfs_store_registers): Ditto. | |
2057 | (create_procinfo): Ditto. | |
2058 | (procfs_init_inferior): Ditto. | |
2059 | (proc_set_exec_trap): Ditto. | |
2060 | (procfs_attach): Ditto. | |
2061 | (procfs_detach): Ditto. | |
2062 | (procfs_prepare_to_store): Ditto. | |
2063 | (procfs_files_info): Ditto. | |
2064 | (procfs_open): Ditto. | |
2065 | (procfs_wait): Ditto. | |
2066 | (procfs_fetch_registers): Ditto. | |
2067 | (procfs_mourn_inferior): Ditto. | |
2068 | (procfs_can_run): Ditto. | |
2069 | (procfs_thread_alive): Ditto. | |
2070 | (procfs_stop): Ditto. | |
2071 | * alpha-nat.c (fetch_core_registers): Ditto. | |
2072 | * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto. | |
2073 | * objfiles.c (ecoff_relocate_efi): Ditto. | |
2074 | * inflow.c (pass_signal): Ditto. | |
2075 | (handle_sigio): Ditto. | |
2076 | * annotate.c (breakpoint_changed): Ditto. | |
2077 | * callback.c (wrap): Ditto. | |
2078 | (fdbad): Ditto. | |
2079 | (fdmap): Ditto. | |
2080 | * utils.c (malloc_botch): Ditto. | |
2081 | (fputs_maybe_filtered): Ditto. | |
2082 | (vfprintf_maybe_filtered): Ditto. | |
2083 | * defs.h (notice_quit): Ditto. | |
2084 | * defs.h (xmalloc, xrealloc): Ditto. | |
2085 | * top.c (stop_sig): Ditto. | |
2086 | (init_signals): Ditto. | |
2087 | (user_defined_command): Ditto. | |
2088 | (source_cleanup_lines): Ditto. | |
2089 | (dont_repeat_command): Ditto. | |
2090 | (serial_log_command): Ditto. | |
2091 | (disconnect): Ditto. | |
2092 | * target.h (initialize_targets): Ditto. | |
2093 | * os9kread.c (read_minimal_symbols): Ditto. | |
2094 | * mdebugread.c (mdebug_psymtab_to_symtab): Ditto. | |
2095 | (fdr_name): Ditto. | |
2096 | (push_parse_stack): Ditto. | |
2097 | (pop_parse_stack): Ditto. | |
2098 | (is_pending_symbol): Ditto. | |
2099 | (add_pending): Ditto. | |
2100 | * serial.c (serial_logchar): Ditto. | |
2101 | (serial_interface_lookup): Ditto. | |
2102 | * serial.h (serial_log_command): Ditto. | |
2103 | * f-valprint.c (info_common_command): Ditto. | |
2104 | * gdbtypes.h (print_type_scalar): Ditto. | |
2105 | * scm-valprint.c (scm_scmlist_print): Ditto. | |
2106 | (scm_ipruk): Ditto. | |
2107 | * scm-lang.c (scm_printstr): Ditto. | |
2108 | (in_eval_c): Ditto. | |
2109 | (evaluate_subexp_scm): Ditto. | |
2110 | * scm-exp.c (scm_read_token): Ditto. | |
2111 | (scm_skip_ws): Ditto. | |
2112 | (scm_lreadparen): Ditto. | |
2113 | * m2-lang.c (emit_char): Ditto. | |
2114 | (m2_printchar): Ditto. | |
2115 | (m2_printstr): Ditto. | |
2116 | (m2_create_fundamental_type): Ditto. | |
2117 | * f-lang.c (emit_char): Ditto. | |
2118 | (f_printchar): Ditto. | |
2119 | (f_printstr): Ditto. | |
2120 | (f_create_fundamental_type): Ditto. | |
2121 | * ch-lang.c (chill_printchar): Ditto. | |
2122 | (chill_printstr): Ditto. | |
2123 | (chill_create_fundamental_type): Ditto. | |
2124 | (value_chill_length): Ditto. | |
2125 | (value_chill_card): Ditto. | |
2126 | (value_chill_max_min): Ditto. | |
2127 | (evaluate_subexp_chill): Ditto. | |
2128 | * ch-exp.c (PEEK_TOKEN): Ditto. | |
2129 | (peek_token_): Ditto. | |
2130 | (forward_token_): Ditto. | |
2131 | (parse_case_label): Ditto. | |
2132 | (parse_opt_untyped_expr): Ditto. | |
2133 | (parse_unary_call): Ditto. | |
2134 | (parse_call): Ditto. | |
2135 | (parse_named_record_element): Ditto. | |
2136 | (parse_tuple_element): Ditto. | |
2137 | (parse_opt_element_list): Ditto. | |
2138 | (parse_tuple): Ditto. | |
2139 | (parse_primval): Ditto. | |
2140 | (parse_operand6): Ditto. | |
2141 | (parse_operand5): Ditto. | |
2142 | (parse_operand4): Ditto. | |
2143 | (parse_operand3): Ditto. | |
2144 | (parse_operand2): Ditto. | |
2145 | (parse_operand1): Ditto. | |
2146 | (parse_operand0): Ditto. | |
2147 | (parse_expr): Ditto. | |
2148 | (parse_then_alternative): Ditto. | |
2149 | (parse_else_alternative): Ditto. | |
2150 | (parse_if_expression): Ditto. | |
2151 | (parse_untyped_expr): Ditto. | |
2152 | (growbuf_by_size): Ditto. | |
2153 | (match_simple_name_string): Ditto. | |
2154 | (decode_integer_value): Ditto. | |
2155 | (decode_integer_literal): Ditto. | |
2156 | (match_float_literal): Ditto. | |
2157 | (match_float_literal): Ditto. | |
2158 | (match_string_literal): Ditto. | |
2159 | (match_character_literal): Ditto. | |
2160 | (match_integer_literal): Ditto. | |
2161 | (match_bitstring_literal): Ditto. | |
2162 | (write_lower_upper_value): Ditto. | |
2163 | * ch-lang.h (type_lower_upper): Ditto. | |
2164 | * c-lang.c (emit_char): Ditto. | |
2165 | * dwarfread.c (free_utypes): Ditto. | |
2166 | * stabsread.h (resolve_cfront_continuation): Ditto. | |
2167 | * stabsread.c (get_substring): Ditto. | |
2168 | (read_one_struct_field): Ditto. | |
2169 | * stabsread.h (process_later): Ditto. | |
2170 | * demangle.c (set_demangling_command): Ditto. | |
2171 | * defs.h (set_demangling_style): Ditto. | |
2172 | * maint.c (maintenance_info_command): Ditto. | |
2173 | (print_section_table): Ditto. | |
2174 | (maintenance_info_sections): Ditto. | |
2175 | (maintenance_print_command): Ditto. | |
2176 | * symtab.h (maintenance_print_statistics): Ditto. | |
2177 | * objfiles.h (in_plt_section): Ditto. | |
2178 | * objfiles.c (add_to_objfile_sections): Ditto. | |
2179 | * bcache.c (hash): Ditto. | |
2180 | (lookup_cache): Ditto. | |
2181 | * exec.c (bfdsec_to_vmap): Ditto. | |
2182 | (ignore): Ditto. | |
2183 | * f-exp.y (growbuf_by_size, match_string_literal): Ditto. | |
2184 | * language.c (unk_lang_printchar): Ditto. | |
2185 | (unk_lang_printstr): Ditto. | |
2186 | (unk_lang_create_fundamental_type): Ditto. | |
2187 | (unk_lang_print_type): Ditto. | |
2188 | (unk_lang_val_print): Ditto. | |
2189 | (unk_lang_value_print): Ditto. | |
2190 | * target.c (update_current_target): Ditto. | |
2191 | (debug_to_open): Ditto. | |
2192 | (debug_to_close): Ditto. | |
2193 | (debug_to_attach): Ditto. | |
2194 | (debug_to_detach): Ditto. | |
2195 | (debug_to_resume): Ditto. | |
2196 | (debug_to_wait): Ditto. | |
2197 | (debug_to_fetch_registers): Ditto. | |
2198 | (debug_to_store_registers): Ditto. | |
2199 | (debug_to_prepare_to_store): Ditto. | |
2200 | (debug_to_xfer_memory): Ditto. | |
2201 | (debug_to_files_info): Ditto. | |
2202 | (debug_to_insert_breakpoint): Ditto. | |
2203 | (debug_to_remove_breakpoint): Ditto. | |
2204 | (debug_to_terminal_init): Ditto. | |
2205 | (debug_to_terminal_inferior): Ditto. | |
2206 | (debug_to_terminal_ours_for_output): Ditto. | |
2207 | (debug_to_terminal_ours): Ditto. | |
2208 | (debug_to_terminal_info): Ditto. | |
2209 | (debug_to_kill): Ditto. | |
2210 | (debug_to_load): Ditto. | |
2211 | (debug_to_lookup_symbol): Ditto. | |
2212 | (debug_to_create_inferior): Ditto. | |
2213 | (debug_to_mourn_inferior): Ditto. | |
2214 | (debug_to_can_run): Ditto. | |
2215 | (debug_to_notice_signals): Ditto. | |
2216 | (debug_to_thread_alive): Ditto. | |
2217 | (debug_to_stop): Ditto. | |
2218 | * breakpoint.h (set_breakpoint_sal): Ditto. | |
2219 | * remote-utils.c (usage): Ditto. | |
2220 | * remote.c (set_thread): Ditto. | |
2221 | (remote_thread_alive): Ditto. | |
2222 | (get_offsets): Ditto. | |
2223 | (read_frame): Ditto. | |
2224 | (remote_insert_breakpoint): Ditto. | |
2225 | (remote_remove_breakpoint): Ditto. | |
2226 | * sparc-nat.c (fetch_core_registers): Ditto. | |
2227 | * corelow.c (add_to_thread_list): Ditto. | |
2228 | (ignore): Ditto. | |
2229 | * inftarg.c (proc_wait): Ditto. | |
2230 | * infptrace.c (udot_info): Ditto. | |
2231 | (fetch_register): Ditto. | |
2232 | * ser-unix.c (hardwire_noflush_set_tty_state): Ditto. | |
2233 | (hardwire_print_tty_state): Ditto. | |
2234 | (hardwire_flush_output): Ditto. | |
2235 | (hardwire_flush_input): Ditto. | |
2236 | (hardwire_send_break): Ditto. | |
2237 | (hardwire_setstopbits): Ditto. | |
2238 | * ser-tcp.c (tcp_return_0): Ditto. | |
2239 | (tcp_noflush_set_tty_state): Ditto. | |
2240 | (tcp_print_tty_state): Ditto. | |
2241 | * solib.c (match_main): Ditto. | |
2242 | * gdbtypes.c (print_bit_vector): Ditto. | |
2243 | (print_arg_types): Ditto. | |
2244 | (dump_fn_fieldlists): Ditto. | |
2245 | (print_cplus_stuff): Ditto. | |
2246 | * symfile.h (entry_point_address): Ditto. | |
2247 | * symfile.c (decrement_reading_symtab): Ditto. | |
2248 | * valops.c (value_arg_coerce): Ditto. | |
2249 | * value.h (find_function_in_inferior): Ditto. | |
2250 | (value_allocate_space_in_inferior): Ditto. | |
2251 | * values.c (vb_match): Ditto. | |
2252 | * thread.c (info_thread_command): Ditto. | |
2253 | (restore_current_thread): Ditto. | |
2254 | (thread_apply_all_command): Ditto. | |
2255 | (thread_apply_command): Ditto. | |
2256 | * inferior.h (write_pc_pid): Ditto. | |
2257 | * infrun.c (delete_breakpoint_current_contents): Ditto. | |
2258 | * breakpoint.c (print_it_normal): Ditto. | |
2259 | (watchpoint_check): Ditto. | |
2260 | (print_it_done): Ditto. | |
2261 | (print_it_noop): Ditto. | |
2262 | (maintenance_info_breakpoints): Ditto. | |
2263 | (create_longjmp_breakpoint): Ditto. | |
2264 | (hbreak_command): Ditto. | |
2265 | (thbreak_command): Ditto. | |
2266 | (watch_commnd_1): Ditto. | |
2267 | (rwatch_command): Ditto. | |
2268 | (awatch_command): Ditto. | |
2269 | (do_enable_breakpoint): Ditto. | |
2270 | * ch-valprint.c (chill_val_print_array_elements): Ditto. | |
2271 | * eval.c (evaluate_subexp): Ditto. | |
2272 | (get_label): Ditto. | |
2273 | (evaluate_struct_tuple): Ditto. | |
2274 | * eval.c (init_array_element): Ditto. | |
2275 | ||
2276 | * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static. | |
2277 | * breakpoint.c (hw_breakpoint_used_count): Ditto. | |
2278 | (hw_watchpoint_used_count): Ditto. | |
2279 | * findvar.c (write_register_gen): Ditto. | |
2280 | (read_register_pid): Ditto. | |
2281 | * symtab.c (cplusplus_hint): Ditto. | |
2282 | * infcmd.c (breakpoint_auto_delete_contents): Ditto. | |
2283 | * ch-valprint.c (chill_print_type_scalar): Ditto. | |
2284 | * gdbtypes.c (add_name): Ditto. | |
2285 | (add_mangled_type): Ditto. | |
2286 | (cfront_mangle_name): Ditto. | |
2287 | * sparc-tdep.c (isbranch): Ditto. | |
2288 | * inftarg.c (child_stop): Ditto. | |
2289 | * win32-nat.c (child_stop): Ditto. | |
2290 | * mac-nat.c (child_stop): Ditto. | |
2291 | * remote-utils.c (sr_com): Ditto. | |
2292 | * dbxread.c (process_now): Ditto. | |
2293 | * ch-exp.c (require): Ditto. | |
2294 | (check_token): Ditto. | |
2295 | (expect): Ditto. | |
2296 | (parse_mode_call): Ditto. | |
2297 | (parse_mode_or_normal_call): Ditto. | |
2298 | * scm-lang.c (scm_lookup_name): Ditto | |
2299 | * f-lang.c (allocate_saved_bf_node): Ditto. | |
2300 | (allocate_saved_function_node): Ditto. | |
2301 | (allocate_saved_f77_common_node): Ditto. | |
2302 | (allocate_common_entry_node): Ditto. | |
2303 | (add_common_block): Ditto. | |
2304 | (add_common_entry): Ditto. | |
2305 | (find_first_common_named): Ditto. | |
2306 | (patch_common_entries): Ditto. | |
2307 | (patch_all_commons_by_name): Ditto. | |
2308 | (clear_bf_list): Ditto. | |
2309 | (get_bf_for_fcn): Ditto. | |
2310 | (clear_function_list): Ditto. | |
2311 | * scm-exp.c (scm_istr2int): Ditto. | |
2312 | (scm_istring2number): Ditto. | |
2313 | * scm-valprint.c (scm_inferior_print): Ditto. | |
2314 | * f-typeprint.c (print_equivalent_f77_float_type): Ditto. | |
2315 | * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto. | |
2316 | (f77_create_arrayprint_offset_tbl): Ditto. | |
2317 | (f77_print_array_1): Ditto. | |
2318 | (f77_print_array): Ditto. | |
2319 | (list_all_visible_commons): Ditto. | |
2320 | (there_is_a_visible_common_named): Ditto. | |
2321 | * mdebugread.c (ecoff_relocate_efi): Ditto. | |
2322 | * callback.c (os_close): Ditto. | |
2323 | (os_get_errno): Ditto. | |
2324 | (os_isatty): Ditto. | |
2325 | (os_lseek): Ditto. | |
2326 | (os_open): Ditto. | |
2327 | (os_read): Ditto. | |
2328 | (os_read_stdin): Ditto. | |
2329 | (os_write): Ditto. | |
2330 | (os_write_stdout): Ditto. | |
2331 | (os_rename): Ditto. | |
2332 | (os_system): Ditto. | |
2333 | (os_time): Ditto. | |
2334 | (os_unlink): Ditto. | |
2335 | (os_shutdown): Ditto. | |
2336 | (os_init): Ditto. | |
2337 | (os_printf_filtered): Ditto. | |
2338 | ||
2339 | * scm-lang.h (scm_parse): Change old style decl to prototype. | |
2340 | * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto. | |
2341 | * top.c (init_proc): Ditto. | |
2342 | (query_hook): Ditto. | |
2343 | (error_hook): Ditto. | |
2344 | * f-lang.c (c_value_print): Ditto. | |
2345 | * ch-exp.c (parse_expression): Ditto. | |
2346 | (parse_primval): Ditto. | |
2347 | (parse_untyped_expr): Ditto. | |
2348 | (parse_opt_untyped_expr): Ditto. | |
2349 | (ch_lex): Ditto. | |
2350 | * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto. | |
2351 | (sparc_frame_saved_pc): Ditto. | |
2352 | (sparc_push_dummy_frame): Ditto. | |
2353 | (sparc_pop_frame): Ditto. | |
2354 | * defs.h (fclose): Ditto. | |
2355 | (atof): Ditto. | |
2356 | (error_hook): Ditto. | |
2357 | ||
2358 | * arc-tdep.c (single_step): Change arg to type "enum target_signal". | |
2359 | * rs6000-tdep.c (single_step): Ditto. | |
2360 | * sparc-tdep.c (single_step): Ditto. | |
2361 | ||
2362 | * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type | |
2363 | to PTR which is what make_cleanup expects. | |
2364 | * utils.c (null_cleanup): Change arg type to PTR. | |
2365 | * defs.h (null_cleanup): Change prototype to match actual function. | |
2366 | * config/sparc/tm-sparc.h (struct frame_info): Move forward decl. | |
2367 | * ch-valprint.c (chill_val_print): Cast 2nd arg of | |
2368 | chill_print_type_scalar to LONGEST. | |
2369 | * infrun.c (wait_for_inferior): Have empty switch case for | |
2370 | BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined. | |
2371 | (stop_on_solib_events): Only needed if SOLIB_ADD is defined. | |
2372 | * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD | |
2373 | is defined. | |
2374 | * symfile.c (generic_load): Scan long int using a long int spec, | |
2375 | not an int spec. | |
2376 | * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE | |
2377 | is defined. | |
2378 | (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is | |
2379 | not defined. | |
2380 | * inflow.c (handle_sigio): Only need prototype when the actual | |
2381 | function is compiled in. | |
2382 | * valprint.c (longest_to_int): Expand error message to be | |
2383 | separate messages for args larger than largest signed int | |
2384 | and args smaller than smallest signed int. | |
2385 | * valprint.c (print_longest): Fix problems with support for case | |
2386 | where compiler supports type "long long" but the runtime doesn't | |
2387 | support printing them with "%ll". | |
2388 | * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change | |
2389 | return types to void since we don't actually return anything | |
2390 | meaningful and callees ignore the values anyway. | |
2391 | * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET | |
2392 | ifdef. | |
2393 | (modify_run_on_last_close_flag): Ditto. | |
2394 | (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL | |
2395 | ifdef | |
2396 | * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than | |
2397 | random value. | |
2398 | * infrun.c (wait_for_inferior): Ensure random_signal is not used | |
2399 | uninitialized. | |
2400 | * valops.c (call_function_by_hand): Ensure struct_addr is not used | |
2401 | uninitialized. | |
2402 | * breakpoint.c (watch_command_1): Ensure prev_frame is not used | |
2403 | uninitialized. | |
2404 | * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" | |
2405 | to "const char *". | |
2406 | * infptrace.c (udot_info): Add two dummy args so that the type is | |
2407 | correct for passing to add_info. | |
2408 | * f-lang.c (saved_fcn): Move decl to head of file so it can be used | |
2409 | in prototypes. | |
2410 | (saved_bf_symnum): Ditto. | |
2411 | (SAVED_FUNCTION): Ditto. | |
2412 | (SAVED_FUNCTION_PTR): Ditto. | |
2413 | (SAVED_BF): Ditto. | |
2414 | (SAVED_BF_PTR): Ditto. | |
2415 | * ch-exp.c (parse_named_record_element): Build error message in | |
2416 | temporary buffer before passing it to expect, rather than passing | |
2417 | wrong number of args to expect. | |
2418 | * demangle.c (set_demangling_style): Call set_demangling_command with | |
2419 | correct number of arguments. | |
2420 | * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to | |
2421 | int to match actual function. | |
2422 | (os_isatty): Call fdmap with right number of arguments, was missing | |
2423 | the host_callback* arg. | |
2424 | * target.c (cleanup_target): Prototype all functions casts. | |
2425 | * target.h (one_stepped, single_step): Declare here and convert | |
2426 | single_step to prototype. | |
2427 | * infrun.c (one_stepped, single_step): Don't declare externs | |
2428 | here, they have moved to target.h. | |
2429 | * eval.c (init_array_element): Declare previously undeclared | |
2430 | last two args as LONGEST. | |
2431 | * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. | |
2432 | ||
2433 | Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com> | |
2434 | ||
2435 | * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS. | |
2436 | ||
2437 | Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2438 | ||
2439 | * Makefile.in (os9kread.o): Remove dependency on partial-stab.h. | |
2440 | * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't | |
2441 | use partial_symtab->textlow==0 as a flag, as 0 is a legitimate | |
2442 | text address. Use a seperate flag (textlow_not_set) instead. | |
2443 | This makes stabs in ELF .o files work a lot better. | |
2444 | * mdebugread.c xcoffread.c: Define textlow_not_set for | |
2445 | partial-stab.h. | |
2446 | * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. | |
2447 | ||
2448 | Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com> | |
2449 | ||
2450 | * dwarf2read.c (struct filenames): Change internal "struct file" | |
2451 | to "struct fileinfo" to avoid conflict with "struct file" in | |
2452 | <sys/file.h> on HPUX and Solaris. | |
2453 | ||
2454 | Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com> | |
2455 | ||
2456 | * dwarf2read.c: New file, DWARF 2 reader originally contributed by | |
2457 | Brent Benson, with additions by Gary Funck and Jerry Kreuscher. | |
2458 | * Makefile.in (COMMON_OBS): Add dwarf2read.o. | |
2459 | (SFILES): Add dwarf2read.c. | |
2460 | (dwarf2read.o): Add build rule. | |
2461 | * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare | |
2462 | exported functions. | |
2463 | * elfread.c (elf_symfile_read): Call them. | |
2464 | (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols. | |
2465 | ||
2466 | Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com> | |
2467 | ||
2468 | * symfile.c (symfile_bfd_open): | |
2469 | * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems, | |
2470 | free the user from having to type the .exe extension. | |
2471 | ||
2472 | Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com> | |
2473 | ||
2474 | * mon960-rom.c: Shorten the mon960_inits string to a single | |
2475 | carriage return; this prevents a hang on connecting immediately | |
2476 | after powerup, when MON960 is attempting autobaud detection. | |
2477 | ||
2478 | Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com> | |
2479 | ||
2480 | * a29k-tdep.c (get_saved_register): Allow PC to be modified | |
2481 | when innermost frame is selected, but not in outer frames. | |
2482 | ||
2483 | Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2484 | ||
2485 | * command.c (do_setshow_command): Don't segfault when showing | |
2486 | var_string and var_string_noescape vars that are NULL. | |
2487 | ||
2488 | Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com> | |
2489 | ||
2490 | * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to | |
2491 | cygwin32_conv_to_posix_path. | |
2492 | (child_create_inferior): unix_path_to_dos_path renamed to | |
2493 | cygwin32_conv_to_win32_path. Rewrite code to translate PATH. | |
2494 | ||
2495 | Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2496 | ||
2497 | * defs.h printcmd.c: Create global disassemble_info structure | |
2498 | tm_print_insn_info. | |
2499 | * i386-tdep.c (set_assembly_language_command): set | |
2500 | tm_print_insn_info.mach to the appropriate value for 386 or 8086 | |
2501 | disassembly. | |
2502 | * printcmd.c (print_insn): Move init of disassembler_info to | |
2503 | _initialize_printcmd. Set endian for disassembler here. | |
2504 | * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to | |
2505 | select sparc/sparclite. | |
2506 | * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of | |
2507 | TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to | |
2508 | bfd_mach_sparc/bfd_mach_sparc_sparclite. | |
2509 | ||
2510 | Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com> | |
2511 | ||
2512 | * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather | |
2513 | than xmalloc/xrealloc. | |
2514 | ||
2515 | Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com> | |
2516 | ||
2517 | * objfiles.c (map_to_file): Error return from mmalloc_findbase is | |
2518 | a NULL pointer, not a -1. | |
2519 | ||
2520 | Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2521 | ||
2522 | * i386-tdep.c (set_assembly_language_command): New routine to | |
2523 | select between i386 and i8086 instruction sets for disassembly. | |
2524 | New command `set assembly-language {i386 i8086}'. | |
2525 | ||
2526 | Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com> | |
2527 | ||
2528 | * monitor.c (monitor_write_memory, monitor_read_memory_single): | |
2529 | Disable use of "long long" memory read/write commands; can't | |
2530 | use them because we hold the values to read/write in an int | |
2531 | variable, and because strtoul fails on values that exceed the | |
2532 | size of a long. This fixes breakpoint problems on MON960. | |
2533 | ||
2534 | Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com> | |
2535 | ||
2536 | * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition. | |
2537 | * config/pa/xm-hppah.h (HAVE_MMAP): Ditto. | |
2538 | ||
2539 | Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com> | |
2540 | ||
2541 | * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE | |
2542 | and MMALLOC_CHECK macros, and add comment indicating how host dependent | |
2543 | makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or | |
2544 | to use it but to not do heap corruption checking. | |
2545 | * gdbserver/Makefile.in: Ditto. | |
2546 | * utils.c (init_malloc): Replace warning() use with direct call of | |
2547 | fprintf_unfiltered, since current_target has not yet been set and thus | |
2548 | we cannot use warning(). If we try to use mmcheck and it fails, | |
2549 | suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE | |
2550 | defined. Other small mmalloc related cleanups. | |
2551 | * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. | |
2552 | * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK. | |
2553 | ||
2554 | * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2555 | * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2556 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2557 | * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2558 | * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT); | |
2559 | * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2560 | * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2561 | * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
2562 | Remove obsolete defines. | |
2563 | ||
2564 | * config/alpha/alpha-linux.mh (MMALLOC_DISABLE): | |
2565 | * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE): | |
2566 | * config/rs6000/rs6000.mh (MMALLOC_DISABLE): | |
2567 | * config/rs6000/aix4.mh (MMALLOC_DISABLE): | |
2568 | * config/powerpc/aix4.mh (MMALLOC_DISABLE): | |
2569 | * config/powerpc/aix.mh (MMALLOC_DISABLE): | |
2570 | * config/ns32k/ns32km3.mh (MMALLOC_DISABLE): | |
2571 | * config/mips/mipsm3.mh (MMALLOC_DISABLE): | |
2572 | * config/mips/decstation.mh (MMALLOC_DISABLE): | |
2573 | * config/m88k/cxux.mh (MMALLOC_DISABLE): | |
2574 | * config/i386/i386mk.mh (MMALLOC_DISABLE): | |
2575 | * config/i386/i386m3.mh (MMALLOC_DISABLE): | |
2576 | * config/i386/i386gnu.mh (MMALLOC_DISABLE): | |
2577 | Use MMALLOC_CFLAGS instead. | |
2578 | ||
2579 | Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com) | |
2580 | ||
2581 | * h8300-tdep.c: Remove some outdated comments. | |
2582 | (h8300_skip_prologue): Rework to be more correct for the H8/300H. | |
2583 | Handle stm.l insns for the H8/S. | |
2584 | (examine_prologue): Likewise. | |
2585 | ||
2586 | Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com> | |
2587 | ||
2588 | * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf. | |
2589 | ||
2590 | Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com> | |
2591 | ||
2592 | * mon960-rom.c (mon960_open): Add floating point detection to | |
2593 | prevent hang on non-FPU processors (PR 9775). | |
2594 | (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem | |
2595 | setting breakpoints and improve loading speed. | |
2596 | ||
2597 | Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com> | |
2598 | ||
2599 | * coffread.c (record_minimal_symbol): Don't presave name string | |
2600 | on symbol_obstack before passing to prim_record_minimal_symbol. | |
2601 | It now handles saving the string itself. | |
2602 | * dbxread.c (read_dbx_dynamic_symtab): Ditto. | |
2603 | * mipsread.c (read_alphacoff_dynamic_symtab): Ditto. | |
2604 | * os9kread.c (record_minimal_symbol): Ditto. | |
2605 | * solib.c (solib_add_common_symbols): Ditto. | |
2606 | ||
2607 | * coffread.c (coff_symtab_read): Don't presave name string on | |
2608 | symbol_obstack before passing to prim_record_minimal_symbol_and_info. | |
2609 | It now handles saving the string itself. | |
2610 | * dbxread.c (record_minimal_symbol): Ditto. | |
2611 | * elfread.c (record_minimal_symbol_and_info): Ditto. | |
2612 | ||
2613 | * dstread.c (record_minimal_symbol): Remove static function that just | |
2614 | called prim_record_minimal_symbol with the same args (after change to | |
2615 | prim_record_minimal_symbol to do it's own name string saves). | |
2616 | * nlmread.c (record_minimal_symbol): Ditto. | |
2617 | * somread.c (record_minimal_symbol): Ditto. | |
2618 | ||
2619 | * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack. | |
2620 | (hpread_read_function_type): Ditto. | |
2621 | (hpread_process_one_debug_symbol): Ditto. | |
2622 | * mdebugread.c (parse_symbol): Ditto. | |
2623 | (new_symbol): Ditto. | |
2624 | * minsyms.c (prim_record_minimal_symbol_and_info): Ditto. | |
2625 | ||
2626 | * coffread.c (process_coff_symbol): Use obsavestring to save | |
2627 | SYMBOL_NAME, rather than obstack_copy0. | |
2628 | * dstread.c (create_new_symbol): Ditto | |
2629 | * symfile.c (obconcat): Ditto. | |
2630 | * stabsread.c (patch_block_stabs): Ditto. | |
2631 | * xcoffread.c (SYMNAME_ALLOC): Ditto. | |
2632 | ||
2633 | * symfile.c (obsavestring): Update comments | |
2634 | * solib.c (solib_add_common_symbols): Remove local var origname. | |
2635 | ||
2636 | Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2637 | ||
2638 | * configure: Re-build with autoconf-2.10. | |
2639 | ||
2640 | * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h, | |
2641 | config/sparc/tm-sparclite.h: Initialize tm_print_insn from | |
2642 | TM_PRINT_INSN, which comes from the tm file. | |
2643 | ||
2644 | Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com> | |
2645 | ||
2646 | * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, | |
2647 | os9kread.c: Replace identical sym_offsets functions with | |
2648 | default_symfile_offsets. | |
2649 | * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS | |
2650 | macro to allocate section_offsets. | |
2651 | * symfile.c (default_symfile_offsets): New function. | |
2652 | * symfile.h: Declare default_symfile_offsets. | |
2653 | * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to | |
2654 | simplify allocation of section_offsets. | |
2655 | ||
2656 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2657 | ||
2658 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2659 | * configure configure.in: Only make sol-thread.o for native. | |
2660 | Also, switch to dlopened libthread_db.so.1. | |
2661 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2662 | library. | |
2663 | ||
2664 | Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2665 | ||
2666 | * configure, configure.in: Change test for libthread_db to only | |
2667 | work for configs where build/host/target are the same. | |
2668 | ||
2669 | Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2670 | ||
2671 | * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on | |
2672 | PowerPC. | |
2673 | ||
2674 | * configure.in (powerpc-*-linux): Add Linux, System V, and ELF | |
2675 | support. | |
2676 | * configure: Regenerate. | |
2677 | ||
2678 | Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com> | |
2679 | ||
2680 | From Raymond Jou <rjou@mexican.cygnus.com>: | |
2681 | * mpw-make.sed: Add lines to whack out autoconf hook | |
2682 | @CONFIG_LDFLAGS@. | |
2683 | ||
2684 | Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com> | |
2685 | ||
2686 | * remote-e7000.c (e7000_stop): New function. | |
2687 | ||
2688 | Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com> | |
2689 | ||
2690 | * configure, configure.in: Add target sparclet. | |
2691 | * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM | |
2692 | (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if | |
2693 | command to start process running on target is different from one | |
2694 | to continue execution), MO_HEX_PREFIX (if addresses from monitor | |
2695 | have a "0x" prefix). | |
2696 | * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the | |
2697 | registers array. This is to allow NULLs to be place holders in | |
2698 | the tm-*.h file so that only minor changes are needed when a new | |
2699 | processor is introduced (eg, one without floating point). | |
2700 | * sparc-tdep.c: Conditionally remove dependancies on floating | |
2701 | point. | |
2702 | * sparclet-rom.c, config/sparc/sparclet.mt, | |
2703 | config/sparc/tm-sparclet.h: New files for target sparclet. | |
2704 | * symfile.c (load_command): Add option for 2nd parameter; a load | |
2705 | offset added to the vma of each section. | |
2706 | ||
2707 | Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com> | |
2708 | ||
2709 | * main.c (main): Add option "l" for setting remote_timeout. | |
2710 | ||
2711 | Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com> | |
2712 | ||
2713 | * remote-e7000.c, remote.c, target.h, top.c: Add set option | |
2714 | "remote_timeout" for setting remote_timeout. Add set option | |
2715 | "use_hard_breakpoints" for setting hardware .vs. memory | |
2716 | breakpoints. | |
2717 | ||
2718 | Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com> | |
2719 | ||
2720 | * remote-e7000.c (e7000_parse_device): New function. | |
2721 | Add option "tcp_remote" to target command if using | |
2722 | tcp to connect to a remote host which is then connected | |
2723 | via serial port to the e7000 (for exampole, a port master). | |
2724 | (e7000_open): Change to call e7000_parse_device. | |
2725 | ||
2726 | Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com> | |
2727 | ||
2728 | * monitor.c (monitor_debug): Fix remotedebug buffering. | |
2729 | ||
2730 | Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com> | |
2731 | ||
2732 | * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh | |
2733 | (NATDEPFILES): Add a space. | |
2734 | ||
2735 | Wed Jun 26 06:05:39 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
2736 | ||
2737 | * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type) | |
2738 | is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type. | |
2739 | ||
2740 | * ch-exp.c (calculate_array_length): Function removed. | |
2741 | ||
2742 | Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com> | |
2743 | ||
2744 | * remote-e7000.c (e7000_read_inferior_memory_large): New function. | |
2745 | (e7000_xfer_inferior_memory): Call it. | |
2746 | ||
2747 | Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
2748 | ||
2749 | * gdb/gdbserver/Makefile.in (docdir): Removed. | |
2750 | ||
2751 | Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) | |
2752 | ||
2753 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): | |
2754 | Use autoconf set values. | |
2755 | (docdir): Removed. | |
2756 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2757 | * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, | |
2758 | includedir): Use autoconf set values. | |
2759 | (docdir): Removed. | |
2760 | * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
2761 | * nlm/configure: Rebuilt. | |
2762 | * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share. | |
2763 | ||
2764 | Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com) | |
2765 | ||
2766 | * stabsread.c (read_cfront_member_functions): add type | |
2767 | ||
2768 | Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com> | |
2769 | ||
2770 | * win32-nat.c: #include <unistd.h>. | |
2771 | (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete. | |
2772 | (child_create_inferior): Convert only env var PATH to win32 style. | |
2773 | (set_pathstyle_dos): Delete. | |
2774 | (_initialize_inftarg): Delete dos-path-style command. | |
2775 | ||
2776 | Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com> | |
2777 | ||
2778 | * configure.in: Revise sol-thread.o test. | |
2779 | * configure: Regenerated. | |
2780 | ||
2781 | * source.c (find_source_lines): Reassign size to result of read. | |
2782 | ||
2783 | Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
2784 | ||
2785 | * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. | |
2786 | (h8300_command): Likewise. | |
2787 | (set_machine): Likewise. | |
2788 | (set_machine_hook): Likewise. | |
2789 | (_initialize_h8300m): Likewise. | |
2790 | ||
2791 | * config/h8300/tm-h8300.h (h8300smode): Declare. | |
2792 | ||
2793 | Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com> | |
2794 | ||
2795 | * somsolib.c (som_solib_create_inferior_hook): Handle tracking | |
2796 | of shl_load calls for hpux10. | |
2797 | ||
2798 | Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com> | |
2799 | ||
2800 | * config.in: Regenerated. | |
2801 | * acconfig.h (HAVE_THREAD_DB_LIB): Added entry. | |
2802 | ||
2803 | * configure: Regenerated. | |
2804 | * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to | |
2805 | avoid name clashes with SunOS headers. | |
2806 | ||
2807 | Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com> | |
2808 | ||
2809 | From Michael Snyder <Michael_Snyder@next.com>: | |
2810 | * bcache.c (print_bcache_statistics): Avoid divide-by-zero | |
2811 | exception if one or more objfile has no symbols, such as when | |
2812 | a dynamic library has been stripped. | |
2813 | ||
2814 | Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com) | |
2815 | ||
2816 | * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. | |
2817 | * configure configure.in: Only make sol-thread.o for native. | |
2818 | Also, switch to dlopened libthread_db.so.1. | |
2819 | * sol-thread.c: Switch to using dlopen to get the thread_db | |
2820 | library. | |
2821 | ||
2822 | Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com> | |
2823 | ||
2824 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS): | |
2825 | Change from 0xE0000000 to 0xC0000000. | |
2826 | ||
2827 | Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
2828 | ||
2829 | * config/powerpc/xm-solaris.h: Initial version of support for | |
2830 | Solaris on PowerPC. | |
2831 | ||
2832 | Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk> | |
2833 | ||
2834 | * configure.in (configdirs): Force 4100 builds to use 4300 GDB | |
2835 | target. | |
2836 | * configure: Rebuild. | |
2837 | ||
2838 | * config/mips/vr4300el.mt (SIM_OBS): Include simulator in | |
2839 | little-endian builds. | |
2840 | ||
2841 | Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com) | |
2842 | ||
2843 | * inftarg.c (child_thread_alive): Protect declaration with | |
2844 | #ifndef CHILD_THREAD_ALIVE. | |
2845 | ||
2846 | * source.c (find_source_lines): Check the time on the symtab's bfd if | |
2847 | it exists, else check the time on the exec_bfd. | |
2848 | ||
2849 | Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com> | |
2850 | ||
2851 | * dsrec.c (make_srec): Fix calculation of address size | |
2852 | to allow addresses less than 0x100. | |
2853 | ||
2854 | Thu May 30 04:24:09 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
2855 | ||
2856 | * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length. | |
2857 | ||
2858 | Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com> | |
2859 | ||
2860 | * remote-mips.c: cannot use EINVAL for breakpoint test since | |
2861 | its value varies for different hosts (e.g. go32's is 19, while | |
2862 | sunos is 22). Changed to hardcoded 22 since that is what the | |
2863 | mips boards return. | |
2864 | ||
2865 | Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com> | |
2866 | ||
2867 | * configure: Regenerated. | |
2868 | * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN. | |
2869 | (CY_AC_PATH_TKH): Don't use AC_TRY_RUN. | |
2870 | ||
2871 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2872 | ||
2873 | * solib.c (solib_absolute_prefix, solib_search_path): New variables. | |
2874 | (_initialize_solib): Add set/show commands for those variables. | |
2875 | (solib_map_sections): Implement searching using them. | |
2876 | ||
2877 | Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com> | |
2878 | ||
2879 | Changes from: David Mosberger-Tang <davidm@azstarnet.com> | |
2880 | ||
2881 | * NEWS: Add Alpha Linux as a new native configuration. | |
2882 | ||
2883 | * mdebugread.c (parse_symbol): When we find a malloc() symbol with | |
2884 | return type VOID, assume no debugging info is available for that | |
2885 | object file and patch the return value into VOID *. Otherwise, | |
2886 | operations requiring an implicit call to malloc() will fail. | |
2887 | ||
2888 | * infrun.c (wait_for_inferior): The criterion to detect entering a | |
2889 | sigtramp handler is now: (a) the current pc is inside a sigtramp | |
2890 | handler, (b) the previous pc is not in a sigtramp handler, and (c) | |
2891 | the current stack pointer is "inner" than the old one. Condition | |
2892 | (c) is new to avoid mistaking a return from a signal handler into | |
2893 | sigtramp as a new sigtramp invocation. | |
2894 | ||
2895 | * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An | |
2896 | int may not be big enough to hold an address. | |
2897 | (dcache_hit): Ditto. | |
2898 | (dcache_peek_byte): Fix indentation. | |
2899 | ||
2900 | * configure.in (alpha-*-linux*): Add target. | |
2901 | * configure: Rebuild | |
2902 | ||
2903 | * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro. | |
2904 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2905 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
2906 | (SIGCONTEXT_ADDR): Ditto. | |
2907 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
2908 | ||
2909 | * config/alpha/alpha-linux.mh: New file. | |
2910 | * config/alpha/alpha-linux.mt: Ditto. | |
2911 | * config/alpha/nm-linux.h: Ditto. | |
2912 | * config/alpha/tm-alphalinux.h: Ditto. | |
2913 | * config/alpha/xm-alphalinux.h: Ditto. | |
2914 | * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h. | |
2915 | * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to | |
2916 | xm-alphaosf.h. | |
2917 | * config/alpha/alpha-osf2.mh: Ditto. | |
2918 | ||
2919 | * blockframe.c (find_pc_partial_function): Pass PC to | |
2920 | SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems | |
2921 | that detect sigtramp code via designated code sequences (as is the | |
2922 | case for Linux/Alpha, for example). | |
2923 | ||
2924 | * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END | |
2925 | to ignore new PC argument. | |
2926 | * config/m68k/tm-hp300bsd.h: Ditto. | |
2927 | * config/vax/tm-vax.h: Ditto. | |
2928 | ||
2929 | * alpha-tdep.c (alpha_linux_sigtramp_offset): New function. | |
2930 | (alpha_osf_skip_sigtramp_frame): Ditto. | |
2931 | (push_sigtramp_desc): Ditto. | |
2932 | (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract | |
2933 | sigcontext address from frame. | |
2934 | (alpha_saved_pc_after_call): When in sigtramp, use | |
2935 | alpha_frame_saved_pc() instead of read-register(). | |
2936 | (after_prologue): When inside a dynamically generated sigtramp | |
2937 | function, there is no prologue, so return address of first | |
2938 | instruction. | |
2939 | (alpha_in_prologue): Fix typo in comment. | |
2940 | (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine | |
2941 | whether we're inside a dynamicaly generated sigtramp function. If | |
2942 | so, create and push and appropriate procedure descriptor. | |
2943 | (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain | |
2944 | the frame past a sigtramp frame (if the current frame is indeed a | |
2945 | sigtramp function). | |
2946 | (init_extra_frame_info): Don't read next frame register off of | |
2947 | stack-pointer when inside a dynamiccaly generated sigtramp. | |
2948 | (alpha_pop_frame): Also unlink and destroy procedure descriptors | |
2949 | created for dynamically generated sigtramp functions. | |
2950 | ||
2951 | * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and | |
2952 | <alpha/ptrace.h> instead of <machine/reg.h> | |
2953 | ||
2954 | Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2955 | ||
2956 | * gnu-nat.c (inf_validate_task_sc): | |
2957 | Give terminal to gdb while asking question. | |
2958 | (inf_resume): Don't validate the task suspend-count while execing. | |
2959 | ||
2960 | Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2961 | ||
2962 | * gnu-nat.c (inf_validate_task_sc): Query user before clearing any | |
2963 | additional suspend count. | |
2964 | (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc. | |
2965 | (inf_resume): Call inf_validate_task_sc here. | |
2966 | (gnu_resume): Call inf_update_procs to ensure noticing new threads. | |
2967 | ||
2968 | Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
2969 | ||
2970 | * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID. | |
2971 | ||
2972 | Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com) | |
2973 | ||
2974 | * h8300-tdep.c (IS_PUSH): Refine. | |
2975 | (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints. | |
2976 | (IS_SUB4_SP, IS_SUBL_SP): New macros. | |
2977 | (h8300_skip_prologue): Handle H8/300H prologue code sequences. | |
2978 | (examine_prologue): Handle addresses from 0x010000 to 0xffffff | |
2979 | when in H8/300H mode. Get the return pointer's address correctly | |
2980 | for the H8/300H. Handle H8/300H prolouge code sequences. | |
2981 | ||
2982 | * symfile.c (generic_load): Print the starting address | |
2983 | of the file just loaded. | |
2984 | ||
2985 | Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com> | |
2986 | ||
2987 | * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile. | |
2988 | ||
2989 | Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
2990 | ||
2991 | * breakpoint.c (bpstat_do_actions): Avoid endless recursion | |
2992 | if a `source' command is contained in bs->commands. | |
2993 | ||
2994 | * infrun.c (wait_for_inferior): Update step_frame_address when | |
2995 | stepping into a new line. | |
2996 | ||
2997 | From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab): | |
2998 | * breakpoint.c (breakpoint_1): Add shlib_disabled case to | |
2999 | bpenables array. | |
3000 | ||
3001 | Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com> | |
3002 | ||
3003 | * dsrec.c (load_srec): Add WAITACK parameter, for machines | |
3004 | like EST visionICE that send back an ACK after each S-record. | |
3005 | * monitor.c (monitor_wait_srec_ack): New function. | |
3006 | (monitor_load): Pass monitor_wait_srec_ack to load_srec | |
3007 | if the monitor's MO_SREC_ACK flag is set. | |
3008 | * monitor.h: Define MO_SREC_ACK flag. | |
3009 | * remote-est.c (est_cmds): Add MO_SREC_ACK flag. | |
3010 | * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype. | |
3011 | * srec.h: Add WAITACK parameter to load_srec prototype. | |
3012 | ||
3013 | Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll> | |
3014 | ||
3015 | * config/sparc/sparclite.mt: Add the sparc simulator. | |
3016 | ||
3017 | Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com> | |
3018 | ||
3019 | * defs.h (read_command_lines, query_hook): Update prototypes. | |
3020 | (readline_begin_hook, readline_hook, readline_end_hook): Declare. | |
3021 | * breakpoint.c (commands_command): Build message in temporary buffer | |
3022 | and pass that, as well as tty control flag, to read_command_lines. | |
3023 | * top.c (readline_begin_hook, readline_hook, readline_end_hook): | |
3024 | Define here. | |
3025 | (command_loop): Check for non-NULL instream before looping. | |
3026 | (command_line_input): Use readline_hook when appropriate, to get | |
3027 | user input from a GUI window. | |
3028 | (read_next_line): Also build prompt if getting user input from a GUI. | |
3029 | (recurse_read_control_structure): Fix typo in comment. | |
3030 | (read_command_lines): Use passed in prompt and tty flag to decide how | |
3031 | to build message. Use readline_begin_hook when appropriate, to set | |
3032 | up a GUI interaction window. Just return head, whether NULL or not, | |
3033 | after using readline_end_hook to complete GUI interaction. | |
3034 | (define_command, document_command): Build message in a temporary | |
3035 | buffer and pass it to read_command_lines, along with tty flag. | |
3036 | ||
3037 | ||
3038 | Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
3039 | ||
3040 | * blockframe.c (frameless_look_for_prologue): | |
3041 | Add FUNCTION_START_OFFSET only if func_start is non-zero. | |
3042 | * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if | |
3043 | pc is not in a known section. | |
3044 | * stack.c (print_frame_info): Remove check for fi->pc in known | |
3045 | section, now handled by lookup_minimal_symbol_by_pc. | |
3046 | ||
3047 | ||
3048 | Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3049 | ||
3050 | * sh-stub.c: New file, was config/sh/stub.c. | |
3051 | ||
3052 | ||
3053 | Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com) | |
3054 | ||
3055 | * top.c (read_next_line): Fix thinkos. From Donn Seeley. | |
3056 | ||
3057 | * coffread.c (coff_symtab_read): Handle C_LABEL symbols like | |
3058 | C_STAT symbols. | |
3059 | * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. | |
3060 | Flush cached frames just before exiting. | |
3061 | * remote-sim.c (gdbsim_resume): Complain if the program isn't | |
3062 | being run. | |
3063 | * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. | |
3064 | ||
3065 | Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3066 | ||
3067 | * procfs.c (procfs_thread_alive procfs_stop): Make static. | |
3068 | (procfs_pid_to_str): New routine to print out thread id's in an | |
3069 | intelligible manner. | |
3070 | * sol-thread.c (sol_thread_fetch_registers): Re-order manner in | |
3071 | which supply_register is called to fix bug with writing | |
3072 | individual regs. | |
3073 | * config/sparc/tm-sun4sol2.h: Define default for | |
3074 | target_pid_to_str in case host lacks libthread_db. | |
3075 | ||
3076 | Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3077 | ||
3078 | * Makefile.in config.in configure configure.in | |
3079 | config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh | |
3080 | config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread | |
3081 | and pthread support, since pre-2.5 systems don't come with | |
3082 | libthread_db.so.1. | |
3083 | ||
3084 | * procfs.c (info_proc): Use int instead of id_t. Old versions of | |
3085 | Irix don't seem to define this. | |
3086 | ||
3087 | Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com) | |
3088 | ||
3089 | * top.c (execute_control_command, case while_control): Allow | |
3090 | a while command to be interrupted. | |
3091 | ||
3092 | Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3093 | ||
3094 | * sol-thread.c: More cleanup, add comments. | |
3095 | (sol_thread_resume): Prevent people from trying to step | |
3096 | inactive threads. | |
3097 | (sol_thread_wait sol_thread_fetch_registers | |
3098 | sol_thread_store_registers): Remove unnecessary check for | |
3099 | sol_thread_active. These routines won't get called unless threads | |
3100 | are active. | |
3101 | ||
3102 | Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3103 | ||
3104 | SH3-E support from Allan Tajii <atajii@hmsi.com>: | |
3105 | * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for | |
3106 | float registers. | |
3107 | (sh3e_reg_names): New register name array. | |
3108 | (sh_processor_type_table): Add sh3e processor type. | |
3109 | * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. | |
3110 | (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for | |
3111 | full set of registers. | |
3112 | * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. | |
3113 | (e7000_fetch_registers, e7000_wait): Use them. | |
3114 | * sh3-rom.c (sh3_regnames): Add float registers. | |
3115 | (sh3e_cmds, sh3e_ops): New globals. | |
3116 | (sh3e_open): New function. | |
3117 | (_initialize_sh3_rom): Rename from _initialize_sh3, set up | |
3118 | sh3e target vector. | |
3119 | ||
3120 | Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com) | |
3121 | ||
3122 | * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes. | |
3123 | Print out messages instead of codes for thread_db errors. Make | |
3124 | access macros for thread and lwp manipulation. Make cleanups to | |
3125 | fixup inferior_pid in case of errors. | |
3126 | ||
3127 | Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com> | |
3128 | ||
3129 | * aclocal.m4: Remove unused definition of AC_C_CROSS. | |
3130 | * configure.in: Add powerpcle-*-solaris* host and target config | |
3131 | so April 30th change does not get lost next time configure is | |
3132 | rebuilt. | |
3133 | ||
3134 | Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3135 | ||
3136 | * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c, | |
3137 | infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, | |
3138 | win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to | |
3139 | avoid conflict with Solaris /usr/include/thread.h. | |
3140 | ||
3141 | Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com> | |
3142 | ||
3143 | * abug-rom.c: Config file for the older style ABug monitor that | |
3144 | runs on the mvme13x boards. | |
3145 | * config/m68k/monitor.mt: Add abug support for m68k cross | |
3146 | debugging. | |
3147 | ||
3148 | Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com> | |
3149 | ||
3150 | * infcmd.c (do_registers_info): Always print the raw floating | |
3151 | point value's bytes in big endian order, so the the leftmost bit | |
3152 | is the most significant. | |
3153 | * breakpoint.c (clear_momentary_breakpoints): Remove dead code | |
3154 | that is referenced nowhere else. | |
3155 | (set_breakpoint): Ditto. | |
3156 | (do_enable_breakpoint): Created from enable_once_breakpoint | |
3157 | with a couple of changes. | |
3158 | (enable_breakpoint): Call do_enable_breakpoint with an appropriate | |
3159 | bpdisp enum value to set disposition of breakpoint. | |
3160 | (enable_once_breakpoint): Ditto. | |
3161 | (enable_delete_breakpoint): Ditto. | |
3162 | * breakpoint.h (clear_momentary_breakpoints): Remove prototype. | |
3163 | * symtab.c (find_pc_line): Improve comments. | |
3164 | * xcoffread.c: Ditto. | |
3165 | ||
3166 | Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3167 | ||
3168 | * target.c (debug_to_xfer_memory): Insert line breaks when | |
3169 | dumping the memory block. | |
3170 | ||
3171 | Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3172 | ||
3173 | * fork-child.c (fork_inferior), inferior.h: init_trace_fun now | |
3174 | returns a possibly modified pid. | |
3175 | * inftarg.c (ptrace_him): Now returns pid; | |
3176 | * m3-nat.c (m3_trace_him): Now returns pid; | |
3177 | * infcmd.c (run_command): Minor cleanup. | |
3178 | * infrun.c (wait_for_inferior): Add another check for one_stepped | |
3179 | near where we read the pc to avoid erroneously setting | |
3180 | random_signal for multi-threaded support. | |
3181 | * procfs.c: Add support for Solaris LWPs. Remove def of | |
3182 | LOSING_POLL. Many cleanups... Several workarounds for Solaris | |
3183 | lossage. System call entry and exit are now handled by | |
3184 | dynamically registered handlers. | |
3185 | * (syscallname): Don't barf when handed an unknown syscall | |
3186 | number. | |
3187 | * (info_proc_syscalls): Ditto. | |
3188 | * sol-thread.c: New file. Implements Solaris thread support. | |
3189 | * symfile.c (symbol_file_add): Add call to target_new_objfile to | |
3190 | notify target-dependent code about new symbol tables. | |
3191 | * (clear_symtab_users): Call target_new_objfile to notify it of | |
3192 | the removal of all symbol tables. | |
3193 | * target.c (push_target): Make sure that to_close is non-zero | |
3194 | before calling it. | |
3195 | * target.h (target_new_objfile): Provide default. | |
3196 | * config/alpha/nm-osf2.h: Define LOSING_POLL because this version | |
3197 | of OSF can't hack using poll with /proc. | |
3198 | * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be | |
3199 | sol-thread-new-objfile. | |
3200 | * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and | |
3201 | add libthread_db.so.1 to NAT_CLIBS. | |
3202 | * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and | |
3203 | target_pid_to_str. | |
3204 | ||
3205 | Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net> | |
3206 | ||
3207 | * procfs.c (remove_fd): Fix copy of fds to fill hole left after | |
3208 | removal of the requested fd. | |
3209 | ||
3210 | Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3211 | ||
3212 | * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific | |
3213 | hooks under ELF. | |
3214 | ||
3215 | * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT. | |
3216 | ||
3217 | Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com) | |
3218 | ||
3219 | From Peter Schauer: | |
3220 | * breakpoint.h (enum bpdisp): Add del_at_next_stop. | |
3221 | * breakpoint.c (insert_breakpoints, watchpoint_check, | |
3222 | bpstat_stop_status): Avoid bad references to memory freed via | |
3223 | delete_breakpoint on watchpoints going out of scope. | |
3224 | Do not delete these watchpoints, disable them and change their | |
3225 | disposition to del_at_next_stop instead. | |
3226 | (breakpoint_auto_delete): Delete all breakpoints whose disposition | |
3227 | is del_at_next_stop. | |
3228 | (breakpoint_init_inferior): Use switch to avoid reference to | |
3229 | already deleted breakpoint. | |
3230 | ||
3231 | Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com> | |
3232 | ||
3233 | * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h. | |
3234 | * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... | |
3235 | * config/rs6000/rs6000.mt (TDEPFILES): ... to here. | |
3236 | * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. | |
3237 | (solib_info): Call xcoff_relocate_symtab via the hook. | |
3238 | (sharedlibrary_command): Ditto. | |
3239 | * xcoffread.c: Remove all FAKING_RS6000 comments and defines. | |
3240 | (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. | |
3241 | (xcoff_init_loadinfo_hook): Define and initialize here. | |
3242 | (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. | |
3243 | (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. | |
3244 | * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. | |
3245 | * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations | |
3246 | of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. | |
3247 | * rs6000-nat.c (_initialize_core_rs6000): Add initialization | |
3248 | of xcoff_relocate_symtab_hook. | |
3249 | ||
3250 | Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com> | |
3251 | ||
3252 | * configure (powerpcle-*-solaris*): Add Solaris support. | |
3253 | ||
3254 | * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for | |
3255 | Solaris support. | |
3256 | ||
3257 | Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com> | |
3258 | ||
3259 | * c-valprint.c (c_val_print): Fix printing for arrays defined | |
3260 | with 0 length. | |
3261 | ||
3262 | Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3263 | ||
3264 | Support for bi-endian remote breakpoints. | |
3265 | * remote.c (big_break_insn, little_break_insn): New globals. | |
3266 | (break_insn): Remove. | |
3267 | (remote_insert_breakpoint, remote_remove_breakpoint): Use own | |
3268 | code if REMOTE_BREAKPOINT defined, otherwise call memory | |
3269 | breakpoint functions. | |
3270 | * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. | |
3271 | (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define. | |
3272 | ||
3273 | * mon960-rom.c (mon960_cmds): Remove forward decl. | |
3274 | (mon960_load): Use current_monitor instead of mon960_cmds. | |
3275 | (mon960_regnames): Remove backslashes from line ends. | |
3276 | (_initialize_mon960): Fix documentation string. | |
3277 | ||
3278 | Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com> | |
3279 | ||
3280 | * symfile.h (psymbol_allocation_list): Expand comments which | |
3281 | describe the psymbol allocation list and how each field is | |
3282 | used. | |
3283 | ||
3284 | Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
3285 | ||
3286 | * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp | |
3287 | storage leaks. | |
3288 | (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. | |
3289 | ||
3290 | * infcmd.c (run_command), solib.c (locate_base): Check for | |
3291 | target_has_execution in addition to inferior_pid, a core file | |
3292 | from a threaded program is yielding a non-zero inferior_pid. | |
3293 | ||
3294 | * sparc-tdep.c (get_saved_register): Handle window registers | |
3295 | in a dummy frame correctly. | |
3296 | ||
3297 | Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com> | |
3298 | ||
3299 | * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs, | |
3300 | so that anything that wants an allocation function not yet pulled | |
3301 | in, will get it from mmalloc rather than a system library. | |
3302 | * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, | |
3303 | to avoid surprising results when used. | |
3304 | ||
3305 | Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com) | |
3306 | ||
3307 | * stabsread.c: Changes and bug fixes for cfront support. | |
3308 | Fix bug for class data members. | |
3309 | Fix parsing bug when no base classes exist. | |
3310 | Fix memory bug - allocate space for cplusplus specific info. | |
3311 | Add support for static data. | |
3312 | Add prototypes for static functions. | |
3313 | Enhance comments to show what each function expects to parse. | |
3314 | Cleanup code. | |
3315 | * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename | |
3316 | function to resolve_cfront_continuation. | |
3317 | ||
3318 | Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com) | |
3319 | ||
3320 | * infrun.c (wait_for_inferior): Call registers_changed when | |
3321 | restarting the inferior to get over a nullified instruction. | |
3322 | ||
3323 | Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com) | |
3324 | ||
3325 | * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c: | |
3326 | Add new support for parsing cfront stabs. | |
3327 | ||
3328 | Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com) | |
3329 | ||
3330 | * infrun.c (wait_for_inferior): Move "have_waited" label | |
3331 | outside of #ifdef conditionals. Don't trash the wait status | |
3332 | if we get a signal and the current instruction is nullified. | |
3333 | ||
3334 | Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com> | |
3335 | ||
3336 | * Makefile.in (VERSION): Bump version number to 4.16.1. | |
3337 | * NEWS: Update for 4.16 release. | |
3338 | ||
3339 | Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3340 | ||
3341 | * monitor.h: Clean up comment formatting. | |
3342 | (current_monitor): Remove decl. | |
3343 | (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions. | |
3344 | (push_monitor, SREC_SIZE): Remove. | |
3345 | * monitor.c: Expand old macro into current_monitor derefs | |
3346 | everywhere. | |
3347 | * remote-os9k.c (current_monitor): Remove definition. | |
3348 | ||
3349 | Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com> | |
3350 | ||
3351 | * corefile.c (specify_exec_file_hook): Allow arbitrary number of | |
3352 | hooks. | |
3353 | (call_extra_exec_file_hooks): New function. | |
3354 | * h8300-tdep.c: Lint; add .h files to provide missing declarations, | |
3355 | remove unused variables. | |
3356 | (set_machine_hook): New function. | |
3357 | (_initialize_h8300m): Initialize it. | |
3358 | ||
3359 | Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com> | |
3360 | ||
3361 | * remote-mips.c (encoding): Don't specify size, to avoid bug in | |
3362 | SunOS native compiler. | |
3363 | ||
3364 | Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3365 | ||
3366 | * monitor.c: Use int rather than LONGEST for values, since | |
3367 | the formatting strings are not prepared to accept long longs. | |
3368 | ||
3369 | Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com> | |
3370 | ||
3371 | * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'. | |
3372 | ||
3373 | Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3374 | ||
3375 | * corelow.c (add_to_thread_list): Make sure reg_sect is non-null | |
3376 | before de-referencing it. Prevents deref of NULL pointer if core | |
3377 | file lacks .reg section. | |
3378 | * defs.h: Rename floatformat_{to from}_long_double to | |
3379 | floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO | |
3380 | FROM}... macros. | |
3381 | * findvar.c (extract_floating store_floating): Change all refs to | |
3382 | FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest. | |
3383 | * utils.c: Change floatformat_{to from}_long_double to | |
3384 | floatformat_{to from}_doublest cuz the new routines will use | |
3385 | whatever size (double or long double) is appropriate. | |
3386 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3387 | REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to | |
3388 | floatformat... routine calls. | |
3389 | ||
3390 | Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
3391 | ||
3392 | * stabsread.c (read_type): Move handling of '@' from type | |
3393 | number handling to handling of types proper (as emitted by gcc!). | |
3394 | For typedefs, allocate the typedef type before reading its | |
3395 | definition, to properly handling recursive types. | |
3396 | ||
3397 | Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com) | |
3398 | ||
3399 | * ch-exp.c (calculate_array_length): Fix prototype. | |
3400 | ||
3401 | Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3402 | ||
3403 | * remote-nindy.c (nindy_open): Acquire more target state so that | |
3404 | user can attach to a previously running program. | |
3405 | * (nindy_fetch_registers nindy_store_registers): Get rid of fp | |
3406 | conversion code. That's all handled in {extract store}_floating | |
3407 | now. | |
3408 | * utils.c (floatformat_to_double): Don't bias exponent when | |
3409 | handling zero's, denorms or NaNs. | |
3410 | * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL | |
3411 | REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and | |
3412 | FLOATFORMAT_TO/FROM_DOUBLEST macros. | |
3413 | * config/i960/tm-nindy960.h: Undefine | |
3414 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and | |
3415 | REGISTER_CONVERTIBLE. These are no longer necessary now that all | |
3416 | the magic happens in extract/store_floating. | |
3417 | ||
3418 | Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
3419 | ||
3420 | * eval.c (evaluate_subexp_standard): Report error when attempting to | |
3421 | evaluate subscripts for types which cannot be subscripted. | |
3422 | ||
3423 | * valarith.c (value_x_binop, value_x_unop): Add noside parameter. | |
3424 | Return a zero value with the return type of the member function | |
3425 | if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member | |
3426 | function. | |
3427 | * values.h (value_x_binop, value_x_unop): Update prototypes | |
3428 | accordingly. | |
3429 | * eval.c (evaluate_subexp_standard): Update all callers of | |
3430 | value_x_binop, value_x_unop accordingly. | |
3431 | ||
3432 | * valarith.c (value_neg, value_complement): Perform ANSI C/C++ | |
3433 | integral promotion on operands. | |
3434 | ||
3435 | Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com> | |
3436 | ||
3437 | * README: Update for 4.16 release. | |
3438 | * configure.in (AC_CHECK_FUNCS): Also check for sbrk. | |
3439 | * configure: Regenerate with autoconf. | |
3440 | * config.in: Regenerate with autoheader. | |
3441 | * main.c (main): Only use sbrk() when HAVE_SBRK is defined. | |
3442 | * top.c (command_loop): Ditto. | |
3443 | ||
3444 | Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3445 | ||
3446 | * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3447 | defaults for bi-endian targets. Replace function pointers for | |
3448 | floatformat routines with macros. No need for these to be runtime | |
3449 | selectable. | |
3450 | * findvar.c: Get rid of floatformat function pointers. Use | |
3451 | macros in extract_floating and store_floating. | |
3452 | * remote-nindy.c (nindy_fetch_registers nindy_store_registers): | |
3453 | Use floatformat macros. | |
3454 | ||
3455 | Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com> | |
3456 | ||
3457 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3458 | * configure.in (AC_CHECK_HEADERS): check for endian.h. | |
3459 | Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. | |
3460 | Add host & target cases for i[345]86-*-gnu*. | |
3461 | * config.in: Regenerate with autoheader. | |
3462 | * configure: Regenerate with autoconf. | |
3463 | * Makefile.in (AR, AWK): Set from corresponding autoconf substs. | |
3464 | (init.c): Don't scan mig-generated files. | |
3465 | * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. | |
3466 | * config/nm-m3.h (ATTACH_NO_WAIT): Define. | |
3467 | * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" | |
3468 | rather than "#ifndef MACH". | |
3469 | ||
3470 | Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3471 | ||
3472 | * remote.c (remotewritesize): New GDB variable, controls size | |
3473 | of memory packets sent to the target. | |
3474 | ||
3475 | Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com) | |
3476 | ||
3477 | * dcache.c: Add prototypes. Make many functions static. | |
3478 | * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and | |
3479 | dcache_poke call dcache_xfer_memory directly in order to fix | |
3480 | problems with turning off dcache. dcache_peek is now unnecessary, | |
3481 | so it goes away. | |
3482 | ||
3483 | * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT | |
3484 | and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer | |
3485 | to a struct floatformat. This allows for better handling of | |
3486 | targets whose floating point formats differ from the host by more | |
3487 | than just byte order. | |
3488 | * (floatformat_to_long_double floatformat_from_long_double): | |
3489 | Prototypes for new functions in utils.c. | |
3490 | * (floatformat_to_doublest floatformat_from_doublest): Prototypes | |
3491 | for pointers to floating point conversion functions. The actual | |
3492 | function uses either double or long double if the host supports it. | |
3493 | * findvar.c (floatformat_to_doublest floatformat_from_doublest): | |
3494 | Initialize to point at correct function depending on HAVE_LONG_DOUBLE. | |
3495 | * (extract_floating store_floating): Rewrite. Now, if host fp | |
3496 | format is the same as the target, we just do a copy. Otherwise, | |
3497 | we call floatformat_{to from}_doublest. | |
3498 | * remote-nindy.c (nindy_xfer_inferior_memory): Change param | |
3499 | `write' to `should_write'. | |
3500 | * utils.c (floatformat_to_long_double | |
3501 | floatformat_from_long_double): New routines that implement long | |
3502 | double versions of functions in libiberty/floatformat.c. | |
3503 | * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for | |
3504 | i960 extended real (80 bit) numbers. | |
3505 | * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes | |
3506 | actually read or written. | |
3507 | ||
3508 | Wed Apr 10 02:56:06 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
3509 | ||
3510 | * ch-valprint.c (chill_val_print): Remove call to calculate_array_length. | |
3511 | (calculate_array_length): Move function from here ... | |
3512 | ||
3513 | * ch-exp.c (calculate_array_length): ... to here. | |
3514 | (parse_primval): If we have a symbol with an array type | |
3515 | and the length is 0, call calculate_array_length. | |
3516 | ||
3517 | Tue Apr 9 01:23:05 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
3518 | ||
3519 | * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET: | |
3520 | Add some checks for powerset compatibility. | |
3521 | ||
3522 | * valops.c (value_slice): Use lowbound instead of lowerbound for | |
3523 | call to slice_range_type to get correct bounds. | |
3524 | ||
3525 | Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com> | |
3526 | ||
3527 | * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and | |
3528 | dependencies. | |
3529 | * scm-lang.c (gdb_string.h): Include. | |
3530 | * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow | |
3531 | call to correct type (char *). | |
3532 | * cp-valprint.c (cp_print_static_field): Ditto. | |
3533 | * somsolib.c (som_solib_create_inferior_hook): Add a declaration | |
3534 | for external find_unwind_entry function (from hppa-tdep.c). | |
3535 | * remote-pa.c (remote_write_bytes, remote_read_bytes): Change | |
3536 | type of second arg to "char *" to be type compatible with | |
3537 | dcache. | |
3538 | (remote_wait): Cast second arg to strtol to correct type. | |
3539 | * hppa-tdep.c (compare_unwind_entries): Change argument types to | |
3540 | "const void *" to be type compatible with qsort, and then | |
3541 | assign to local args prior to use. | |
3542 | ||
3543 | Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com) | |
3544 | ||
3545 | * infptrace.c (kill_inferior): Remove call to "kill"; update | |
3546 | comments. | |
3547 | ||
3548 | Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com> | |
3549 | ||
3550 | * remote-e7000.c: don't append :23 to target port if __WIN32__ | |
3551 | is defined (it's WinGDB). | |
3552 | ||
3553 | Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com> | |
3554 | ||
3555 | From: Miles Bader <miles@gnu.ai.mit.edu> | |
3556 | * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c, | |
3557 | msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk, | |
3558 | config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h, | |
3559 | m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd. | |
3560 | ||
3561 | Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com> | |
3562 | ||
3563 | * configure.in (case host): Add i386sco5 host. | |
3564 | * configure: Regenerate. | |
3565 | ||
3566 | From: Robert Lipe <robertl@dgii.com> | |
3567 | Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This | |
3568 | target is an SVR3.2 with COFF, ELF, and shared libes, but | |
3569 | no /proc. | |
3570 | * config/i386/i386sco5.mh: New file. | |
3571 | * config/i386/nm-i386sco5.h: New file. | |
3572 | ||
3573 | Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com> | |
3574 | ||
3575 | * bcache.c (bcache): When size of chunk to cache is exactly equal to | |
3576 | BCACHE_MAXLENGTH, stash chunk as unique copy. | |
3577 | ||
3578 | Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com> | |
3579 | ||
3580 | * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef. | |
3581 | (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and | |
3582 | use it, rather than calling add_psymbol_addr_to_list. | |
3583 | (add_psymbol_addr_to_list): Delete. | |
3584 | (add_psymbol_to_list): Make psymbol static to avoid random data in | |
3585 | gaps due to alignment of structure members. | |
3586 | * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, | |
3587 | ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no | |
3588 | performance improvements by inlining via complicated macros and | |
3589 | they just make gdb larger and harder to maintain. | |
3590 | * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST | |
3591 | and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to | |
3592 | add_psymbol_to_list with appropriate long or CORE_ADDR args. | |
3593 | (add_partial_symbol): Ditto. | |
3594 | * partial-stab.h: Ditto. | |
3595 | * os9kread.c (read_os9k_psymtab): Ditto | |
3596 | * mdebugread.c (parse_partial_symbols): Ditto. | |
3597 | (handle_psymbol_enumerators): Ditto. | |
3598 | (demangle.h): Include. | |
3599 | * hpread.c (hpread_build_psymtabs): Ditto. | |
3600 | (hpread_build_psymtabs): Ditto. | |
3601 | (demangle.h): Include | |
3602 | ||
3603 | Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com> | |
3604 | ||
3605 | * configure.in: Check for setpgid function. | |
3606 | * config.in: Regenerate with autoheader. | |
3607 | * configure: Regenerate with autoconf. | |
3608 | * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL | |
3609 | if it is actually defined. | |
3610 | (gdb_setpgid): Use HAVE_SETPGID. | |
3611 | * ch-exp.c: Change include of <string.h> to "gdb_string.h". | |
3612 | * c-exp.y, f-exp.y, m2-exp.y: Ditto. | |
3613 | * c-exp.y, serial.c: Include <ctype.h>. | |
3614 | * config/m68k/nm-news.h: Add typedef for pid_t which is | |
3615 | apparently missing from <sys/types.h>. Enclose entire | |
3616 | file in NM_NEWS_H ifndef and define when included. | |
3617 | * config/mips/nm-news-mips.h: Ditto. | |
3618 | * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, | |
3619 | REGISTER_CONVERT_TO_RAW): Change name of temporary variable. | |
3620 | ||
3621 | Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3622 | ||
3623 | * arm-xdep.c: Move native-specific code to here from arm-tdep.c. | |
3624 | * arm-tdep.c (arm_apcs_32): New global. | |
3625 | (arm_addr_bits_remove, arm_saved_pc_after_call, | |
3626 | arm_push_dummy_frame, arm_pop_frame): New functions. | |
3627 | (arm_skip_prologue): Updated version from Richard Earnshaw. | |
3628 | (_initialize_arm_tdep): Add set/show "apcs32". | |
3629 | * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call | |
3630 | arm_addr_bits_remove. | |
3631 | (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. | |
3632 | (frame_find_saved_regs): Declare properly. | |
3633 | (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. | |
3634 | (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of | |
3635 | explicit mask. | |
3636 | * config/arm/nm-arm.h: New file. | |
3637 | * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): | |
3638 | Move definitions to nm-arm.h. | |
3639 | * config/arm/arm.mh (NAT_FILE): Define. | |
3640 | ||
3641 | * symfile.c (generic_load): Initialize data_count properly. | |
3642 | ||
3643 | Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com> | |
3644 | ||
3645 | * symmisc.c (print_objfile_statistics): Print memory used by | |
3646 | psymbol cache obstack. | |
3647 | ||
3648 | Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3649 | ||
3650 | * symfile.c (report_transfer_performance): New function. | |
3651 | (generic_load): Call it to report transfer rate. | |
3652 | * remote-e7000.c (e7000_load): Ditto. | |
3653 | ||
3654 | Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3655 | ||
3656 | * mpw-make.sed: Change references to config.h to be in objdir, | |
3657 | edit out rules to rebuild config.h. | |
3658 | ||
3659 | Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com> | |
3660 | ||
3661 | * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before | |
3662 | proceeding. | |
3663 | ||
3664 | Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com> | |
3665 | ||
3666 | * hppah-nat.c (store_inferior_registers, store_inferior_registers, | |
3667 | fetch_register, child_xfer_memory): Use call_ptrace function supplied | |
3668 | by infptrace.c rather than calling ptrace directly. | |
3669 | ||
3670 | Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3671 | ||
3672 | * mon960-rom.c: Cleanups and elimination of unused code, | |
3673 | clarify documentation string. | |
3674 | (mon960_serial, mon960_ttyname): Remove. | |
3675 | * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS, | |
3676 | ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove. | |
3677 | ||
3678 | Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com> | |
3679 | ||
3680 | * configure.in: Check whether printf family supports printing | |
3681 | long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. | |
3682 | * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. | |
3683 | * configure: Regenerate. | |
3684 | * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. | |
3685 | * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. | |
3686 | * configure.in: Fix have_gregset and have_fpregset autoconf | |
3687 | variable names so that they match the pattern required to | |
3688 | cache them. | |
3689 | ||
3690 | Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com> | |
3691 | ||
3692 | * core-aout.c (fetch_core_registers): Cast core_reg_size to int | |
3693 | before testing against reg_ptr. | |
3694 | * eval.c (evaluate_subexp_standard): Cast type of | |
3695 | TYPE_FN_FIELD_VOFFSET to int. | |
3696 | * findvar.c (extract_signed_integer, extract_unsigned_integer, | |
3697 | extract_long_unsigned_integer): Cast type of sizeof to int. | |
3698 | * values.c (unpack_field_as_long, modify_field): Ditto. | |
3699 | * valops.c (value_assign, call_function_by_hand): Ditto. | |
3700 | * infcmd.c (do_registers_info): Ditto. | |
3701 | * ser-tcp.c (tcp_open): Ditto. | |
3702 | * remote.c (putpkt): Ditto. | |
3703 | * dcache.c (dcache_peek): Ditto. | |
3704 | * dcache.c (dcache_poke): Ditto. | |
3705 | * m2-exp.y (yylex): Ditto. | |
3706 | * gnu-regex.c (re_match_2): Ditto. | |
3707 | * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef | |
3708 | out unused macro definition and variables. | |
3709 | * inftarg.c (proc_wait): Move from main.c to here, and make static. | |
3710 | * valprint.c (val_print_string): Change bufsize from int to unsigned. | |
3711 | * main.c (wait.h): Include. | |
3712 | * top.c (command_line_input): Remove unused variable "c". | |
3713 | * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum | |
3714 | value TYPE_CODE_TYPEDEF to switch statement. | |
3715 | (f_type_print_varspec_suffix): Add missing enum value | |
3716 | TYPE_CODE_TYPEDEF to switch statement. | |
3717 | * ch-exp.c (parse_primval): Add remaining enumeration values to | |
3718 | switch statement, with no specific action. | |
3719 | (ch_lex): Add LOC_UNRESOLVED in switch statement. | |
3720 | (pushback_token): Ifdef out, since code using it is ifdef'd out. | |
3721 | * stabsread.c (cleanup_undefined_types): Remove unused label | |
3722 | "badtype". | |
3723 | * objfiles.h (print_symbol_bcache_statistics): Add prototype. | |
3724 | * maint.c (objfiles.h): Include. | |
3725 | (maintenance_print_statistics): Remove unused variable "temp". | |
3726 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove | |
3727 | unused variable "found_file_symbol". | |
3728 | * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch. | |
3729 | * language.c (lang_bool_type): Use existing function local type | |
3730 | variable rather than create block local variables. | |
3731 | * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS. | |
3732 | * infptrace.c (wait.h, command.h): Include. | |
3733 | * ser-tcp.c (gdb_string.h): Include | |
3734 | * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR. | |
3735 | (i386_get_frame_setup): Change "pc" from int to CORE_ADDR. | |
3736 | * command.c (complete_on_enum): Make assignment used as truth value | |
3737 | explictly check against NULL. | |
3738 | (wait.h): Include. | |
3739 | * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code | |
3740 | that uses it is ifdef'd out. | |
3741 | * parser-defs.h: Add prototype for write_dollar_variable. | |
3742 | * infrun.c: Add prototype for write_pc_pid. | |
3743 | * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs. | |
3744 | * symmisc.c (bcache.h): Include. | |
3745 | * bcache.h: Add prototype for print_bcache_statistics. | |
3746 | * symfile.c: Include <time.h>. | |
3747 | * printcmd.c (print_scalar_formatted): Change len to unsigned int. | |
3748 | * valarith.c (value_equal): Cast result of TYPE_LENGTH to int. | |
3749 | * valarith.c (value_binop): Change result_len, promoted_len1, | |
3750 | and promoted_len2 to unsigned int. | |
3751 | * valarith.c (value_subscripted_rvalue): Change elt_offs and | |
3752 | elt_size to unsigned int. | |
3753 | * valops.c (value_array): Change typelength to unsigned int. | |
3754 | (destructor_name_p): Change len to unsigned int. | |
3755 | * scm-lang.h (scm_parse): Add prototype for scm_unpack. | |
3756 | * symfile.c (decrement_reading_symtab): Change return type to void. | |
3757 | * valarith.c (value_subscript): Remove unused variable "word". | |
3758 | (value_subscript): Remove unused variable "tint". | |
3759 | * valops.c (auto_abandon): Ifdef out, since code using it is also | |
3760 | ifdef'd out. | |
3761 | * eval.c (init_array_element): Remove unused variable "val". | |
3762 | * Makefile.in (values.o): Depends on scm-lang.h. | |
3763 | (command.o): Depends upon wait_h. | |
3764 | (ser-tcp.o): Depends upon gdb_string.h. | |
3765 | (infptrace.o): Depends upon wait_h and command_h. | |
3766 | (maint.o): Depends on objfiles.h and symfile.h. | |
3767 | * values.c (allocate_repeat_value): Remove unused variable | |
3768 | "element_type". | |
3769 | (scm-lang.h): Include. | |
3770 | * breakpoint.c (create_longjmp_breakpoint): Enclose in | |
3771 | GET_LONGJMP_TARGET define, unused otherwise. | |
3772 | * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint, | |
3773 | i386_remove_watchpoint and i386_stopped_by_watchpoint. | |
3774 | ||
3775 | Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com> | |
3776 | ||
3777 | * configure.in (sparc64-*-solaris2*): Delete. | |
3778 | Stick with sparc-*-solaris2*. | |
3779 | * configure: Regenerated. | |
3780 | ||
3781 | Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com> | |
3782 | ||
3783 | * valops.c (value_assign): Make copy of internal variable value | |
3784 | before returning it as a new value, since it is owned by the | |
3785 | internal variable and will be freed along with it. | |
3786 | ||
3787 | Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com) | |
3788 | ||
3789 | * From Peter Schauer. | |
3790 | * breakpoint.c (breakpoint_re_set_one): Keep temporary | |
3791 | breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy | |
3792 | and bp_step_resume in case breakpoint_re_set_one is called due | |
3793 | to a step over a dlopen call. | |
3794 | * infrun.c (wait_for_inferior): Always remove breakpoints from | |
3795 | inferior in BPSTAT_WHAT_CHECK_SHLIBS case. | |
3796 | ||
3797 | Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com> | |
3798 | ||
3799 | * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer | |
3800 | non-prototyped case over prototyped case for C. | |
3801 | * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto. | |
3802 | ||
3803 | Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> | |
3804 | ||
3805 | * os9kread.c (os9k_process_one_symbol): Note nonportable | |
3806 | assumption that an int can hold a char *. | |
3807 | ||
3808 | * bcache.h (struct hashlink): Wrap data[] inside union with | |
3809 | double to force longest alignment. | |
3810 | (BCACHE_DATA): New macro to access data[]. | |
3811 | (BCACHE_ALIGNMENT): New macro to get offset to data[]. | |
3812 | * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get | |
3813 | address of cached data. Use BCACHE_ALIGNMENT to compute | |
3814 | amount of space to allocate for each hashlink struct. | |
3815 | ||
3816 | Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com> | |
3817 | ||
3818 | * ch-lang.c (evaluate_subexp_chill): Fix typo. | |
3819 | ||
3820 | Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com> | |
3821 | ||
3822 | * Makefile.in (VERSION): Bump version to 4.15.3 | |
3823 | ||
3824 | Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com> | |
3825 | ||
3826 | * config.in: Rename from config.h.in. | |
3827 | * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. | |
3828 | Change CONFIG_HEADERS test in AC_OUTPUT accordingly. | |
3829 | * configure: Rebuild. | |
3830 | * Makefile.in (stamp-h): Depend upon config.in, not config.h.in. | |
3831 | Set CONFIG_HEADERS to config.h:config.in. | |
3832 | ||
3833 | Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
3834 | ||
3835 | * partial-stab.h (case N_ENDM): Finish current partial symbol | |
3836 | table for Solaris 2 cc. | |
3837 | ||
3838 | Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com) | |
3839 | ||
3840 | * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the | |
3841 | PC in the registers array. From Peter Schauer. | |
3842 | ||
3843 | Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com> | |
3844 | ||
3845 | * symfile.c (reread_symbols): Reinitialize bcache struct | |
3846 | members to zero using memset. Also use memset to reinit | |
3847 | global_psymbols and static_psymbols, rather than explicitly | |
3848 | resetting each structure member. | |
3849 | ||
3850 | Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com> | |
3851 | ||
3852 | * configure.in: Add fragment to create stamp-h. | |
3853 | ||
3854 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3855 | * configure.in (AC_CHECK_HEADERS): Check for link.h. | |
3856 | * configure: Regenerate with autoconf. | |
3857 | * config.h.in: Regenerate with autoheader. | |
3858 | * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H | |
3859 | is defined. | |
3860 | * solib.c: Exclude most of the code if HAVE_LINK_H is not defined. | |
3861 | * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for | |
3862 | older a.out based systems. | |
3863 | ||
3864 | Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com> | |
3865 | ||
3866 | * config.h.in: New file. | |
3867 | * acconfig.h: New file, for autoheader. | |
3868 | * configure.in (AC_CONFIG_HEADER): Add, generate config.h. | |
3869 | * configure: Regenerate. | |
3870 | * Makefile.in (defs_h): Add config.h | |
3871 | (distclean): Remove config.h and stamp-h during distclean. | |
3872 | (config.h, stamp-h): New targets to remake config.h when necessary. | |
3873 | * defs.h (config.h): Include before any other includes or defines. | |
3874 | * i386-tdep.c (gdb_string.h): Move include after include of defs.h. | |
3875 | * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H. | |
3876 | ||
3877 | Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com> | |
3878 | ||
3879 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> | |
3880 | * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not | |
3881 | result in an empty line, to work around a bug in native Ultrix 4.4 | |
3882 | and OSF/1-3.2C make. | |
3883 | ||
3884 | Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com> | |
3885 | ||
3886 | * configure.in: Add gdbserver to configdirs under linux. | |
3887 | * configure: Regenerate. | |
3888 | ||
3889 | Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
3890 | ||
3891 | * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out. | |
3892 | * config/i386/tm-nbsd.h (NUM_REGS): Define. | |
3893 | ||
3894 | Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com) | |
3895 | ||
3896 | * solib.c (solib_break_names): Add _r_debug_state for | |
3897 | vanilla SVR4 implementations. From Peter Schauer. | |
3898 | ||
3899 | Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com> | |
3900 | ||
3901 | * mon960-rom.c: New file; support mon960 rom monitor on i960. | |
3902 | * monitor.c (monitor_debug): Change remotedebug to buffer strings. | |
3903 | * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before | |
3904 | epecting prompt and echo during open. | |
3905 | * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to | |
3906 | determine if break should be sent as stop command. | |
3907 | * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN. | |
3908 | * i960-tdep.c (mon960_frame_chain_valid): New function for getting | |
3909 | stack frame on mon960. | |
3910 | * Makefile.in: Add mon960 files. | |
3911 | * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960; | |
3912 | added i960-nindy-coff* and i960-nindy-elf* for target nindy. | |
3913 | * configure: Regenerated. | |
3914 | * config/i960/mon960.mt, config/i960/tm-mon960.h: New files; | |
3915 | support mon960 rom monitor on i960. | |
3916 | ||
3917 | Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
3918 | ||
3919 | With Michael Snyder: | |
3920 | * i386-tdep.c (skip_trampoline_code): Fix strncmp length. | |
3921 | * win32-nat.c (CHECK, DEBUG*, debug_*): New. | |
3922 | (handle_load_dll): Don't reload symbols. | |
3923 | (handle_exception): Use the DEBUG_* names. | |
3924 | (child_wait): Add DEBUG_* code. | |
3925 | (_initialize_inftarg): Add new commands to set debug_ names. | |
3926 | ||
3927 | Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com) | |
3928 | ||
3929 | * From Peter Schauer: | |
3930 | * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE. | |
3931 | (bpstat_stop_status): Likewise. | |
3932 | (remove_solib_event_breakpoints): Likewise. | |
3933 | (clear_momentary_breakpoints): Likewise. | |
3934 | (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint | |
3935 | if we still can't read the memory for that breakpoint. | |
3936 | (mention): Add bp_shlib_event case to keep gcc quiet. | |
3937 | ||
3938 | Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com) | |
3939 | ||
3940 | * breakpoint.h (enum enable): New enum shlib_disabled for | |
3941 | shared library breakpoints that have been temporarily disabled. | |
3942 | * breakpoint.c: Handle temporarily disabled shared library | |
3943 | breakpoints like disabled breakpoints in most places. | |
3944 | (insert_breakpoints): Use shlib_disabled to indicate | |
3945 | that an unsettable breakpoint is only temporarily disabled. | |
3946 | (re_enable_breakpoints_in_shlibs): New function. | |
3947 | * corelow.c (solib_add_stub): After adding shared libraries, | |
3948 | try to reenable any temporarily disabled breakpoints. | |
3949 | * infcmd.c (attach_command): Likewise. | |
3950 | * infrun.c (wait_for_inferior): Likewise. | |
3951 | ||
3952 | Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com> | |
3953 | ||
3954 | * defs.h (extract_long_unsigned_integer): Declare. | |
3955 | * findvar.c (extract_long_unsigned_integer): New function. | |
3956 | * printcmd.c (print_scalar_formatted): Use it. | |
3957 | * valprint.c (val_print_type_code_int): Likewise. | |
3958 | ||
3959 | Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com> | |
3960 | ||
3961 | * infcmd.c (do_registers_info): Ignore anonymous registers. | |
3962 | * sh-tdep.c (set processor): New command to set specific | |
3963 | processor type. | |
3964 | (sh_reg_names, sh3_reg_names): Arrays of register names for | |
3965 | SH and SH3 processors. | |
3966 | (sh_set_processor_type): New function. | |
3967 | * sh3-rom.c (sh3_open): Call it. | |
3968 | (sh3_regname): Add names of all the bank registers. | |
3969 | (sh3_supply_register): Clean up formatting. | |
3970 | * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include | |
3971 | bank registers. | |
3972 | (REGISTER_NAMES): Add names of bank registers. | |
3973 | (FP15_REGNUM): Define. | |
3974 | (REGISTER_VIRTUAL_TYPE): Use it. | |
3975 | * monitor.c: Clean up some comments. | |
3976 | ||
3977 | Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
3978 | ||
3979 | * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the | |
3980 | s* and t* symbols too. | |
3981 | ||
3982 | Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk> | |
3983 | ||
3984 | * symfile.c (generic_load): Avoid division by zero. | |
3985 | ||
3986 | Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com) | |
3987 | ||
3988 | * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems, | |
3989 | not just those with HANDLE_SVR4_EXEC_EMULATORS. | |
3990 | ||
3991 | From Peter Schauer: | |
3992 | * breakpoint.c (internal_breakpoint_number): Move to file scope. | |
3993 | (create_solib_event_breakpoint): Use an internal breakpoint number. | |
3994 | ||
3995 | Wed Mar 6 00:32:44 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
3996 | ||
3997 | * valarith.c (value_in): Change builtin_type_chill_bool to | |
3998 | LA_BOOL_TYPE. | |
3999 | ||
4000 | Tue Mar 5 23:48:36 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
4001 | ||
4002 | * ch-exp.c (parse_primval): Handle CARD, MAX, MIN. | |
4003 | (match_string_literal): Handle control sequence. | |
4004 | (match_character_literal): Deto. | |
4005 | ||
4006 | * ch-lang.c (chill_printchar): Change formating of nonprintable | |
4007 | characters from C'xx' to ^(num). | |
4008 | (chill_printstr): Deto. | |
4009 | (value_chill_card, value_chill_max_min): New functions to process | |
4010 | Chill's CARD, MAX, MIN. | |
4011 | (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN. | |
4012 | ||
4013 | * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN | |
4014 | for Chill's CARD, MAX, MIN. | |
4015 | ||
4016 | * valarith.c (value_in): Add processing of TYPE_CODE_RANGE | |
4017 | and change return type from builtin_type_int to | |
4018 | builtin_type_chill_bool. | |
4019 | ||
4020 | Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4021 | ||
4022 | * config/nm-nbsd.h (link_object, lo_name, etc): Move to here | |
4023 | from config/nm-nbsd.h. | |
4024 | * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here | |
4025 | from config/sparc/tm-nbsd.h. | |
4026 | ||
4027 | * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here | |
4028 | instead of in config/m68k/xm-hp300hpux.h. | |
4029 | ||
4030 | Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4031 | ||
4032 | * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide | |
4033 | implementation for NetBSD systems. | |
4034 | ||
4035 | Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
4036 | ||
4037 | * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT. | |
4038 | (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY). | |
4039 | ||
4040 | * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error | |
4041 | if "function" is pointer to non-function. | |
4042 | ||
4043 | Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4044 | ||
4045 | * top.c (print_gdb_version): Update copyright year. | |
4046 | ||
4047 | Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com) | |
4048 | ||
4049 | From Peter Schauer: | |
4050 | * infrun.c (wait_for_inferior): Remove breakpoints and | |
4051 | switch terminal settings before calling SOLIB_ADD. | |
4052 | * solib.c (enable_break, SVR4 variant): Don't map in symbols | |
4053 | for the dynamic linker, the namespace pollution causes real | |
4054 | problems. | |
4055 | ||
4056 | Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk> | |
4057 | ||
4058 | * remote-mips.c (common_breakpoint): Explicitly terminate the | |
4059 | returned buffer. | |
4060 | ||
4061 | Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4062 | ||
4063 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
4064 | * remote.c (remote_detach): Send a command 'D' to the target | |
4065 | when detaching, update the function's comments. | |
4066 | ||
4067 | Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4068 | ||
4069 | * gnu-nat.c (thread_cmd_list): New declaration. | |
4070 | (parse_int_arg): New function. | |
4071 | ||
4072 | Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4073 | ||
4074 | * gnu-nat.h (struct proc): Add DETACH_SC field. | |
4075 | * gnu-nat.c (make_proc): Set DETACH_SC. | |
4076 | (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4077 | (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields. | |
4078 | (add_thread_commands): Add set/show for detach-suspend-count. | |
4079 | Add takeover-suspend-count cmd. | |
4080 | (inf_detach): Set suspend counts to the detach SC, not 0. | |
4081 | (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd, | |
4082 | set_task_detach_sc_cmd, show_task_detach_sc_cmd, | |
4083 | set_thread_default_thread_detach_sc_cmd, | |
4084 | show_thread_default_thread_detach_sc_cmd): New functions. | |
4085 | (show_task_cmd): Also show detach-suspend-count values. | |
4086 | (thread_takeover_sc_cmd): New function. | |
4087 | ||
4088 | Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4089 | ||
4090 | * gnu-nat.c (show_thread_run_cmd): Actually print state. | |
4091 | ||
4092 | Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4093 | ||
4094 | * gnu-nat.c (inf_signal): Make unforwardable exceptions an error. | |
4095 | ||
4096 | Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4097 | ||
4098 | * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a | |
4099 | pointer to the flags now, not the flags themselves. | |
4100 | ||
4101 | Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4102 | ||
4103 | * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs. | |
4104 | (gnu_create_inferior): Check return from ptrace. | |
4105 | ||
4106 | Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4107 | ||
4108 | * gnu-nat.h (struct proc): Add DEAD field. | |
4109 | * gnu-nat.c (make_proc): Initialize DEAD. | |
4110 | (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it. | |
4111 | (gnu_wait): Only abort for 0 threads if the task isn't dead. | |
4112 | ||
4113 | Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4114 | ||
4115 | * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal. | |
4116 | ||
4117 | Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4118 | ||
4119 | * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument. | |
4120 | (inf_set_traced): Only give no-signal-thread error message if | |
4121 | turning *on* tracing. | |
4122 | ||
4123 | Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4124 | ||
4125 | * gnu-nat.c (inf_validate_procs): If INF has no threads, always | |
4126 | set inf->threads_up_to_date to 0. | |
4127 | (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced. | |
4128 | (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation. | |
4129 | (proc_update_sc): Cast thread state arg to thread_set_state. | |
4130 | (proc_get_state): Cast thread state arg to thread_get_state. | |
4131 | (inf_validate_task_sc): Cast task_basic_info arg to task_info. | |
4132 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call | |
4133 | inf_update_procs before we lookup the thread. | |
4134 | * config/i386/i386gnu.mh (MH_CFLAGS): New variable. | |
4135 | ||
4136 | Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4137 | ||
4138 | * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task. | |
4139 | ||
4140 | Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4141 | ||
4142 | * gnu-nat.c (inf_set_traced): Use msg_set_init_int with | |
4143 | INIT_TRACEMASK instead of setting the exec flags. | |
4144 | ||
4145 | Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4146 | ||
4147 | * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find | |
4148 | the task's died, so others have a chance at it. | |
4149 | (gnu_resume): When single-stepping a single thread, given an error | |
4150 | if there is no such thread. When single-stepping one but running | |
4151 | the others, just given a warning and still run all the threads. | |
4152 | (gnu_wait): If there seem to be no threads, look harder, and | |
4153 | signal an error if there really aren't any. | |
4154 | (gnu_attach): Reset thread numbering to 0. | |
4155 | ||
4156 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give | |
4157 | thread name in warning messages. | |
4158 | ||
4159 | * gnu-nat.c (active_inf): New function. | |
4160 | (show_sig_thread_cmd, show_stopped_cmd): Use it. | |
4161 | (info_port_rights, info_send_rights_cmd, info_port_sets_cmd, | |
4162 | info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd): | |
4163 | New functions. | |
4164 | (add_task_commands): Add new port-right info commands. | |
4165 | ||
4166 | Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4167 | ||
4168 | * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just | |
4169 | use mach_msg with MACH_RCV_INTERRUPT. | |
4170 | (set_noninvasive_cmd): New function. | |
4171 | (add_task_commands): Add command entry for `set noninvasive'. | |
4172 | ||
4173 | Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu> | |
4174 | ||
4175 | * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy. | |
4176 | (safe_bcopy): Function removed. | |
4177 | ||
4178 | Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4179 | ||
4180 | * gnu-nat.c (proc_update_sc): Assert only threads can have state. | |
4181 | (make_proc): Initialize state_valid & state_changed fields. | |
4182 | ||
4183 | Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4184 | ||
4185 | * reply_mig_hack.awk: New file. | |
4186 | ||
4187 | Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4188 | ||
4189 | * breakpoint.c (breakpoint_1): Print breakpoint thread field. | |
4190 | ||
4191 | * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new | |
4192 | threads. | |
4193 | ||
4194 | Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4195 | ||
4196 | * target.c (debug_to_check_threads): New function. | |
4197 | ||
4198 | * inflow.c (terminal_init_inferior_with_pgrp): New function. | |
4199 | (terminal_init_inferior): Call terminal_init_inferior_with_pgrp. | |
4200 | * inferior.h (terminal_init_inferior_with_pgrp): New declaration, | |
4201 | but only if PROCESS_GROUP_TYPE is defined. | |
4202 | ||
4203 | Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4204 | ||
4205 | * target.c (debug_to_thread_alive): Pass through the return value. | |
4206 | ||
4207 | Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4208 | ||
4209 | * target.c (signals, target_signal_from_host, target_signal_to_host): | |
4210 | Add mach exceptions. | |
4211 | * target.h (enum target_signal): Add mach exceptions. | |
4212 | ||
4213 | Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> | |
4214 | ||
4215 | * gnu-nat.c: New file: gnu native backend. | |
4216 | * i386gnu-nat.c: New file: i386-specific part of gnu native backend. | |
4217 | * gnu-nat.h: New file. | |
4218 | * config/nm-gnu.h: New file. | |
4219 | * config/tm-i386gnu.h: New file. | |
4220 | * config/xm-i386gnu.h: New file. | |
4221 | * config/i386/i386gnu.mh: New file. | |
4222 | * config/i386/i386gnu.mt: New file. | |
4223 | ||
4224 | Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com> | |
4225 | ||
4226 | * Makefile.in (VERSION): Bump version to 4.15.2 to establish | |
4227 | baseline for gdb 4.16 rerelease testing. | |
4228 | ||
4229 | Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com) | |
4230 | ||
4231 | * somsolib.c (som_solib_create_inferior_hook): Before returning | |
4232 | call clear_symtab_users. | |
4233 | ||
4234 | Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com) | |
4235 | ||
4236 | * remote-e7000.c (e7000_open): Delete all breakpoints when | |
4237 | connecting to e7000. Change connect message to allow use of | |
4238 | monitor.exp in test suite. | |
4239 | * (e7000_load): Print transfer rate of download. | |
4240 | * symfile.c (generic_load): Print transfer rate of download. | |
4241 | ||
4242 | Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4243 | ||
4244 | * configure.in (mips*-*-vxworks*): New config. | |
4245 | * configure: Regenerated. | |
4246 | ||
4247 | * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. | |
4248 | * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4249 | Remove, never used. | |
4250 | ||
4251 | Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
4252 | ||
4253 | * partial-stab.h (case N_FUN): Function symbols generated | |
4254 | by SPARCworks cc have a meaningless zero value, do not update | |
4255 | pst->textlow if the function symbol value is zero. | |
4256 | ||
4257 | * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field | |
4258 | for function prototype declaration symbols. | |
4259 | ||
4260 | Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com) | |
4261 | ||
4262 | * remote-e7000.c (e7000_load): New routine to download via the | |
4263 | network. | |
4264 | * (e7000_wait): Don't backup PC when we hit a breakpoint. | |
4265 | Apparantly new sh2 pods get this right... | |
4266 | * (e7000_ops): Add call to e7000_load. | |
4267 | ||
4268 | Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4269 | ||
4270 | * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}, | |
4271 | m68knbsd-nat.c: New files, support for NetBSD/m68k. | |
4272 | ||
4273 | * configure.in (m68k-*-netbsd*): New config. | |
4274 | * configure: Regenerated. | |
4275 | ||
4276 | Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com> | |
4277 | ||
4278 | * standalone.c (open, _initialize_standalone): Fix obvious typos | |
4279 | reported by Martin Pool <martin@citr.uq.oz.au>. | |
4280 | ||
4281 | Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com) | |
4282 | ||
4283 | * solib.c (solib_create_inferior_hook): Fix thinko. | |
4284 | ||
4285 | Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com) | |
4286 | ||
4287 | * solib.c (solib_break_names): Define for Solaris and Linux. | |
4288 | (enable_break): For SVR4 systems, first try to use the debugger | |
4289 | interfaces in the dynamic linker to track shared library events | |
4290 | as they happen, then fall back to BKPT_AT_SYMBOL code. Convert | |
4291 | BKPT_AT_SYMBOL code to use shared library event breakpoints. | |
4292 | (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, | |
4293 | it no longer needs to restart/wait on the inferior. | |
4294 | * symfile.c (find_lowest_section): No longer static. | |
4295 | * symfile.h (find_lowest_section): Corresponding changes. | |
4296 | ||
4297 | Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com> | |
4298 | ||
4299 | * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value. | |
4300 | (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE. | |
4301 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1. | |
4302 | * config/mips/tm-mips.h: Ditto. | |
4303 | * config/pa/tm-hppa.h: Ditto. | |
4304 | * config/rs6000/tm-rs6000.h: Ditto. | |
4305 | * config/sparc/tm-sparc.h: Ditto. | |
4306 | ||
4307 | Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4308 | ||
4309 | * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o. | |
4310 | ||
4311 | * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined. | |
4312 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4313 | #ifdef'd out definitions --- Causes serious gdb failures on | |
4314 | the i386. Need to investigate further before enabling. | |
4315 | ||
4316 | * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, | |
4317 | fetch_core_registers): New functions. These functions are defined | |
4318 | if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored | |
4319 | with ptrace PT_GETREGS/PT_SETREGS. | |
4320 | ||
4321 | Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com) | |
4322 | ||
4323 | * findvar.c (extract_floating store_floating): Replace `long | |
4324 | double' with `DOUBLEST'. | |
4325 | ||
4326 | Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com> | |
4327 | ||
4328 | * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): | |
4329 | Define. | |
4330 | ||
4331 | Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com) | |
4332 | ||
4333 | * symtab.h (looup_minimal_symbol_solib_trampoline): Declare. | |
4334 | ||
4335 | * breakpoint.h (remove_solib_event_breakpoints): Declare. | |
4336 | * breakpoint.c (remove_solib_event_breakpoints): New function. | |
4337 | * somsolib.c (solib_create_inferior_hook): Remove all solib event | |
4338 | breakpoints before inserting any new ones. Use a solib event | |
4339 | breakpoint for the breakpoint at "_start". | |
4340 | Remove extraneous "\n" from calls to warning. | |
4341 | ||
4342 | * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes | |
4343 | name array. | |
4344 | ||
4345 | Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com> | |
4346 | ||
4347 | * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST | |
4348 | for CORE_ADDR values. | |
4349 | (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. | |
4350 | * symfile.h (add_psymbol_{,addr}to_list): Add prototypes. | |
4351 | ||
4352 | Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
4353 | ||
4354 | * mipsread.c (mipscoff_symfile_read): Unconditionally add | |
4355 | alpha coff dynamic symbols for all symbol files. Makes skipping | |
4356 | over the trampoline code work when stepping from a function in a | |
4357 | shared library into a function in a different shared library. | |
4358 | ||
4359 | Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com) | |
4360 | ||
4361 | * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define | |
4362 | RETURN_VALUE_ON_STACK to return long doubles on the stack. | |
4363 | ||
4364 | Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com> | |
4365 | ||
4366 | * Makefile.in (ch-exp.o): Add dependencies. | |
4367 | (various): Add gdb_string.h to dependencies that need it. | |
4368 | ||
4369 | Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com> | |
4370 | ||
4371 | * symmisc.c (print_symbol_bcache_statistics): Update description for | |
4372 | printing byte cache statistics. | |
4373 | ||
4374 | Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com) | |
4375 | ||
4376 | * Add native support for long double data type. | |
4377 | * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST | |
4378 | to store actual data. Change types of INT and FLOAT tokens to | |
4379 | typed_val_int and typed_val_float respectively. Create new token | |
4380 | DOUBLE_KEYWORD to specify the string `double'. Make production | |
4381 | for FLOAT use type determined by parse_number. Add production for | |
4382 | "long double" data type. | |
4383 | * (parse_number): Use sscanf to parse numbers as float, double or | |
4384 | long double depending upon the type of typed_val_float.dval. Also | |
4385 | allow user to specify `f' or `l' suffix to explicitly specify | |
4386 | float or long double constants. Change typed_val to | |
4387 | typed_val_int. | |
4388 | * (yylex): Change typed_val to typed_val_int. Also, scan for | |
4389 | "double" keyword. | |
4390 | * coffread.c (decode_base_type): Add support for T_LNGDBL basic | |
4391 | type. | |
4392 | * configure, configure.in: Add check for long double support in | |
4393 | the host compiler. | |
4394 | * defs.h: Define DOUBLEST appropriatly depending on whether | |
4395 | HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes | |
4396 | for functions that handle this type. | |
4397 | * expression.h (union exp_element): doubleconst is now type | |
4398 | DOUBLEST. | |
4399 | * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. | |
4400 | * findvar.c (extract_floating): Make return value be DOUBLEST. | |
4401 | Also, add support for numbers with size of long double. | |
4402 | * (store_floating): Arg `val' is now type DOUBLEST. Handle all | |
4403 | floating types. | |
4404 | * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now | |
4405 | DOUBLEST. | |
4406 | * valarith.c (value_binop): Change temp variables v1, v2 and v to | |
4407 | type DOUBLEST. Coerce type of result to long double if either op | |
4408 | was of that type. | |
4409 | * valops.c (value_arg_coerce): If argument type is bigger than | |
4410 | double, coerce to long double. | |
4411 | * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and | |
4412 | arg type is float and > 8 bytes, then use pointer-to-object | |
4413 | calling conventions. | |
4414 | * valprint.c (print_floating): Arg doub is now type DOUBLEST. | |
4415 | Use appropriate format and precision to print out floating point | |
4416 | values. | |
4417 | * value.h: Fixup prototypes for value_as_double, | |
4418 | value_from_double, and unpack_double to use DOUBLEST. | |
4419 | * values.c (record_latest_value): Remove check for invalid | |
4420 | floats. Allow history to store them so that people may examine | |
4421 | them in hex if they want. | |
4422 | * (value_as_double unpack_double): Change return value to DOUBLEST. | |
4423 | * (value_from_double): Arg `num' is now DOUBLEST. | |
4424 | * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target | |
4425 | specific) to expect certain types to always be returned on the stack. | |
4426 | ||
4427 | Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com> | |
4428 | ||
4429 | * bcache.c, bcache.h: New files to implement a byte cache. | |
4430 | * Makefile.in (SFILES): Add bcache.c. | |
4431 | (symtab_h): Add bcache.h. | |
4432 | (HFILES_NO_SRCDIR): add bcache.h | |
4433 | (COMMON_OBJS): Add bcache.o | |
4434 | (bcache.o): New target. | |
4435 | * dbxread.c (start_psymtab): Make global_syms & static_syms | |
4436 | type "partial_symbol **". | |
4437 | * hpread.c (hpread_start_symtab): Ditto. | |
4438 | * os9kread.c (os9k_start_psymtab): Ditto. | |
4439 | * stabsread.h (start_psymtab): Ditto. | |
4440 | * {symfile.c, symfile.h} (start_psymtab_common): Ditto. | |
4441 | * maint.c (maintenance_print_statistics): Call | |
4442 | print_symbol_bcache_statistics. | |
4443 | * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc | |
4444 | and free pointers. | |
4445 | * solib.c (allocate_rt_common_objfile): Ditto. | |
4446 | * symfile.c (reread_symbols): Ditto. | |
4447 | (free_objfile): Free psymbol bcache when objfile is freed. | |
4448 | (objfile_relocate): Use new indirect psymbol pointers. | |
4449 | * objfiles.h (struct objfile): Add psymbol cache. | |
4450 | * symfile.c (compare_psymbols): Now passed pointers to pointers to | |
4451 | psymbols. | |
4452 | (reread_symbols): Free psymbol bcache when freeing other objfile | |
4453 | resources. | |
4454 | (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new | |
4455 | psymbol using the psymbol bcache. | |
4456 | (init_psymbol_list): Psymbol lists now contain pointers rather than | |
4457 | the actual psymbols. | |
4458 | * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically | |
4459 | grown arrays of pointers. | |
4460 | (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol | |
4461 | bcache. | |
4462 | * symmisc.c (print_partial_symbols): Now takes pointer to pointer | |
4463 | to partial symbol. | |
4464 | (print_symbol_bcache_statistics): New function to print per objfile | |
4465 | bcache statistics. | |
4466 | (print_partial_symbol, print_partial_symbols, | |
4467 | maintenance_check_symtabs, extend_psymbol_list): | |
4468 | Account for change to pointer to pointer to partial symbol. | |
4469 | * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, | |
4470 | make_symbol_completion_list): | |
4471 | Account for change to pointer to pointer to partial symbol. | |
4472 | * symtab.h (bcache.h): Include. | |
4473 | * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms | |
4474 | type "partial_symbol **". | |
4475 | ||
4476 | Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com> | |
4477 | ||
4478 | * dwarfread.c (free_utypes): New function. | |
4479 | (read_file_scope): Call free_utypes as cleanup, rather than just | |
4480 | freeing the utypes pointer. | |
4481 | ||
4482 | Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
4483 | ||
4484 | * demangle.c (is_cplus_marker): New function, checks if a | |
4485 | character is one of the commonly used C++ marker characters. | |
4486 | * defs.h (is_cplus_marker): Add prototype. | |
4487 | * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), | |
4488 | cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), | |
4489 | stabsread.c (define_symbol, read_member_functions, read_struct_fields), | |
4490 | symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), | |
4491 | values.c (vb_match): Use is_cplus_marker instead of comparison | |
4492 | with CPLUS_MARKER. | |
4493 | ||
4494 | Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com> | |
4495 | ||
4496 | * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly | |
4497 | delete entirely someday. | |
4498 | ||
4499 | Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4500 | ||
4501 | * mpw-make.sed: Edit out makefile rebuild rule. | |
4502 | (host_alias, target_alias): Comment out instead of deleting. | |
4503 | (@LIBS@): Edit out references. | |
4504 | ||
4505 | Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com> | |
4506 | ||
4507 | * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): | |
4508 | Use n_psyms in OBJSTAT, not psyms. | |
4509 | ||
4510 | Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com> | |
4511 | ||
4512 | * configure.in (sparclet-*-aout*): New config. | |
4513 | * configure: Regenerated. | |
4514 | ||
4515 | Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com> | |
4516 | ||
4517 | * somsolib.c (som_solib_add): Use xmalloc rather than bare | |
4518 | unchecked call to malloc. | |
4519 | * remote-mips.c (pmon_load_fast): ditto. | |
4520 | * remote-mm.c (mm_open): ditto. | |
4521 | * hpread.c (hpread_lookup_type): ditto. | |
4522 | * remote-adapt.c (adapt_open): ditto. | |
4523 | ||
4524 | Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com> | |
4525 | ||
4526 | * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node, | |
4527 | allocate_saved_f77_common_node, allocate_common_entry_node, | |
4528 | add_common_block): Use xmalloc rather than malloc, some of which | |
4529 | were unchecked. | |
4530 | * gnu-regex.c: At same point as other gdb specific changes | |
4531 | #undef malloc and then #define it to xmalloc. | |
4532 | * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than | |
4533 | bare unchecked calls to malloc/realloc. | |
4534 | * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare | |
4535 | unchecked call to malloc. | |
4536 | ||
4537 | Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com) | |
4538 | ||
4539 | * symtab.c (gdb_mangle_name): Change opname var to be const to | |
4540 | match return val of cplus_mangle_name. | |
4541 | * i960-tdep.c: Change arg types of next_insn to match callers. | |
4542 | ||
4543 | Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com> | |
4544 | ||
4545 | * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These | |
4546 | apparently aren't needed in any reasonably recent version of | |
4547 | linux. | |
4548 | ||
4549 | Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
4550 | ||
4551 | * stabsread.c (read_range_type): If !self-subrange and language | |
4552 | is Chill, assume a true range. If a true_range is a sub_subrange, | |
4553 | use builtin_type_int for index_type. | |
4554 | ||
4555 | Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com> | |
4556 | ||
4557 | * nindy-share/nindy.c (say): Use stdarg.h macros when compiling | |
4558 | with an ANSI compiler. | |
4559 | ||
4560 | Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4561 | ||
4562 | From Michael_Snyder@NeXT.COM (Michael Snyder): | |
4563 | * valops.c (value_arg_coerce): Coerce float to double, unless the | |
4564 | function prototype specifies float. | |
4565 | ||
4566 | Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4567 | ||
4568 | * language.c (set_language_command): Use languages table when | |
4569 | printing available languages. | |
4570 | ||
4571 | Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com> | |
4572 | ||
4573 | Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl): | |
4574 | * command.c (add_cmd): Add missing initialization for enums member. | |
4575 | Reorder members to match structure declaration to make it easier to | |
4576 | tell when one is missing. | |
4577 | * exec.c (exec_file_command): Fix problem where filename in malloc'd | |
4578 | memory is referenced after being freed. | |
4579 | ||
4580 | Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
4581 | ||
4582 | * dwarfread.c (read_func_scope): Avoid GDB core dumps if | |
4583 | AT_name tag is missing. | |
4584 | ||
4585 | * procfs.c (procfs_stopped_by_watchpoint): Fix logic when | |
4586 | FLTWATCH and FLTKWATCH are defined. | |
4587 | ||
4588 | * remote.c (remote_read_bytes): Advance memaddr for transfers, | |
4589 | return number of bytes transferred for partial reads. | |
4590 | ||
4591 | * top.c (init_signals): Reset SIGTRAP to SIG_DFL. | |
4592 | ||
4593 | Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4594 | ||
4595 | * win32-nat.c (mappings): Add ppc registers. | |
4596 | (child_resume): Turn off step for ppc. | |
4597 | ||
4598 | Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4599 | ||
4600 | * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h, | |
4601 | xm-cygwin32.h): New. | |
4602 | * config/i386/(*win32*): Becomes *cygwin32*. | |
4603 | * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32. | |
4604 | (powerpcle-*-cygwin32): New. | |
4605 | * configure: Regenerate. | |
4606 | * win32-nat.c (child_create_inferior): Call CreateProcess | |
4607 | with the right program arg. | |
4608 | ||
4609 | Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com) | |
4610 | ||
4611 | * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition. | |
4612 | ||
4613 | Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com> | |
4614 | ||
4615 | * serial.c: Change fputc/fputs/fprintf to _unfiltered forms. | |
4616 | ||
4617 | Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4618 | ||
4619 | * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. | |
4620 | ||
4621 | * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used. | |
4622 | ||
4623 | * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to | |
4624 | here from config/i386/xm-i386mach.h, fix name. | |
4625 | * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. | |
4626 | * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to | |
4627 | here from config/i386/xm-ptx4.h. | |
4628 | * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. | |
4629 | * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. | |
4630 | * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. | |
4631 | * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h. | |
4632 | * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h. | |
4633 | ||
4634 | * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. | |
4635 | (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. | |
4636 | * config/sparc/sun4sol2.mh (NAT_FILE): Update. | |
4637 | ||
4638 | Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com) | |
4639 | ||
4640 | * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software | |
4641 | floating point correctly. | |
4642 | (STORE_RETURN_VALUE): Likewise. | |
4643 | * config/pa/tm-pro.h (SOFT_FLOAT): define. | |
4644 | ||
4645 | Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com> | |
4646 | ||
4647 | * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT): | |
4648 | Define to what should be reasonable values. However, apparently | |
4649 | a bug in linux mmap prevents mapped symbol tables from working. | |
4650 | ||
4651 | Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com> | |
4652 | ||
4653 | * defs.h (errno.h>: Move #include closer to head of file to solve | |
4654 | obscure problem with systems that declare perror with const arg, in | |
4655 | both errno.h and stdio.h, and const is defined away by intervening | |
4656 | local include. | |
4657 | ||
4658 | Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com> | |
4659 | ||
4660 | From Jon Reeves <reeves@zk3.dec.com>: | |
4661 | * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr. | |
4662 | (mem_fault_routine): Fix misplaced volatile type qualifier in decl. | |
4663 | ||
4664 | Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com> | |
4665 | ||
4666 | * Makefile.in (diststuff): Make all-doc; diststuff target does not | |
4667 | exist in doc/Makefile.in. | |
4668 | ||
4669 | Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4670 | ||
4671 | * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used. | |
4672 | ||
4673 | Mon Jan 29 00:10:35 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
4674 | ||
4675 | * ch-valprint.c (calculate_array_length): New function to | |
4676 | determine the length of an array type. | |
4677 | (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an | |
4678 | array type is zero, call calculate_array_length. | |
4679 | ||
4680 | * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The | |
4681 | values may not be sorted. Scan all entries and set the real lower | |
4682 | and upper bound. | |
4683 | ||
4684 | Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com> | |
4685 | ||
4686 | * config/xm-linux.h: Move include of solib.h and #define of | |
4687 | SVR4_SHARED_LIBS from here ... | |
4688 | * config/nm-linux.h: ...to here. | |
4689 | ||
4690 | Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com> | |
4691 | ||
4692 | * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h. | |
4693 | Also check for gregset_t and fpregset_t types. | |
4694 | * configure: Regenerate. | |
4695 | * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H | |
4696 | is defined. | |
4697 | (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T | |
4698 | and HAVE_FPREGSET_T are defined. These changes allow systems | |
4699 | like linux that are migrating to /proc support to use a single | |
4700 | configuration for both new and old versions. | |
4701 | ||
4702 | * config/i386/linux.mt: Note that this is now for both a.out and | |
4703 | ELF systems. | |
4704 | * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o, | |
4705 | i386v4-nat.o | |
4706 | * config/i386/tm-linux.h (tm-sysv4.h): Include. | |
4707 | * config/i386/xm-linux.h (solib.h): Include | |
4708 | (SVR4_SHARED_LIBS): Define. | |
4709 | * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined. | |
4710 | (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined. | |
4711 | (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T | |
4712 | defined. | |
4713 | ||
4714 | Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4715 | ||
4716 | * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used. | |
4717 | * config/i386/xm-sun386.h: Ditto. | |
4718 | * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto. | |
4719 | ||
4720 | Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4721 | ||
4722 | * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@. | |
4723 | ||
4724 | Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4725 | ||
4726 | From Greg McGary <gkm@gnu.ai.mit.edu>: | |
4727 | * dcache.c (dcache_peek, dcache_poke): Advance addr for | |
4728 | multi-byte I/O. | |
4729 | ||
4730 | Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) | |
4731 | ||
4732 | * infrun.c (normal_stop): Fix test for shared library event. | |
4733 | ||
4734 | Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com> | |
4735 | ||
4736 | * configure.in (sparc64-*-*): Add default host configuration. | |
4737 | (sparc64-*-solaris2*): Add target configuration. | |
4738 | (sparc64-*-solaris2* host): Link statically if GCC used. | |
4739 | * configure: Regenerated. | |
4740 | * sparc/sp64sol2.mt: New file. | |
4741 | ||
4742 | Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com> | |
4743 | ||
4744 | * Makefile.in (RUNTEST): srcdir renamed to rootsrc. | |
4745 | ||
4746 | Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4747 | ||
4748 | * Makefile.in (lint): Close backquotes. | |
4749 | ||
4750 | Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com> | |
4751 | ||
4752 | * NEWS: Make note of new record and replay feature for | |
4753 | remote debug sessions. | |
4754 | * serial.c (gdbcmd.h): Include. | |
4755 | (serial_logfile, serial_logfp, serial_reading, serial_writing): | |
4756 | Define here, for remote debug session logging. | |
4757 | (serial_log_command, serial_logchar, serial_write, serial_readchar): | |
4758 | New functions for remote debug session logging. | |
4759 | (serial_open): Open remote debug session log file when needed. | |
4760 | (serial_close): Close remote debug session log file when needed. | |
4761 | (_initialize_serial): Add set/show commands for name of remote | |
4762 | debug session log file. | |
4763 | * serial.h (serial_readchar): Declare | |
4764 | (SERIAL_READCHAR): Call serial_readchar(). | |
4765 | (SERIAL_WRITE): Call serial_write(). | |
4766 | (serial_close): Declare as extern. | |
4767 | (serial_logfile, serial_logfp): Declare. | |
4768 | * top.c (execute_command): Declare serial_logfp. Log user command | |
4769 | in remote debug session log if log file is open. | |
4770 | * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. | |
4771 | (array_read_inferior_memory): Rewrite to fix memory overwrite bug. | |
4772 | * remote-array.c (SREC_SIZE): Remove, duplicates define in | |
4773 | monitor.h. | |
4774 | * remote-array.c (hexchars, hex2mem): Remove, unused. | |
4775 | * gdbserver/low-linux.c (store_inferior_registers): Remove | |
4776 | unnecessary extern declaration of registers[]. | |
4777 | * gdbserver/Makefile.in (all): Add gdbreplay. | |
4778 | * gdbserver/gdbreplay.c: New file. | |
4779 | * gdbserver/README: Give example of recording a remote | |
4780 | debug session with gdb and then replaying it with gdbreplay. | |
4781 | ||
4782 | Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
4783 | ||
4784 | * stabsread.c (rs6000_builtin_type): Make bool type unsigned. | |
4785 | (read_one_struct_field): Support boolean bitfields. | |
4786 | * c-valprint.c (c_val_print): Print booleans properly. | |
4787 | ||
4788 | Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4789 | ||
4790 | * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): | |
4791 | Remove, never used. | |
4792 | * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o. | |
4793 | ||
4794 | Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
4795 | ||
4796 | * ch-exp.c (parse_tuple): Error if invalid mode. | |
4797 | ||
4798 | * value.h (COERCE_ARRAY): Don't coerce enums. | |
4799 | (COERCE_ENUM): Don't COERCE_REF. | |
4800 | (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). | |
4801 | * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let | |
4802 | value_cast handle it otherwise); do *not* COERCE_ENUM either way. | |
4803 | * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. | |
4804 | Add COERCE_REF before COERCE_ENUM. | |
4805 | * values.c (value_as_long): Simplify. | |
4806 | ||
4807 | * valops.c (value_array): Create internalvar if !c_style_arrays. | |
4808 | ||
4809 | * language.c (lang_bool_type): Add Fortran support. | |
4810 | * eval.c (OP_BOOL): Use LA_BOOL_TYPE. | |
4811 | ||
4812 | Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com) | |
4813 | ||
4814 | * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup. | |
4815 | All references changed. | |
4816 | * breakpoint.c (bpstat_what): Add shlib_event to the class types. | |
4817 | Update state table. Reformat so that it's still readable. | |
4818 | When we hit the shlib_event breakpoint, set the calss of shlib_event. | |
4819 | (breakpoint_1): Add "shlib events" as a breakpoint type. | |
4820 | Print the shlib_event breakpoint like other breakpoints. | |
4821 | (create_solib_event_breakpoint): New function. | |
4822 | (breakpoint_re_set_one): Handle solib_event breakpoints. | |
4823 | * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. | |
4824 | (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS | |
4825 | action. | |
4826 | (create_solib_event_breakpoint): Declare. | |
4827 | * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. | |
4828 | (normal_stop): Inform the user when the inferior stoped due | |
4829 | to a shared library event. | |
4830 | (_initialize_infrun): Add new set/show variable "stop-on-solib-events" | |
4831 | to control whether or not gdb continues the inferior or stops it when | |
4832 | a shared library event occurs. | |
4833 | * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. | |
4834 | * somsolib.c (TODO list): Update. | |
4835 | (som_solib_create_inferior_hook): Arrange for gdb to be notified | |
4836 | when significant shared library events occur. | |
4837 | * hppa-tdep.c (find_unwind_entry): No longer static. | |
4838 | ||
4839 | Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com> | |
4840 | ||
4841 | * printcmd.c (print_insn): Pass fprintf_unfiltered to | |
4842 | INIT_DISASSEMBLE_INFO. | |
4843 | ||
4844 | Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4845 | ||
4846 | * remote.c (remotebreak): New GDB variable. | |
4847 | (remote_break): New global. | |
4848 | (remote_interrupt): Send a break instead of ^C if remote_break. | |
4849 | * NEWS: Describe the new variable. | |
4850 | ||
4851 | Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com> | |
4852 | ||
4853 | * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc. | |
4854 | ||
4855 | Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com> | |
4856 | ||
4857 | * hp300ux-nat.c (getpagesize): Remove unused function | |
4858 | fetch_core_registers. | |
4859 | (hp300ux_core_fns): Remove, is unused. | |
4860 | (_initialize_core_hp300ux): Remove, is unused. | |
4861 | (gdbcore.h): Remove #include, no longer needed. | |
4862 | ||
4863 | Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com) | |
4864 | ||
4865 | * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid | |
4866 | ptrace bug in aix4.1.3 on the rs6000. | |
4867 | ||
4868 | Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4869 | ||
4870 | * remote-hms.c (hms_ops): Add value for to_thread_alive. | |
4871 | * remote-nindy.c (nindy_ops): Ditto. | |
4872 | * remote-udi.c (udi_ops): Ditto. | |
4873 | ||
4874 | Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk> | |
4875 | ||
4876 | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, | |
4877 | pmon_checkset, pmon_make_fastrec, pmon_check_ack, | |
4878 | pmon_load_fast): New functions. Support for the PMON monitor world. | |
4879 | (common_open): New function to merge support for different monitors. | |
4880 | (mips_open): Use common_open(). | |
4881 | (mips_send_command): New function. | |
4882 | (mips_send_packet): Scan out-of-sequence packets. | |
4883 | (mips_enter_debug, mips_exit_debug): New functions. | |
4884 | (pmon_ops): New target definition structure. | |
4885 | ||
4886 | Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) | |
4887 | ||
4888 | * Makefile.in (CLIBS): Add LIBS to allow libraries to be | |
4889 | specified on the make command line (via make LIBS=xxx). | |
4890 | ||
4891 | ||
4892 | Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) | |
4893 | ||
4894 | * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED | |
4895 | is set but there are no psymtabs. | |
4896 | ||
4897 | Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
4898 | ||
4899 | * dsrec.c (load_srec): Remove unused variable. | |
4900 | * monitor.c (monitor_expect): Don't expect a ^C to echo. | |
4901 | * serial.c (serial_open): Add parallel interface. | |
4902 | * sh3-rom.c (parallel, parallel_in_use): New. | |
4903 | (sh3_load): If parallel_in_use, download though the | |
4904 | parallel port. | |
4905 | (sh3_open): Open parallel port if specified. | |
4906 | (sh3_close): New function. | |
4907 | (_inititalize_sh3): Add sh3_close hook and documentation. | |
4908 | * monitor.c (monitor_close): Export. | |
4909 | * monitor.h (monitor_close): Add prototype. | |
4910 | ||
4911 | Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4912 | ||
4913 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
4914 | * remote.c (remotetimeout): New GDB variable, use to set the | |
4915 | remote timeout for reading. | |
4916 | ||
4917 | Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com> | |
4918 | ||
4919 | * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h | |
4920 | to get "struct core_fns" defined. | |
4921 | * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o): | |
4922 | Are dependent upon gdbcore_h. | |
4923 | ||
4924 | Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com> | |
4925 | ||
4926 | * symfile.c (decrement_reading_symtab): New function. | |
4927 | * symfile.c, symtab.h (currently_reading_symtab): New variable. | |
4928 | * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab. | |
4929 | * gdbtypes.c (check_typedef): Don't call lookup_symbol if | |
4930 | currently_reading_symtab (since that could infinitely recurse). | |
4931 | ||
4932 | Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com> | |
4933 | ||
4934 | * stabsread.c (read_struct_type): Trivial simplification. | |
4935 | ||
4936 | * stabsread.c (define-symbol): Use invisible references | |
4937 | for TYPE_CODE_SET and TYPE_CODE_BITSTRING too. | |
4938 | * valops.c (call_function_by_hand): Likewise. | |
4939 | * eval.c (evaluate_subexp_standard): When known, use the formal | |
4940 | parameter type as the expected type when evaluating arg expressions. | |
4941 | * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). | |
4942 | ||
4943 | Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com> | |
4944 | ||
4945 | * main.c (main): Disable window interface if --help or --version | |
4946 | specified. | |
4947 | ||
4948 | Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com> | |
4949 | ||
4950 | * configure.in, configure: Recognize rs6000-*-aix4*. | |
4951 | * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h". | |
4952 | * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h. | |
4953 | * config/rs6000/xm-aix4.h: New file. | |
4954 | * config/xm-aix4.h: New file. | |
4955 | ||
4956 | Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com> | |
4957 | ||
4958 | From Wilfried Moser <wilfried.moser@aut.alcatel.at>: | |
4959 | * gdbserver/low-linux.c: New file. | |
4960 | * remote.c (remote_read_bytes): Fix aborts on larger packets. | |
4961 | ||
4962 | * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS): | |
4963 | Define. | |
4964 | * stabsread.c (define_symbol): If register value is too large, | |
4965 | tell what it is and what max is. | |
4966 | ||
4967 | Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) | |
4968 | ||
4969 | * hpread.c (hpread_build_psymtabs): Finish Jan 4th | |
4970 | enum namespace -> enum_namespace change. | |
4971 | ||
4972 | Tue Jan 9 04:44:47 1996 Wilfried Moser <moser@rtl.cygnus.com> | |
4973 | ||
4974 | * ch-exp.c (parse_primval): In case ARRAY, add missing | |
4975 | FORWARD_TOKEN (). | |
4976 | ||
4977 | Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com> | |
4978 | ||
4979 | * remote-mips.c (mips_receive_header): Recognize \012 instead | |
4980 | of \n, but write \n when program sends a \012. | |
4981 | * ser-mac.c (mac_input_buffer): Increase size of buffer. | |
4982 | ||
4983 | Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com) | |
4984 | ||
4985 | * infptrace.c (initialize_infptrace): Move function out of | |
4986 | #ifdef conditional; put code within the function inside an | |
4987 | #ifdef conditional. | |
4988 | ||
4989 | * buildsym.c (end_symtab): Remove sort_pending and sort_linevec | |
4990 | arguments. Sorting is now dependent on OBJF_REORDERED. All | |
4991 | callers/references changed. | |
4992 | * dbxread.c (read_ofile_symtab): Correctly determine value for | |
4993 | last_source_start_addr for reordered executables. | |
4994 | (process_one_symbol): Handle N_FUN with no name as an end of | |
4995 | function marker. | |
4996 | * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE | |
4997 | is the high text address for a psymtab. | |
4998 | (case N_SO): Likewise. | |
4999 | (case N_FUN): Handle N_FUN with no name as an end of function | |
5000 | marker. | |
5001 | * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols | |
5002 | at the same address rather than a random subset of them. | |
5003 | * coffread.c (coff_symfile_init): Set OBJF_REORDERED. | |
5004 | * elfread.c (elf_symfile_init): Similarly. | |
5005 | * somread.c (som_symfile_init): Similarly. | |
5006 | * xcoffread.c (xcoff_symfile_init): Similarly. | |
5007 | ||
5008 | Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com) | |
5009 | ||
5010 | * stack.c (print_stack_frame print_frame_info) symmisc.c | |
5011 | (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so | |
5012 | that catch_errors doesn't get blindsided by QUIT and lose the | |
5013 | cleanup chain. This fixes a problem where ^C while in a | |
5014 | user-defined command sometimes leaves instream NULL and causes a | |
5015 | segfault in command_loop. | |
5016 | ||
5017 | Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com> | |
5018 | ||
5019 | * configure.in, configure: Add `-ldl -lw' for Solaris linking. | |
5020 | ||
5021 | Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com> | |
5022 | ||
5023 | * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, | |
5024 | config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt: | |
5025 | srec.o renamed to dsrec.o. | |
5026 | ||
5027 | Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) | |
5028 | ||
5029 | * breakpoint.c (remove_breakpoint): Change error to warning so | |
5030 | that hardware watchpoint removal problems won't leave breakpoint | |
5031 | traps in the target. | |
5032 | * remote-e7000.c (e7000_insert_breakpoint, | |
5033 | e7000_remove_breakpoint): Use e7000 based breakpoints, not memory | |
5034 | breakpoints. | |
5035 | * (e7000_wait): Adjust PC back by two when we see a breakpoint to | |
5036 | compensate for e7000 maladjustment. | |
5037 | * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug | |
5038 | which prevented hardware watchpoints from working. | |
5039 | ||
5040 | Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com> | |
5041 | ||
5042 | * infptrace.c (udot_info): New function. | |
5043 | (PT_*): Define each individually if that one is not defined. | |
5044 | * rs6000-nat.c (kernel_u_size): New function | |
5045 | Include <sys/user.h> for "struct user" | |
5046 | * alpha-nat.c (kernel_u_size): New function. | |
5047 | Include <sys/user.h> for "struct user" | |
5048 | * sparc-nat.c (kernel_u_size): New function. | |
5049 | Include <sys/user.h> for "struct user" | |
5050 | * i386b-nat.c (kernel_u_size): New function. | |
5051 | * i386v-nat.c (kernel_u_size): New function. | |
5052 | * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define. | |
5053 | (kernel_u_size): Declare. | |
5054 | * config/i386/nm-linux.h (KERNEL_U_SIZE): Define. | |
5055 | (kernel_u_size): Declare. | |
5056 | * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define. | |
5057 | (kernel_u_size): Declare. | |
5058 | * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define. | |
5059 | (kernel_u_size): Declare. | |
5060 | * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define. | |
5061 | (kernel_u_size): Declare. | |
5062 | ||
5063 | Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com> | |
5064 | ||
5065 | * mdebugread.c (mylookup_symbol): enum namespace becomes | |
5066 | enum_namespace type. | |
5067 | * symfile.c (add_psymbol_to_list) | |
5068 | (add_psymbol_addr_to_list): Ditto. | |
5069 | * symtab.c (lookup_partial_symbol): Ditto. | |
5070 | (lookup_symbol): Ditto. | |
5071 | (lookup_block_symbol): Ditto. | |
5072 | * win32-nat.c (handle_load_dll): Use incoming dll base. | |
5073 | (child_wait): Catch DLL load errors. | |
5074 | (create_child_inferior): Translated between paths correctly. | |
5075 | ||
5076 | Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com> | |
5077 | ||
5078 | * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS | |
5079 | from NUM_REGS to get number of general registers that we care about. | |
5080 | * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms | |
5081 | of number of general regs and number of floating point regs. | |
5082 | ||
5083 | Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com> | |
5084 | ||
5085 | * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New. | |
5086 | (SKIP_TRAMPOLINE_CODE): New. | |
5087 | * config/i386/xm-win32.h (CANT_FORK): Deleted. | |
5088 | (SLASH*) Changed to use unix style slash. | |
5089 | * symtab.h (namespace enum): becomes typedef to avoid namespace | |
5090 | collision in C++. | |
5091 | * infcmd.c (path_command): Use empty string if PATH name not set. | |
5092 | * i386-tdep.c (skip_trampoline_code): New function. | |
5093 | * srec.c: Renamed dsrec.c to avoid filename collision. | |
5094 | * Makefile.in: Cope with renaming. | |
5095 | ||
5096 | Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com> | |
5097 | ||
5098 | * symmisc.c (print_objfile_statistics): Print memory use statistics | |
5099 | for objfile psymbol, symbol, and type obstacks. | |
5100 | ||
5101 | Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com> | |
5102 | ||
5103 | * config/mips/nm-irix5.h: Restore. | |
5104 | (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4; | |
5105 | from Lee Iverson <leei@ai.sri.com>. | |
5106 | * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h. | |
5107 | * config/mips/irix[345].mh (MUNCH_DEFINE): Remove. | |
5108 | ||
15f33b66 | 5109 | For older changes see ChangeLog-1995 |
c906108c SS |
5110 | \f |
5111 | Local Variables: | |
5112 | mode: change-log | |
5113 | left-margin: 8 | |
5114 | fill-column: 74 | |
5115 | version-control: never | |
5116 | End: |